//
// The Open Toolkit Library License
//
// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit Library
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights to
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
// the Software, and to permit persons to whom the Software is furnished to do
// so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
// OTHER DEALINGS IN THE SOFTWARE.
//
namespace OpenTK.Graphics.ES30
{
using System;
using System.Text;
using System.Runtime.InteropServices;
#pragma warning disable 3019
#pragma warning disable 1591
#pragma warning disable 1572
#pragma warning disable 1573
partial class GL
{
public static partial class Amd
{
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glBeginPerfMonitorAMD")]
public static
void BeginPerfMonitor(Int32 monitor)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBeginPerfMonitorAMD((UInt32)monitor);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glBeginPerfMonitorAMD")]
public static
void BeginPerfMonitor(UInt32 monitor)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBeginPerfMonitorAMD((UInt32)monitor);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")]
public static
void DeletePerfMonitor(Int32 monitors)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
UInt32* monitors_ptr = (UInt32*)&monitors;
Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")]
public static
void DeletePerfMonitor(UInt32 monitors)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
UInt32* monitors_ptr = (UInt32*)&monitors;
Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")]
public static
void DeletePerfMonitors(Int32 n, Int32[] monitors)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* monitors_ptr = monitors)
{
Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")]
public static
void DeletePerfMonitors(Int32 n, ref Int32 monitors)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* monitors_ptr = &monitors)
{
Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")]
public static
unsafe void DeletePerfMonitors(Int32 n, Int32* monitors)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")]
public static
void DeletePerfMonitors(Int32 n, UInt32[] monitors)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* monitors_ptr = monitors)
{
Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")]
public static
void DeletePerfMonitors(Int32 n, ref UInt32 monitors)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* monitors_ptr = &monitors)
{
Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")]
public static
unsafe void DeletePerfMonitors(Int32 n, UInt32* monitors)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glEndPerfMonitorAMD")]
public static
void EndPerfMonitor(Int32 monitor)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glEndPerfMonitorAMD((UInt32)monitor);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glEndPerfMonitorAMD")]
public static
void EndPerfMonitor(UInt32 monitor)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glEndPerfMonitorAMD((UInt32)monitor);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")]
public static
Int32 GenPerfMonitor()
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
Int32 retval;
Int32* monitors_ptr = &retval;
Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
return retval;
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")]
public static
void GenPerfMonitors(Int32 n, [OutAttribute] Int32[] monitors)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* monitors_ptr = monitors)
{
Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")]
public static
void GenPerfMonitors(Int32 n, [OutAttribute] out Int32 monitors)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* monitors_ptr = &monitors)
{
Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
monitors = *monitors_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")]
public static
unsafe void GenPerfMonitors(Int32 n, [OutAttribute] Int32* monitors)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")]
public static
void GenPerfMonitors(Int32 n, [OutAttribute] UInt32[] monitors)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* monitors_ptr = monitors)
{
Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")]
public static
void GenPerfMonitors(Int32 n, [OutAttribute] out UInt32 monitors)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* monitors_ptr = &monitors)
{
Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
monitors = *monitors_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")]
public static
unsafe void GenPerfMonitors(Int32 n, [OutAttribute] UInt32* monitors)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
public static
void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] Int32[] data, [OutAttribute] out Int32 bytesWritten)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* data_ptr = data)
fixed (Int32* bytesWritten_ptr = &bytesWritten)
{
Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES30.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr);
bytesWritten = *bytesWritten_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
public static
void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] out Int32 data, [OutAttribute] out Int32 bytesWritten)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* data_ptr = &data)
fixed (Int32* bytesWritten_ptr = &bytesWritten)
{
Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES30.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr);
data = *data_ptr;
bytesWritten = *bytesWritten_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
public static
unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] Int32* data, [OutAttribute] Int32* bytesWritten)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES30.All)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
public static
void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] UInt32[] data, [OutAttribute] out Int32 bytesWritten)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* data_ptr = data)
fixed (Int32* bytesWritten_ptr = &bytesWritten)
{
Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES30.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr);
bytesWritten = *bytesWritten_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
public static
void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] out UInt32 data, [OutAttribute] out Int32 bytesWritten)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* data_ptr = &data)
fixed (Int32* bytesWritten_ptr = &bytesWritten)
{
Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES30.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr);
data = *data_ptr;
bytesWritten = *bytesWritten_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
public static
unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES30.All)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
public static
void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
public static
void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T3[] data)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
public static
void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T3[,] data)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
public static
void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T3[,,] data)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
public static
void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T3 data)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
data = (T3)data_ptr.Target;
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
public static
void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
public static
void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T3[] data)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
public static
void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T3[,] data)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
public static
void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T3[,,] data)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
public static
void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T3 data)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
data = (T3)data_ptr.Target;
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")]
public static
void GetPerfMonitorCounters(Int32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] Int32[] counters)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* numCounters_ptr = &numCounters)
fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters)
fixed (Int32* counters_ptr = counters)
{
Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr);
numCounters = *numCounters_ptr;
maxActiveCounters = *maxActiveCounters_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")]
public static
void GetPerfMonitorCounters(Int32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out Int32 counters)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* numCounters_ptr = &numCounters)
fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters)
fixed (Int32* counters_ptr = &counters)
{
Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr);
numCounters = *numCounters_ptr;
maxActiveCounters = *maxActiveCounters_ptr;
counters = *counters_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")]
public static
unsafe void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] Int32* counters)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")]
public static
void GetPerfMonitorCounters(UInt32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32[] counters)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* numCounters_ptr = &numCounters)
fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters)
fixed (UInt32* counters_ptr = counters)
{
Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr);
numCounters = *numCounters_ptr;
maxActiveCounters = *maxActiveCounters_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")]
public static
void GetPerfMonitorCounters(UInt32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out UInt32 counters)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* numCounters_ptr = &numCounters)
fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters)
fixed (UInt32* counters_ptr = &counters)
{
Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr);
numCounters = *numCounters_ptr;
maxActiveCounters = *maxActiveCounters_ptr;
counters = *counters_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")]
public static
unsafe void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
public static
void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
public static
unsafe void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
public static
void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
public static
unsafe void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")]
public static
void GetPerfMonitorGroup([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] Int32[] groups)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* numGroups_ptr = &numGroups)
fixed (Int32* groups_ptr = groups)
{
Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr);
numGroups = *numGroups_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")]
public static
void GetPerfMonitorGroup([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out Int32 groups)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* numGroups_ptr = &numGroups)
fixed (Int32* groups_ptr = &groups)
{
Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr);
numGroups = *numGroups_ptr;
groups = *groups_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")]
public static
void GetPerfMonitorGroup([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] UInt32[] groups)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* numGroups_ptr = &numGroups)
fixed (UInt32* groups_ptr = groups)
{
Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr);
numGroups = *numGroups_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")]
public static
void GetPerfMonitorGroup([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out UInt32 groups)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* numGroups_ptr = &numGroups)
fixed (UInt32* groups_ptr = &groups)
{
Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr);
numGroups = *numGroups_ptr;
groups = *groups_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")]
public static
unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] Int32* groups)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")]
public static
unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
public static
void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder groupString)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)groupString);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
public static
unsafe void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
public static
void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder groupString)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)groupString);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
public static
unsafe void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")]
public static
void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] Int32[] counterList)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* counterList_ptr = counterList)
{
Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")]
public static
void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] out Int32 counterList)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* counterList_ptr = &counterList)
{
Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr);
counterList = *counterList_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")]
public static
unsafe void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] Int32* counterList)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList);
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")]
public static
void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32[] counterList)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* counterList_ptr = counterList)
{
Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")]
public static
void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] out UInt32 counterList)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* counterList_ptr = &counterList)
{
Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr);
counterList = *counterList_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: AMD_performance_monitor]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")]
public static
unsafe void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList);
#if DEBUG
}
#endif
}
}
public static partial class Angle
{
/// [requires: ANGLE_framebuffer_blit]
/// Copy a block of pixels from the read framebuffer to the draw framebuffer
///
///
///
/// Specify the bounds of the source rectangle within the read buffer of the read framebuffer.
///
///
///
///
/// Specify the bounds of the destination rectangle within the write buffer of the write framebuffer.
///
///
///
///
/// The bitwise OR of the flags indicating which buffers are to be copied. The allowed flags are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT and GL_STENCIL_BUFFER_BIT.
///
///
///
///
/// Specifies the interpolation to be applied if the image is stretched. Must be GL_NEAREST or GL_LINEAR.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ANGLE_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferANGLE")]
public static
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.All mask, OpenTK.Graphics.ES30.All filter)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlitFramebufferANGLE((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES30.ClearBufferMask)mask, (OpenTK.Graphics.ES30.BlitFramebufferFilter)filter);
#if DEBUG
}
#endif
}
/// [requires: ANGLE_framebuffer_blit]
/// Copy a block of pixels from the read framebuffer to the draw framebuffer
///
///
///
/// Specify the bounds of the source rectangle within the read buffer of the read framebuffer.
///
///
///
///
/// Specify the bounds of the destination rectangle within the write buffer of the write framebuffer.
///
///
///
///
/// The bitwise OR of the flags indicating which buffers are to be copied. The allowed flags are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT and GL_STENCIL_BUFFER_BIT.
///
///
///
///
/// Specifies the interpolation to be applied if the image is stretched. Must be GL_NEAREST or GL_LINEAR.
///
///
[AutoGenerated(Category = "ANGLE_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferANGLE")]
public static
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlitFramebufferANGLE((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES30.ClearBufferMask)mask, (OpenTK.Graphics.ES30.BlitFramebufferFilter)filter);
#if DEBUG
}
#endif
}
/// [requires: ANGLE_instanced_arrays]
/// Draw multiple instances of a range of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the starting index in the enabled arrays.
///
///
///
///
/// Specifies the number of indices to be rendered.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawArraysInstancedANGLE")]
public static
void DrawArraysInstanced(OpenTK.Graphics.ES30.All mode, Int32 first, Int32 count, Int32 primcount)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawArraysInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount);
#if DEBUG
}
#endif
}
/// [requires: ANGLE_instanced_arrays]
/// Draw multiple instances of a range of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the starting index in the enabled arrays.
///
///
///
///
/// Specifies the number of indices to be rendered.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawArraysInstancedANGLE")]
public static
void DrawArraysInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawArraysInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount);
#if DEBUG
}
#endif
}
/// [requires: ANGLE_instanced_arrays]
/// Draw multiple instances of a set of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")]
public static
void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices, Int32 primcount)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
#if DEBUG
}
#endif
}
/// [requires: ANGLE_instanced_arrays]
/// Draw multiple instances of a set of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")]
public static
void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: ANGLE_instanced_arrays]
/// Draw multiple instances of a set of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")]
public static
void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: ANGLE_instanced_arrays]
/// Draw multiple instances of a set of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")]
public static
void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: ANGLE_instanced_arrays]
/// Draw multiple instances of a set of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")]
public static
void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
indices = (T3)indices_ptr.Target;
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: ANGLE_instanced_arrays]
/// Draw multiple instances of a set of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")]
public static
void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
#if DEBUG
}
#endif
}
/// [requires: ANGLE_instanced_arrays]
/// Draw multiple instances of a set of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")]
public static
void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: ANGLE_instanced_arrays]
/// Draw multiple instances of a set of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")]
public static
void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: ANGLE_instanced_arrays]
/// Draw multiple instances of a set of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")]
public static
void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: ANGLE_instanced_arrays]
/// Draw multiple instances of a set of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")]
public static
void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
indices = (T3)indices_ptr.Target;
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: ANGLE_translated_shader_source]
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
public static
void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder source)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = length)
{
Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source);
}
}
#if DEBUG
}
#endif
}
/// [requires: ANGLE_translated_shader_source]
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
public static
void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: ANGLE_translated_shader_source]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
public static
unsafe void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)source);
#if DEBUG
}
#endif
}
/// [requires: ANGLE_translated_shader_source]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
public static
void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder source)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = length)
{
Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source);
}
}
#if DEBUG
}
#endif
}
/// [requires: ANGLE_translated_shader_source]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
public static
void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: ANGLE_translated_shader_source]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
public static
unsafe void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)source);
#if DEBUG
}
#endif
}
/// [requires: ANGLE_framebuffer_multisample]
/// Establish data storage, format, dimensions and sample count of a renderbuffer object's image
///
///
///
/// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the number of samples to be used for the renderbuffer object's storage.
///
///
///
///
/// Specifies the internal format to use for the renderbuffer object's image.
///
///
///
///
/// Specifies the width of the renderbuffer, in pixels.
///
///
///
///
/// Specifies the height of the renderbuffer, in pixels.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ANGLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleANGLE")]
public static
void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.All target, Int32 samples, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glRenderbufferStorageMultisampleANGLE((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height);
#if DEBUG
}
#endif
}
/// [requires: ANGLE_framebuffer_multisample]
/// Establish data storage, format, dimensions and sample count of a renderbuffer object's image
///
///
///
/// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the number of samples to be used for the renderbuffer object's storage.
///
///
///
///
/// Specifies the internal format to use for the renderbuffer object's image.
///
///
///
///
/// Specifies the width of the renderbuffer, in pixels.
///
///
///
///
/// Specifies the height of the renderbuffer, in pixels.
///
///
[AutoGenerated(Category = "ANGLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleANGLE")]
public static
void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glRenderbufferStorageMultisampleANGLE((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height);
#if DEBUG
}
#endif
}
/// [requires: ANGLE_instanced_arrays]
/// Modify the rate at which generic vertex attributes advance during instanced rendering
///
///
///
/// Specify the index of the generic vertex attribute.
///
///
///
///
/// Specify the number of instances that will pass between updates of the generic attribute at slot index.
///
///
[AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorANGLE")]
public static
void VertexAttribDivisor(Int32 index, Int32 divisor)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glVertexAttribDivisorANGLE((UInt32)index, (UInt32)divisor);
#if DEBUG
}
#endif
}
/// [requires: ANGLE_instanced_arrays]
/// Modify the rate at which generic vertex attributes advance during instanced rendering
///
///
///
/// Specify the index of the generic vertex attribute.
///
///
///
///
/// Specify the number of instances that will pass between updates of the generic attribute at slot index.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorANGLE")]
public static
void VertexAttribDivisor(UInt32 index, UInt32 divisor)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glVertexAttribDivisorANGLE((UInt32)index, (UInt32)divisor);
#if DEBUG
}
#endif
}
}
public static partial class Apple
{
/// [requires: APPLE_sync]
/// Block and wait for a sync object to become signaled
///
///
///
/// The sync object whose status to wait on.
///
///
///
///
/// A bitfield controlling the command flushing behavior. flags may be GL_SYNC_FLUSH_COMMANDS_BIT.
///
///
///
///
/// The timeout, specified in nanoseconds, for which the implementation should wait for sync to become signaled.
///
///
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")]
public static
OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout);
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
/// Block and wait for a sync object to become signaled
///
///
///
/// The sync object whose status to wait on.
///
///
///
///
/// A bitfield controlling the command flushing behavior. flags may be GL_SYNC_FLUSH_COMMANDS_BIT.
///
///
///
///
/// The timeout, specified in nanoseconds, for which the implementation should wait for sync to become signaled.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")]
public static
OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, UInt64 timeout)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout);
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
/// Block and wait for a sync object to become signaled
///
///
///
/// The sync object whose status to wait on.
///
///
///
///
/// A bitfield controlling the command flushing behavior. flags may be GL_SYNC_FLUSH_COMMANDS_BIT.
///
///
///
///
/// The timeout, specified in nanoseconds, for which the implementation should wait for sync to become signaled.
///
///
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")]
public static
OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, Int64 timeout)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout);
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
/// Block and wait for a sync object to become signaled
///
///
///
/// The sync object whose status to wait on.
///
///
///
///
/// A bitfield controlling the command flushing behavior. flags may be GL_SYNC_FLUSH_COMMANDS_BIT.
///
///
///
///
/// The timeout, specified in nanoseconds, for which the implementation should wait for sync to become signaled.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")]
public static
OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout);
#if DEBUG
}
#endif
}
/// [requires: APPLE_copy_texture_levels]
[AutoGenerated(Category = "APPLE_copy_texture_levels", Version = "", EntryPoint = "glCopyTextureLevelsAPPLE")]
public static
void CopyTextureLevel(Int32 destinationTexture, Int32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCopyTextureLevelsAPPLE((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount);
#if DEBUG
}
#endif
}
/// [requires: APPLE_copy_texture_levels]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "APPLE_copy_texture_levels", Version = "", EntryPoint = "glCopyTextureLevelsAPPLE")]
public static
void CopyTextureLevel(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCopyTextureLevelsAPPLE((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount);
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
/// Delete a sync object
///
///
///
/// The sync object to be deleted.
///
///
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glDeleteSyncAPPLE")]
public static
void DeleteSync(IntPtr sync)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteSyncAPPLE((IntPtr)sync);
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
/// Create a new sync object and insert it into the GL command stream
///
///
///
/// Specifies the condition that must be met to set the sync object's state to signaled. condition must be GL_SYNC_GPU_COMMANDS_COMPLETE.
///
///
///
///
/// Specifies a bitwise combination of flags controlling the behavior of the sync object. No flags are presently defined for this operation and flags must be zero. flags is a placeholder for anticipated future extensions of fence sync object capabilities.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glFenceSyncAPPLE")]
public static
IntPtr FenceSync(OpenTK.Graphics.ES30.All condition, OpenTK.Graphics.ES30.All flags)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glFenceSyncAPPLE((OpenTK.Graphics.ES30.SyncCondition)condition, (OpenTK.Graphics.ES30.WaitSyncFlags)flags);
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
/// Create a new sync object and insert it into the GL command stream
///
///
///
/// Specifies the condition that must be met to set the sync object's state to signaled. condition must be GL_SYNC_GPU_COMMANDS_COMPLETE.
///
///
///
///
/// Specifies a bitwise combination of flags controlling the behavior of the sync object. No flags are presently defined for this operation and flags must be zero. flags is a placeholder for anticipated future extensions of fence sync object capabilities.
///
///
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glFenceSyncAPPLE")]
public static
IntPtr FenceSync(OpenTK.Graphics.ES30.SyncCondition condition, OpenTK.Graphics.ES30.WaitSyncFlags flags)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glFenceSyncAPPLE((OpenTK.Graphics.ES30.SyncCondition)condition, (OpenTK.Graphics.ES30.WaitSyncFlags)flags);
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
public static
Int64 GetInteger64(OpenTK.Graphics.ES30.All pname)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
Int64 retval;
Int64* @params_ptr = &retval;
Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params_ptr);
return retval;
}
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
public static
Int64 GetInteger64(OpenTK.Graphics.ES30.GetPName pname)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
Int64 retval;
Int64* @params_ptr = &retval;
Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params_ptr);
return retval;
}
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
public static
void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int64* @params_ptr = @params)
{
Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
public static
void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int64 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int64* @params_ptr = &@params)
{
Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
public static
unsafe void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params);
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
public static
void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int64* @params_ptr = @params)
{
Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
public static
void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] out Int64 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int64* @params_ptr = &@params)
{
Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
public static
unsafe void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params);
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
/// Query the properties of a sync object
///
///
///
/// Specifies the sync object whose properties to query.
///
///
///
///
/// Specifies the parameter whose value to retrieve from the sync object specified in sync.
///
///
///
///
/// Specifies the size of the buffer whose address is given in values.
///
///
///
///
/// Specifies the address of an variable to receive the number of integers placed in values.
///
///
///
///
/// Specifies the address of an array to receive the values of the queried parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")]
public static
void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = length)
fixed (Int32* values_ptr = values)
{
Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
/// Query the properties of a sync object
///
///
///
/// Specifies the sync object whose properties to query.
///
///
///
///
/// Specifies the parameter whose value to retrieve from the sync object specified in sync.
///
///
///
///
/// Specifies the size of the buffer whose address is given in values.
///
///
///
///
/// Specifies the address of an variable to receive the number of integers placed in values.
///
///
///
///
/// Specifies the address of an array to receive the values of the queried parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")]
public static
void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (Int32* values_ptr = &values)
{
Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
length = *length_ptr;
values = *values_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
/// Query the properties of a sync object
///
///
///
/// Specifies the sync object whose properties to query.
///
///
///
///
/// Specifies the parameter whose value to retrieve from the sync object specified in sync.
///
///
///
///
/// Specifies the size of the buffer whose address is given in values.
///
///
///
///
/// Specifies the address of an variable to receive the number of integers placed in values.
///
///
///
///
/// Specifies the address of an array to receive the values of the queried parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")]
public static
unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values);
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
/// Query the properties of a sync object
///
///
///
/// Specifies the sync object whose properties to query.
///
///
///
///
/// Specifies the parameter whose value to retrieve from the sync object specified in sync.
///
///
///
///
/// Specifies the size of the buffer whose address is given in values.
///
///
///
///
/// Specifies the address of an variable to receive the number of integers placed in values.
///
///
///
///
/// Specifies the address of an array to receive the values of the queried parameter.
///
///
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")]
public static
void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = length)
fixed (Int32* values_ptr = values)
{
Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
/// Query the properties of a sync object
///
///
///
/// Specifies the sync object whose properties to query.
///
///
///
///
/// Specifies the parameter whose value to retrieve from the sync object specified in sync.
///
///
///
///
/// Specifies the size of the buffer whose address is given in values.
///
///
///
///
/// Specifies the address of an variable to receive the number of integers placed in values.
///
///
///
///
/// Specifies the address of an array to receive the values of the queried parameter.
///
///
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")]
public static
void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (Int32* values_ptr = &values)
{
Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
length = *length_ptr;
values = *values_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
/// Query the properties of a sync object
///
///
///
/// Specifies the sync object whose properties to query.
///
///
///
///
/// Specifies the parameter whose value to retrieve from the sync object specified in sync.
///
///
///
///
/// Specifies the size of the buffer whose address is given in values.
///
///
///
///
/// Specifies the address of an variable to receive the number of integers placed in values.
///
///
///
///
/// Specifies the address of an array to receive the values of the queried parameter.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")]
public static
unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values);
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
/// Determine if a name corresponds to a sync object
///
///
///
/// Specifies a value that may be the name of a sync object.
///
///
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glIsSyncAPPLE")]
public static
bool IsSync(IntPtr sync)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsSyncAPPLE((IntPtr)sync);
#if DEBUG
}
#endif
}
/// [requires: APPLE_framebuffer_multisample]
/// Establish data storage, format, dimensions and sample count of a renderbuffer object's image
///
///
///
/// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the number of samples to be used for the renderbuffer object's storage.
///
///
///
///
/// Specifies the internal format to use for the renderbuffer object's image.
///
///
///
///
/// Specifies the width of the renderbuffer, in pixels.
///
///
///
///
/// Specifies the height of the renderbuffer, in pixels.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleAPPLE")]
public static
void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.All target, Int32 samples, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glRenderbufferStorageMultisampleAPPLE((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height);
#if DEBUG
}
#endif
}
/// [requires: APPLE_framebuffer_multisample]
/// Establish data storage, format, dimensions and sample count of a renderbuffer object's image
///
///
///
/// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the number of samples to be used for the renderbuffer object's storage.
///
///
///
///
/// Specifies the internal format to use for the renderbuffer object's image.
///
///
///
///
/// Specifies the width of the renderbuffer, in pixels.
///
///
///
///
/// Specifies the height of the renderbuffer, in pixels.
///
///
[AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleAPPLE")]
public static
void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glRenderbufferStorageMultisampleAPPLE((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height);
#if DEBUG
}
#endif
}
/// [requires: APPLE_framebuffer_multisample]
[AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glResolveMultisampleFramebufferAPPLE")]
public static
void ResolveMultisampleFramebuffer()
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glResolveMultisampleFramebufferAPPLE();
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
/// Instruct the GL server to block until the specified sync object becomes signaled
///
///
///
/// Specifies the sync object whose status to wait on.
///
///
///
///
/// A bitfield controlling the command flushing behavior. flags may be zero.
///
///
///
///
/// Specifies the timeout that the server should wait before continuing. timeout must be GL_TIMEOUT_IGNORED.
///
///
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")]
public static
void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout);
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
/// Instruct the GL server to block until the specified sync object becomes signaled
///
///
///
/// Specifies the sync object whose status to wait on.
///
///
///
///
/// A bitfield controlling the command flushing behavior. flags may be zero.
///
///
///
///
/// Specifies the timeout that the server should wait before continuing. timeout must be GL_TIMEOUT_IGNORED.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")]
public static
void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, UInt64 timeout)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout);
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
/// Instruct the GL server to block until the specified sync object becomes signaled
///
///
///
/// Specifies the sync object whose status to wait on.
///
///
///
///
/// A bitfield controlling the command flushing behavior. flags may be zero.
///
///
///
///
/// Specifies the timeout that the server should wait before continuing. timeout must be GL_TIMEOUT_IGNORED.
///
///
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")]
public static
void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, Int64 timeout)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout);
#if DEBUG
}
#endif
}
/// [requires: APPLE_sync]
/// Instruct the GL server to block until the specified sync object becomes signaled
///
///
///
/// Specifies the sync object whose status to wait on.
///
///
///
///
/// A bitfield controlling the command flushing behavior. flags may be zero.
///
///
///
///
/// Specifies the timeout that the server should wait before continuing. timeout must be GL_TIMEOUT_IGNORED.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")]
public static
void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout);
#if DEBUG
}
#endif
}
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Select active texture unit
///
///
///
/// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glActiveTexture")]
public static
void ActiveTexture(OpenTK.Graphics.ES30.All texture)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glActiveTexture((OpenTK.Graphics.ES30.TextureUnit)texture);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Select active texture unit
///
///
///
/// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glActiveTexture")]
public static
void ActiveTexture(OpenTK.Graphics.ES30.TextureUnit texture)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glActiveTexture((OpenTK.Graphics.ES30.TextureUnit)texture);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Attaches a shader object to a program object
///
///
///
/// Specifies the program object to which a shader object will be attached.
///
///
///
///
/// Specifies the shader object that is to be attached.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")]
public static
void AttachShader(Int32 program, Int32 shader)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glAttachShader((UInt32)program, (UInt32)shader);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Attaches a shader object to a program object
///
///
///
/// Specifies the program object to which a shader object will be attached.
///
///
///
///
/// Specifies the shader object that is to be attached.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")]
public static
void AttachShader(UInt32 program, UInt32 shader)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glAttachShader((UInt32)program, (UInt32)shader);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delimit the boundaries of a query object
///
///
///
/// Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be one of GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED_CONSERVATIVE, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, or GL_TIME_ELAPSED.
///
///
///
///
/// Specifies the name of a query object.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginQuery")]
public static
void BeginQuery(OpenTK.Graphics.ES30.All target, Int32 id)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBeginQuery((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delimit the boundaries of a query object
///
///
///
/// Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be one of GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED_CONSERVATIVE, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, or GL_TIME_ELAPSED.
///
///
///
///
/// Specifies the name of a query object.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginQuery")]
public static
void BeginQuery(OpenTK.Graphics.ES30.All target, UInt32 id)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBeginQuery((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delimit the boundaries of a query object
///
///
///
/// Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be one of GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED_CONSERVATIVE, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, or GL_TIME_ELAPSED.
///
///
///
///
/// Specifies the name of a query object.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginQuery")]
public static
void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, Int32 id)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBeginQuery((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delimit the boundaries of a query object
///
///
///
/// Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be one of GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED_CONSERVATIVE, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, or GL_TIME_ELAPSED.
///
///
///
///
/// Specifies the name of a query object.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginQuery")]
public static
void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBeginQuery((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Start transform feedback operation
///
///
///
/// Specify the output type of the primitives that will be recorded into the buffer objects that are bound for transform feedback.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginTransformFeedback")]
public static
void BeginTransformFeedback(OpenTK.Graphics.ES30.All primitiveMode)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBeginTransformFeedback((OpenTK.Graphics.ES30.TransformFeedbackPrimitiveType)primitiveMode);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Start transform feedback operation
///
///
///
/// Specify the output type of the primitives that will be recorded into the buffer objects that are bound for transform feedback.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginTransformFeedback")]
public static
void BeginTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackPrimitiveType primitiveMode)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBeginTransformFeedback((OpenTK.Graphics.ES30.TransformFeedbackPrimitiveType)primitiveMode);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Associates a generic vertex attribute index with a named attribute variable
///
///
///
/// Specifies the handle of the program object in which the association is to be made.
///
///
///
///
/// Specifies the index of the generic vertex attribute to be bound.
///
///
///
///
/// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")]
public static
void BindAttribLocation(Int32 program, Int32 index, String name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Associates a generic vertex attribute index with a named attribute variable
///
///
///
/// Specifies the handle of the program object in which the association is to be made.
///
///
///
///
/// Specifies the index of the generic vertex attribute to be bound.
///
///
///
///
/// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")]
public static
void BindAttribLocation(UInt32 program, UInt32 index, String name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Bind a named buffer object
///
///
///
/// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the name of a buffer object.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")]
public static
void BindBuffer(OpenTK.Graphics.ES30.All target, Int32 buffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindBuffer((OpenTK.Graphics.ES30.BufferTarget)target, (UInt32)buffer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Bind a named buffer object
///
///
///
/// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the name of a buffer object.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")]
public static
void BindBuffer(OpenTK.Graphics.ES30.All target, UInt32 buffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindBuffer((OpenTK.Graphics.ES30.BufferTarget)target, (UInt32)buffer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Bind a named buffer object
///
///
///
/// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the name of a buffer object.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")]
public static
void BindBuffer(OpenTK.Graphics.ES30.BufferTarget target, Int32 buffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindBuffer((OpenTK.Graphics.ES30.BufferTarget)target, (UInt32)buffer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Bind a named buffer object
///
///
///
/// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the name of a buffer object.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")]
public static
void BindBuffer(OpenTK.Graphics.ES30.BufferTarget target, UInt32 buffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindBuffer((OpenTK.Graphics.ES30.BufferTarget)target, (UInt32)buffer);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Bind a buffer object to an indexed buffer target
///
///
///
/// Specify the target of the bind operation. target must be one of GL_ATOMIC_COUNTER_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, GL_UNIFORM_BUFFER or GL_SHADER_STORAGE_BUFFER.
///
///
///
///
/// Specify the index of the binding point within the array specified by target.
///
///
///
///
/// The name of a buffer object to bind to the specified binding point.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")]
public static
void BindBufferBase(OpenTK.Graphics.ES30.All target, Int32 index, Int32 buffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindBufferBase((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Bind a buffer object to an indexed buffer target
///
///
///
/// Specify the target of the bind operation. target must be one of GL_ATOMIC_COUNTER_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, GL_UNIFORM_BUFFER or GL_SHADER_STORAGE_BUFFER.
///
///
///
///
/// Specify the index of the binding point within the array specified by target.
///
///
///
///
/// The name of a buffer object to bind to the specified binding point.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")]
public static
void BindBufferBase(OpenTK.Graphics.ES30.All target, UInt32 index, UInt32 buffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindBufferBase((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Bind a buffer object to an indexed buffer target
///
///
///
/// Specify the target of the bind operation. target must be one of GL_ATOMIC_COUNTER_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, GL_UNIFORM_BUFFER or GL_SHADER_STORAGE_BUFFER.
///
///
///
///
/// Specify the index of the binding point within the array specified by target.
///
///
///
///
/// The name of a buffer object to bind to the specified binding point.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")]
public static
void BindBufferBase(OpenTK.Graphics.ES30.BufferRangeTarget target, Int32 index, Int32 buffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindBufferBase((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Bind a buffer object to an indexed buffer target
///
///
///
/// Specify the target of the bind operation. target must be one of GL_ATOMIC_COUNTER_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, GL_UNIFORM_BUFFER or GL_SHADER_STORAGE_BUFFER.
///
///
///
///
/// Specify the index of the binding point within the array specified by target.
///
///
///
///
/// The name of a buffer object to bind to the specified binding point.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")]
public static
void BindBufferBase(OpenTK.Graphics.ES30.BufferRangeTarget target, UInt32 index, UInt32 buffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindBufferBase((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Bind a range within a buffer object to an indexed buffer target
///
///
///
/// Specify the target of the bind operation. target must be one of GL_ATOMIC_COUNTER_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, GL_UNIFORM_BUFFER, or GL_SHADER_STORAGE_BUFFER.
///
///
///
///
/// Specify the index of the binding point within the array specified by target.
///
///
///
///
/// The name of a buffer object to bind to the specified binding point.
///
///
///
///
/// The starting offset in basic machine units into the buffer object buffer.
///
///
///
///
/// The amount of data in machine units that can be read from the buffet object while used as an indexed target.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")]
public static
void BindBufferRange(OpenTK.Graphics.ES30.All target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindBufferRange((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Bind a range within a buffer object to an indexed buffer target
///
///
///
/// Specify the target of the bind operation. target must be one of GL_ATOMIC_COUNTER_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, GL_UNIFORM_BUFFER, or GL_SHADER_STORAGE_BUFFER.
///
///
///
///
/// Specify the index of the binding point within the array specified by target.
///
///
///
///
/// The name of a buffer object to bind to the specified binding point.
///
///
///
///
/// The starting offset in basic machine units into the buffer object buffer.
///
///
///
///
/// The amount of data in machine units that can be read from the buffet object while used as an indexed target.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")]
public static
void BindBufferRange(OpenTK.Graphics.ES30.All target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindBufferRange((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Bind a range within a buffer object to an indexed buffer target
///
///
///
/// Specify the target of the bind operation. target must be one of GL_ATOMIC_COUNTER_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, GL_UNIFORM_BUFFER, or GL_SHADER_STORAGE_BUFFER.
///
///
///
///
/// Specify the index of the binding point within the array specified by target.
///
///
///
///
/// The name of a buffer object to bind to the specified binding point.
///
///
///
///
/// The starting offset in basic machine units into the buffer object buffer.
///
///
///
///
/// The amount of data in machine units that can be read from the buffet object while used as an indexed target.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")]
public static
void BindBufferRange(OpenTK.Graphics.ES30.BufferRangeTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindBufferRange((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Bind a range within a buffer object to an indexed buffer target
///
///
///
/// Specify the target of the bind operation. target must be one of GL_ATOMIC_COUNTER_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, GL_UNIFORM_BUFFER, or GL_SHADER_STORAGE_BUFFER.
///
///
///
///
/// Specify the index of the binding point within the array specified by target.
///
///
///
///
/// The name of a buffer object to bind to the specified binding point.
///
///
///
///
/// The starting offset in basic machine units into the buffer object buffer.
///
///
///
///
/// The amount of data in machine units that can be read from the buffet object while used as an indexed target.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")]
public static
void BindBufferRange(OpenTK.Graphics.ES30.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindBufferRange((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Bind a framebuffer to a framebuffer target
///
///
///
/// Specifies the framebuffer target of the binding operation.
///
///
///
///
/// Specifies the name of the framebuffer object to bind.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")]
public static
void BindFramebuffer(OpenTK.Graphics.ES30.All target, Int32 framebuffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (UInt32)framebuffer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Bind a framebuffer to a framebuffer target
///
///
///
/// Specifies the framebuffer target of the binding operation.
///
///
///
///
/// Specifies the name of the framebuffer object to bind.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")]
public static
void BindFramebuffer(OpenTK.Graphics.ES30.All target, UInt32 framebuffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (UInt32)framebuffer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Bind a framebuffer to a framebuffer target
///
///
///
/// Specifies the framebuffer target of the binding operation.
///
///
///
///
/// Specifies the name of the framebuffer object to bind.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")]
public static
void BindFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 framebuffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (UInt32)framebuffer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Bind a framebuffer to a framebuffer target
///
///
///
/// Specifies the framebuffer target of the binding operation.
///
///
///
///
/// Specifies the name of the framebuffer object to bind.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")]
public static
void BindFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, UInt32 framebuffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (UInt32)framebuffer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Bind a renderbuffer to a renderbuffer target
///
///
///
/// Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the name of the renderbuffer object to bind.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")]
public static
void BindRenderbuffer(OpenTK.Graphics.ES30.All target, Int32 renderbuffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindRenderbuffer((OpenTK.Graphics.ES30.RenderbufferTarget)target, (UInt32)renderbuffer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Bind a renderbuffer to a renderbuffer target
///
///
///
/// Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the name of the renderbuffer object to bind.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")]
public static
void BindRenderbuffer(OpenTK.Graphics.ES30.All target, UInt32 renderbuffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindRenderbuffer((OpenTK.Graphics.ES30.RenderbufferTarget)target, (UInt32)renderbuffer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Bind a renderbuffer to a renderbuffer target
///
///
///
/// Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the name of the renderbuffer object to bind.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")]
public static
void BindRenderbuffer(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 renderbuffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindRenderbuffer((OpenTK.Graphics.ES30.RenderbufferTarget)target, (UInt32)renderbuffer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Bind a renderbuffer to a renderbuffer target
///
///
///
/// Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the name of the renderbuffer object to bind.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")]
public static
void BindRenderbuffer(OpenTK.Graphics.ES30.RenderbufferTarget target, UInt32 renderbuffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindRenderbuffer((OpenTK.Graphics.ES30.RenderbufferTarget)target, (UInt32)renderbuffer);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Bind a named sampler to a texturing target
///
///
///
/// Specifies the index of the texture unit to which the sampler is bound.
///
///
///
///
/// Specifies the name of a sampler.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindSampler")]
public static
void BindSampler(Int32 unit, Int32 sampler)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindSampler((UInt32)unit, (UInt32)sampler);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Bind a named sampler to a texturing target
///
///
///
/// Specifies the index of the texture unit to which the sampler is bound.
///
///
///
///
/// Specifies the name of a sampler.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindSampler")]
public static
void BindSampler(UInt32 unit, UInt32 sampler)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindSampler((UInt32)unit, (UInt32)sampler);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Bind a named texture to a texturing target
///
///
///
/// Specifies the target to which the texture is bound. Must be one of GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_BUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
///
///
///
///
/// Specifies the name of a texture.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")]
public static
void BindTexture(OpenTK.Graphics.ES30.All target, Int32 texture)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindTexture((OpenTK.Graphics.ES30.TextureTarget)target, (UInt32)texture);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Bind a named texture to a texturing target
///
///
///
/// Specifies the target to which the texture is bound. Must be one of GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_BUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
///
///
///
///
/// Specifies the name of a texture.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")]
public static
void BindTexture(OpenTK.Graphics.ES30.All target, UInt32 texture)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindTexture((OpenTK.Graphics.ES30.TextureTarget)target, (UInt32)texture);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Bind a named texture to a texturing target
///
///
///
/// Specifies the target to which the texture is bound. Must be one of GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_BUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
///
///
///
///
/// Specifies the name of a texture.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")]
public static
void BindTexture(OpenTK.Graphics.ES30.TextureTarget target, Int32 texture)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindTexture((OpenTK.Graphics.ES30.TextureTarget)target, (UInt32)texture);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Bind a named texture to a texturing target
///
///
///
/// Specifies the target to which the texture is bound. Must be one of GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_BUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
///
///
///
///
/// Specifies the name of a texture.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")]
public static
void BindTexture(OpenTK.Graphics.ES30.TextureTarget target, UInt32 texture)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindTexture((OpenTK.Graphics.ES30.TextureTarget)target, (UInt32)texture);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Bind a transform feedback object
///
///
///
/// Specifies the target to which to bind the transform feedback object id. target must be GL_TRANSFORM_FEEDBACK.
///
///
///
///
/// Specifies the name of a transform feedback object reserved by glGenTransformFeedbacks.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindTransformFeedback")]
public static
void BindTransformFeedback(OpenTK.Graphics.ES30.All target, Int32 id)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindTransformFeedback((OpenTK.Graphics.ES30.TransformFeedbackTarget)target, (UInt32)id);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Bind a transform feedback object
///
///
///
/// Specifies the target to which to bind the transform feedback object id. target must be GL_TRANSFORM_FEEDBACK.
///
///
///
///
/// Specifies the name of a transform feedback object reserved by glGenTransformFeedbacks.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindTransformFeedback")]
public static
void BindTransformFeedback(OpenTK.Graphics.ES30.All target, UInt32 id)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindTransformFeedback((OpenTK.Graphics.ES30.TransformFeedbackTarget)target, (UInt32)id);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Bind a transform feedback object
///
///
///
/// Specifies the target to which to bind the transform feedback object id. target must be GL_TRANSFORM_FEEDBACK.
///
///
///
///
/// Specifies the name of a transform feedback object reserved by glGenTransformFeedbacks.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindTransformFeedback")]
public static
void BindTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackTarget target, Int32 id)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindTransformFeedback((OpenTK.Graphics.ES30.TransformFeedbackTarget)target, (UInt32)id);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Bind a transform feedback object
///
///
///
/// Specifies the target to which to bind the transform feedback object id. target must be GL_TRANSFORM_FEEDBACK.
///
///
///
///
/// Specifies the name of a transform feedback object reserved by glGenTransformFeedbacks.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindTransformFeedback")]
public static
void BindTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackTarget target, UInt32 id)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindTransformFeedback((OpenTK.Graphics.ES30.TransformFeedbackTarget)target, (UInt32)id);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Bind a vertex array object
///
///
///
/// Specifies the name of the vertex array to bind.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindVertexArray")]
public static
void BindVertexArray(Int32 array)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindVertexArray((UInt32)array);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Bind a vertex array object
///
///
///
/// Specifies the name of the vertex array to bind.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindVertexArray")]
public static
void BindVertexArray(UInt32 array)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindVertexArray((UInt32)array);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set the blend color
///
///
///
/// specify the components of GL_BLEND_COLOR
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendColor")]
public static
void BlendColor(Single red, Single green, Single blue, Single alpha)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify the equation used for both the RGB blend equation and the Alpha blend equation
///
///
///
/// for glBlendEquationi, specifies the index of the draw buffer for which to set the blend equation.
///
///
///
///
/// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquation")]
public static
void BlendEquation(OpenTK.Graphics.ES30.All mode)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlendEquation((OpenTK.Graphics.ES30.BlendEquationMode)mode);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify the equation used for both the RGB blend equation and the Alpha blend equation
///
///
///
/// for glBlendEquationi, specifies the index of the draw buffer for which to set the blend equation.
///
///
///
///
/// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquation")]
public static
void BlendEquation(OpenTK.Graphics.ES30.BlendEquationMode mode)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlendEquation((OpenTK.Graphics.ES30.BlendEquationMode)mode);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set the RGB blend equation and the alpha blend equation separately
///
///
///
/// for glBlendEquationSeparatei, specifies the index of the draw buffer for which to set the blend equations.
///
///
///
///
/// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
///
///
///
///
/// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquationSeparate")]
public static
void BlendEquationSeparate(OpenTK.Graphics.ES30.All modeRGB, OpenTK.Graphics.ES30.All modeAlpha)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlendEquationSeparate((OpenTK.Graphics.ES30.BlendEquationMode)modeRGB, (OpenTK.Graphics.ES30.BlendEquationMode)modeAlpha);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set the RGB blend equation and the alpha blend equation separately
///
///
///
/// for glBlendEquationSeparatei, specifies the index of the draw buffer for which to set the blend equations.
///
///
///
///
/// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
///
///
///
///
/// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquationSeparate")]
public static
void BlendEquationSeparate(OpenTK.Graphics.ES30.BlendEquationMode modeRGB, OpenTK.Graphics.ES30.BlendEquationMode modeAlpha)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlendEquationSeparate((OpenTK.Graphics.ES30.BlendEquationMode)modeRGB, (OpenTK.Graphics.ES30.BlendEquationMode)modeAlpha);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify pixel arithmetic
///
///
///
/// For glBlendFunci, specifies the index of the draw buffer for which to set the blend function.
///
///
///
///
/// Specifies how the red, green, blue, and alpha source blending factors are computed. The initial value is GL_ONE.
///
///
///
///
/// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFunc")]
public static
void BlendFunc(OpenTK.Graphics.ES30.All sfactor, OpenTK.Graphics.ES30.All dfactor)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlendFunc((OpenTK.Graphics.ES30.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactor);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify pixel arithmetic
///
///
///
/// For glBlendFunci, specifies the index of the draw buffer for which to set the blend function.
///
///
///
///
/// Specifies how the red, green, blue, and alpha source blending factors are computed. The initial value is GL_ONE.
///
///
///
///
/// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFunc")]
public static
void BlendFunc(OpenTK.Graphics.ES30.BlendingFactorSrc sfactor, OpenTK.Graphics.ES30.BlendingFactorDest dfactor)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlendFunc((OpenTK.Graphics.ES30.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactor);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify pixel arithmetic for RGB and alpha components separately
///
///
///
/// For glBlendFuncSeparatei, specifies the index of the draw buffer for which to set the blend functions.
///
///
///
///
/// Specifies how the red, green, and blue blending factors are computed. The initial value is GL_ONE.
///
///
///
///
/// Specifies how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO.
///
///
///
///
/// Specified how the alpha source blending factor is computed. The initial value is GL_ONE.
///
///
///
///
/// Specified how the alpha destination blending factor is computed. The initial value is GL_ZERO.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFuncSeparate")]
public static
void BlendFuncSeparate(OpenTK.Graphics.ES30.All sfactorRGB, OpenTK.Graphics.ES30.All dfactorRGB, OpenTK.Graphics.ES30.All sfactorAlpha, OpenTK.Graphics.ES30.All dfactorAlpha)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlendFuncSeparate((OpenTK.Graphics.ES30.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.ES30.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactorAlpha);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify pixel arithmetic for RGB and alpha components separately
///
///
///
/// For glBlendFuncSeparatei, specifies the index of the draw buffer for which to set the blend functions.
///
///
///
///
/// Specifies how the red, green, and blue blending factors are computed. The initial value is GL_ONE.
///
///
///
///
/// Specifies how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO.
///
///
///
///
/// Specified how the alpha source blending factor is computed. The initial value is GL_ONE.
///
///
///
///
/// Specified how the alpha destination blending factor is computed. The initial value is GL_ZERO.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFuncSeparate")]
public static
void BlendFuncSeparate(OpenTK.Graphics.ES30.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.ES30.BlendingFactorDest dfactorRGB, OpenTK.Graphics.ES30.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.ES30.BlendingFactorDest dfactorAlpha)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlendFuncSeparate((OpenTK.Graphics.ES30.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.ES30.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactorAlpha);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Copy a block of pixels from the read framebuffer to the draw framebuffer
///
///
///
/// Specify the bounds of the source rectangle within the read buffer of the read framebuffer.
///
///
///
///
/// Specify the bounds of the destination rectangle within the write buffer of the write framebuffer.
///
///
///
///
/// The bitwise OR of the flags indicating which buffers are to be copied. The allowed flags are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT and GL_STENCIL_BUFFER_BIT.
///
///
///
///
/// Specifies the interpolation to be applied if the image is stretched. Must be GL_NEAREST or GL_LINEAR.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBlitFramebuffer")]
public static
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.All mask, OpenTK.Graphics.ES30.All filter)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES30.ClearBufferMask)mask, (OpenTK.Graphics.ES30.BlitFramebufferFilter)filter);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Copy a block of pixels from the read framebuffer to the draw framebuffer
///
///
///
/// Specify the bounds of the source rectangle within the read buffer of the read framebuffer.
///
///
///
///
/// Specify the bounds of the destination rectangle within the write buffer of the write framebuffer.
///
///
///
///
/// The bitwise OR of the flags indicating which buffers are to be copied. The allowed flags are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT and GL_STENCIL_BUFFER_BIT.
///
///
///
///
/// Specifies the interpolation to be applied if the image is stretched. Must be GL_NEAREST or GL_LINEAR.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBlitFramebuffer")]
public static
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES30.ClearBufferMask)mask, (OpenTK.Graphics.ES30.BlitFramebufferFilter)filter);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Creates and initializes a buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the size in bytes of the buffer object's new data store.
///
///
///
///
/// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
///
///
///
///
/// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static
void BufferData(OpenTK.Graphics.ES30.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES30.All usage)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES30.BufferUsageHint)usage);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Creates and initializes a buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the size in bytes of the buffer object's new data store.
///
///
///
///
/// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
///
///
///
///
/// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static
void BufferData(OpenTK.Graphics.ES30.All target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES30.All usage)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage);
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Creates and initializes a buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the size in bytes of the buffer object's new data store.
///
///
///
///
/// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
///
///
///
///
/// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static
void BufferData(OpenTK.Graphics.ES30.All target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES30.All usage)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage);
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Creates and initializes a buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the size in bytes of the buffer object's new data store.
///
///
///
///
/// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
///
///
///
///
/// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static
void BufferData(OpenTK.Graphics.ES30.All target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES30.All usage)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage);
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Creates and initializes a buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the size in bytes of the buffer object's new data store.
///
///
///
///
/// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
///
///
///
///
/// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static
void BufferData(OpenTK.Graphics.ES30.All target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES30.All usage)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage);
data = (T2)data_ptr.Target;
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Creates and initializes a buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the size in bytes of the buffer object's new data store.
///
///
///
///
/// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
///
///
///
///
/// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static
void BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES30.BufferUsageHint usage)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES30.BufferUsageHint)usage);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Creates and initializes a buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the size in bytes of the buffer object's new data store.
///
///
///
///
/// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
///
///
///
///
/// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static
void BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES30.BufferUsageHint usage)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage);
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Creates and initializes a buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the size in bytes of the buffer object's new data store.
///
///
///
///
/// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
///
///
///
///
/// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static
void BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES30.BufferUsageHint usage)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage);
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Creates and initializes a buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the size in bytes of the buffer object's new data store.
///
///
///
///
/// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
///
///
///
///
/// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static
void BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES30.BufferUsageHint usage)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage);
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Creates and initializes a buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the size in bytes of the buffer object's new data store.
///
///
///
///
/// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
///
///
///
///
/// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static
void BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES30.BufferUsageHint usage)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage);
data = (T2)data_ptr.Target;
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Updates a subset of a buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
///
///
///
///
/// Specifies the size in bytes of the data store region being replaced.
///
///
///
///
/// Specifies a pointer to the new data that will be copied into the data store.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
public static
void BufferSubData(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr size, IntPtr data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Updates a subset of a buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
///
///
///
///
/// Specifies the size in bytes of the data store region being replaced.
///
///
///
///
/// Specifies a pointer to the new data that will be copied into the data store.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
public static
void BufferSubData(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Updates a subset of a buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
///
///
///
///
/// Specifies the size in bytes of the data store region being replaced.
///
///
///
///
/// Specifies a pointer to the new data that will be copied into the data store.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
public static
void BufferSubData(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Updates a subset of a buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
///
///
///
///
/// Specifies the size in bytes of the data store region being replaced.
///
///
///
///
/// Specifies a pointer to the new data that will be copied into the data store.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
public static
void BufferSubData(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Updates a subset of a buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
///
///
///
///
/// Specifies the size in bytes of the data store region being replaced.
///
///
///
///
/// Specifies a pointer to the new data that will be copied into the data store.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
public static
void BufferSubData(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
data = (T3)data_ptr.Target;
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Updates a subset of a buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
///
///
///
///
/// Specifies the size in bytes of the data store region being replaced.
///
///
///
///
/// Specifies a pointer to the new data that will be copied into the data store.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
public static
void BufferSubData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Updates a subset of a buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
///
///
///
///
/// Specifies the size in bytes of the data store region being replaced.
///
///
///
///
/// Specifies a pointer to the new data that will be copied into the data store.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
public static
void BufferSubData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Updates a subset of a buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
///
///
///
///
/// Specifies the size in bytes of the data store region being replaced.
///
///
///
///
/// Specifies a pointer to the new data that will be copied into the data store.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
public static
void BufferSubData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Updates a subset of a buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
///
///
///
///
/// Specifies the size in bytes of the data store region being replaced.
///
///
///
///
/// Specifies a pointer to the new data that will be copied into the data store.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
public static
void BufferSubData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Updates a subset of a buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
///
///
///
///
/// Specifies the size in bytes of the data store region being replaced.
///
///
///
///
/// Specifies a pointer to the new data that will be copied into the data store.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
public static
void BufferSubData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
data = (T3)data_ptr.Target;
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Check the completeness status of a framebuffer
///
///
///
/// Specify the target of the framebuffer completeness check.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCheckFramebufferStatus")]
public static
OpenTK.Graphics.ES30.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES30.All target)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.ES30.FramebufferTarget)target);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Check the completeness status of a framebuffer
///
///
///
/// Specify the target of the framebuffer completeness check.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCheckFramebufferStatus")]
public static
OpenTK.Graphics.ES30.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES30.FramebufferTarget target)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.ES30.FramebufferTarget)target);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Clear buffers to preset values
///
///
///
/// Bitwise OR of masks that indicate the buffers to be cleared. The three masks are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, and GL_STENCIL_BUFFER_BIT.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClear")]
public static
void Clear(OpenTK.Graphics.ES30.All mask)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glClear((OpenTK.Graphics.ES30.ClearBufferMask)mask);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Clear buffers to preset values
///
///
///
/// Bitwise OR of masks that indicate the buffers to be cleared. The three masks are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, and GL_STENCIL_BUFFER_BIT.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClear")]
public static
void Clear(OpenTK.Graphics.ES30.ClearBufferMask mask)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glClear((OpenTK.Graphics.ES30.ClearBufferMask)mask);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Clear individual buffers of the currently bound draw framebuffer
///
///
///
/// Specify the buffer to clear.
///
///
///
///
/// Specify a particular draw buffer to clear.
///
///
///
///
/// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
///
///
///
///
/// The value to clear a depth render buffer to.
///
///
///
///
/// The value to clear a stencil render buffer to.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfi")]
public static
void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, Single depth, Int32 stencil)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glClearBufferfi((OpenTK.Graphics.ES30.ClearBufferCombined)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Clear individual buffers of the currently bound draw framebuffer
///
///
///
/// Specify the buffer to clear.
///
///
///
///
/// Specify a particular draw buffer to clear.
///
///
///
///
/// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
///
///
///
///
/// The value to clear a depth render buffer to.
///
///
///
///
/// The value to clear a stencil render buffer to.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfi")]
public static
void ClearBuffer(OpenTK.Graphics.ES30.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glClearBufferfi((OpenTK.Graphics.ES30.ClearBufferCombined)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Clear individual buffers of the currently bound draw framebuffer
///
///
///
/// Specify the buffer to clear.
///
///
///
///
/// Specify a particular draw buffer to clear.
///
///
///
///
/// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
///
///
///
///
/// The value to clear a depth render buffer to.
///
///
///
///
/// The value to clear a stencil render buffer to.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")]
public static
void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, Single[] value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* value_ptr = value)
{
Delegates.glClearBufferfv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Clear individual buffers of the currently bound draw framebuffer
///
///
///
/// Specify the buffer to clear.
///
///
///
///
/// Specify a particular draw buffer to clear.
///
///
///
///
/// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
///
///
///
///
/// The value to clear a depth render buffer to.
///
///
///
///
/// The value to clear a stencil render buffer to.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")]
public static
void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, ref Single value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* value_ptr = &value)
{
Delegates.glClearBufferfv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Clear individual buffers of the currently bound draw framebuffer
///
///
///
/// Specify the buffer to clear.
///
///
///
///
/// Specify a particular draw buffer to clear.
///
///
///
///
/// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
///
///
///
///
/// The value to clear a depth render buffer to.
///
///
///
///
/// The value to clear a stencil render buffer to.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")]
public static
unsafe void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, Single* value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glClearBufferfv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Clear individual buffers of the currently bound draw framebuffer
///
///
///
/// Specify the buffer to clear.
///
///
///
///
/// Specify a particular draw buffer to clear.
///
///
///
///
/// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
///
///
///
///
/// The value to clear a depth render buffer to.
///
///
///
///
/// The value to clear a stencil render buffer to.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")]
public static
void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Single[] value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* value_ptr = value)
{
Delegates.glClearBufferfv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Clear individual buffers of the currently bound draw framebuffer
///
///
///
/// Specify the buffer to clear.
///
///
///
///
/// Specify a particular draw buffer to clear.
///
///
///
///
/// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
///
///
///
///
/// The value to clear a depth render buffer to.
///
///
///
///
/// The value to clear a stencil render buffer to.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")]
public static
void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, ref Single value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* value_ptr = &value)
{
Delegates.glClearBufferfv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Clear individual buffers of the currently bound draw framebuffer
///
///
///
/// Specify the buffer to clear.
///
///
///
///
/// Specify a particular draw buffer to clear.
///
///
///
///
/// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
///
///
///
///
/// The value to clear a depth render buffer to.
///
///
///
///
/// The value to clear a stencil render buffer to.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")]
public static
unsafe void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Single* value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glClearBufferfv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Clear individual buffers of the currently bound draw framebuffer
///
///
///
/// Specify the buffer to clear.
///
///
///
///
/// Specify a particular draw buffer to clear.
///
///
///
///
/// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
///
///
///
///
/// The value to clear a depth render buffer to.
///
///
///
///
/// The value to clear a stencil render buffer to.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")]
public static
void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, Int32[] value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* value_ptr = value)
{
Delegates.glClearBufferiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Clear individual buffers of the currently bound draw framebuffer
///
///
///
/// Specify the buffer to clear.
///
///
///
///
/// Specify a particular draw buffer to clear.
///
///
///
///
/// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
///
///
///
///
/// The value to clear a depth render buffer to.
///
///
///
///
/// The value to clear a stencil render buffer to.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")]
public static
void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, ref Int32 value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* value_ptr = &value)
{
Delegates.glClearBufferiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Clear individual buffers of the currently bound draw framebuffer
///
///
///
/// Specify the buffer to clear.
///
///
///
///
/// Specify a particular draw buffer to clear.
///
///
///
///
/// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
///
///
///
///
/// The value to clear a depth render buffer to.
///
///
///
///
/// The value to clear a stencil render buffer to.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")]
public static
unsafe void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, Int32* value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glClearBufferiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Clear individual buffers of the currently bound draw framebuffer
///
///
///
/// Specify the buffer to clear.
///
///
///
///
/// Specify a particular draw buffer to clear.
///
///
///
///
/// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
///
///
///
///
/// The value to clear a depth render buffer to.
///
///
///
///
/// The value to clear a stencil render buffer to.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")]
public static
void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Int32[] value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* value_ptr = value)
{
Delegates.glClearBufferiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Clear individual buffers of the currently bound draw framebuffer
///
///
///
/// Specify the buffer to clear.
///
///
///
///
/// Specify a particular draw buffer to clear.
///
///
///
///
/// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
///
///
///
///
/// The value to clear a depth render buffer to.
///
///
///
///
/// The value to clear a stencil render buffer to.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")]
public static
void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, ref Int32 value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* value_ptr = &value)
{
Delegates.glClearBufferiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Clear individual buffers of the currently bound draw framebuffer
///
///
///
/// Specify the buffer to clear.
///
///
///
///
/// Specify a particular draw buffer to clear.
///
///
///
///
/// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
///
///
///
///
/// The value to clear a depth render buffer to.
///
///
///
///
/// The value to clear a stencil render buffer to.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")]
public static
unsafe void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Int32* value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glClearBufferiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Clear individual buffers of the currently bound draw framebuffer
///
///
///
/// Specify the buffer to clear.
///
///
///
///
/// Specify a particular draw buffer to clear.
///
///
///
///
/// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
///
///
///
///
/// The value to clear a depth render buffer to.
///
///
///
///
/// The value to clear a stencil render buffer to.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")]
public static
void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, UInt32[] value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* value_ptr = value)
{
Delegates.glClearBufferuiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Clear individual buffers of the currently bound draw framebuffer
///
///
///
/// Specify the buffer to clear.
///
///
///
///
/// Specify a particular draw buffer to clear.
///
///
///
///
/// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
///
///
///
///
/// The value to clear a depth render buffer to.
///
///
///
///
/// The value to clear a stencil render buffer to.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")]
public static
void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, ref UInt32 value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* value_ptr = &value)
{
Delegates.glClearBufferuiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Clear individual buffers of the currently bound draw framebuffer
///
///
///
/// Specify the buffer to clear.
///
///
///
///
/// Specify a particular draw buffer to clear.
///
///
///
///
/// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
///
///
///
///
/// The value to clear a depth render buffer to.
///
///
///
///
/// The value to clear a stencil render buffer to.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")]
public static
unsafe void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, UInt32* value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glClearBufferuiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Clear individual buffers of the currently bound draw framebuffer
///
///
///
/// Specify the buffer to clear.
///
///
///
///
/// Specify a particular draw buffer to clear.
///
///
///
///
/// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
///
///
///
///
/// The value to clear a depth render buffer to.
///
///
///
///
/// The value to clear a stencil render buffer to.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")]
public static
void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, UInt32[] value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* value_ptr = value)
{
Delegates.glClearBufferuiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Clear individual buffers of the currently bound draw framebuffer
///
///
///
/// Specify the buffer to clear.
///
///
///
///
/// Specify a particular draw buffer to clear.
///
///
///
///
/// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
///
///
///
///
/// The value to clear a depth render buffer to.
///
///
///
///
/// The value to clear a stencil render buffer to.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")]
public static
void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, ref UInt32 value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* value_ptr = &value)
{
Delegates.glClearBufferuiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Clear individual buffers of the currently bound draw framebuffer
///
///
///
/// Specify the buffer to clear.
///
///
///
///
/// Specify a particular draw buffer to clear.
///
///
///
///
/// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
///
///
///
///
/// The value to clear a depth render buffer to.
///
///
///
///
/// The value to clear a stencil render buffer to.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")]
public static
unsafe void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, UInt32* value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glClearBufferuiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify clear values for the color buffers
///
///
///
/// Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClearColor")]
public static
void ClearColor(Single red, Single green, Single blue, Single alpha)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify the clear value for the depth buffer
///
///
///
/// Specifies the depth value used when the depth buffer is cleared. The initial value is 1.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClearDepthf")]
public static
void ClearDepth(Single d)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glClearDepthf((Single)d);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify the clear value for the stencil buffer
///
///
///
/// Specifies the index used when the stencil buffer is cleared. The initial value is 0.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClearStencil")]
public static
void ClearStencil(Int32 s)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glClearStencil((Int32)s);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Block and wait for a sync object to become signaled
///
///
///
/// The sync object whose status to wait on.
///
///
///
///
/// A bitfield controlling the command flushing behavior. flags may be GL_SYNC_FLUSH_COMMANDS_BIT.
///
///
///
///
/// The timeout, specified in nanoseconds, for which the implementation should wait for sync to become signaled.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClientWaitSync")]
public static
OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Block and wait for a sync object to become signaled
///
///
///
/// The sync object whose status to wait on.
///
///
///
///
/// A bitfield controlling the command flushing behavior. flags may be GL_SYNC_FLUSH_COMMANDS_BIT.
///
///
///
///
/// The timeout, specified in nanoseconds, for which the implementation should wait for sync to become signaled.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClientWaitSync")]
public static
OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, UInt64 timeout)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Block and wait for a sync object to become signaled
///
///
///
/// The sync object whose status to wait on.
///
///
///
///
/// A bitfield controlling the command flushing behavior. flags may be GL_SYNC_FLUSH_COMMANDS_BIT.
///
///
///
///
/// The timeout, specified in nanoseconds, for which the implementation should wait for sync to become signaled.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClientWaitSync")]
public static
OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, Int64 timeout)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Block and wait for a sync object to become signaled
///
///
///
/// The sync object whose status to wait on.
///
///
///
///
/// A bitfield controlling the command flushing behavior. flags may be GL_SYNC_FLUSH_COMMANDS_BIT.
///
///
///
///
/// The timeout, specified in nanoseconds, for which the implementation should wait for sync to become signaled.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClientWaitSync")]
public static
OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Enable and disable writing of frame buffer color components
///
///
///
/// For glColorMaski, specifies the index of the draw buffer whose color mask to set.
///
///
///
///
/// Specify whether red, green, blue, and alpha are to be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components are written.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glColorMask")]
public static
void ColorMask(bool red, bool green, bool blue, bool alpha)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Compiles a shader object
///
///
///
/// Specifies the shader object to be compiled.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")]
public static
void CompileShader(Int32 shader)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCompileShader((UInt32)shader);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Compiles a shader object
///
///
///
/// Specifies the shader object to be compiled.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")]
public static
void CompileShader(UInt32 shader)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCompileShader((UInt32)shader);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture image in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels high.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
public static
void CompressedTexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture image in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels high.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
public static
void CompressedTexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data)
where T7 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture image in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels high.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
public static
void CompressedTexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data)
where T7 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture image in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels high.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
public static
void CompressedTexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data)
where T7 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture image in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels high.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
public static
void CompressedTexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data)
where T7 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
data = (T7)data_ptr.Target;
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture image in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels high.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
public static
void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture image in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels high.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
public static
void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data)
where T7 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture image in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels high.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
public static
void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data)
where T7 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture image in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels high.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
public static
void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data)
where T7 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture image in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels high.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
public static
void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data)
where T7 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
data = (T7)data_ptr.Target;
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture image in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high.
///
///
///
///
/// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")]
public static
void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture image in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high.
///
///
///
///
/// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")]
public static
void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture image in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high.
///
///
///
///
/// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")]
public static
void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture image in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high.
///
///
///
///
/// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")]
public static
void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture image in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high.
///
///
///
///
/// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")]
public static
void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
data = (T8)data_ptr.Target;
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture image in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high.
///
///
///
///
/// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")]
public static
void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture image in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high.
///
///
///
///
/// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")]
public static
void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture image in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high.
///
///
///
///
/// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")]
public static
void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture image in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high.
///
///
///
///
/// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")]
public static
void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture image in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high.
///
///
///
///
/// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")]
public static
void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
data = (T8)data_ptr.Target;
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture subimage in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
public static
void CompressedTexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, Int32 imageSize, IntPtr data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture subimage in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
public static
void CompressedTexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture subimage in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
public static
void CompressedTexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture subimage in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
public static
void CompressedTexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture subimage in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
public static
void CompressedTexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
data = (T8)data_ptr.Target;
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture subimage in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
public static
void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture subimage in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
public static
void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture subimage in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
public static
void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture subimage in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
public static
void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture subimage in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
public static
void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
data = (T8)data_ptr.Target;
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture subimage in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the depth of the texture subimage.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")]
public static
void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, IntPtr data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture subimage in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the depth of the texture subimage.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")]
public static
void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data)
where T10 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture subimage in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the depth of the texture subimage.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")]
public static
void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data)
where T10 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture subimage in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the depth of the texture subimage.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")]
public static
void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data)
where T10 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture subimage in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the depth of the texture subimage.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")]
public static
void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data)
where T10 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
data = (T10)data_ptr.Target;
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture subimage in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the depth of the texture subimage.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")]
public static
void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture subimage in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the depth of the texture subimage.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")]
public static
void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data)
where T10 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture subimage in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the depth of the texture subimage.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")]
public static
void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data)
where T10 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture subimage in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the depth of the texture subimage.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")]
public static
void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data)
where T10 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture subimage in a compressed format
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the depth of the texture subimage.
///
///
///
///
/// Specifies the format of the compressed image data stored at address data.
///
///
///
///
/// Specifies the number of unsigned bytes of image data starting at the address specified by data.
///
///
///
///
/// Specifies a pointer to the compressed image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")]
public static
void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data)
where T10 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
data = (T10)data_ptr.Target;
}
finally
{
data_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Copy part of the data store of a buffer object to the data store of another buffer object
///
///
///
/// Specifies the target from whose data store data should be read.
///
///
///
///
/// Specifies the target to whose data store data should be written.
///
///
///
///
/// Specifies the offset, in basic machine units, within the data store of readtarget from which data should be read.
///
///
///
///
/// Specifies the offset, in basic machine units, within the data store of writetarget to which data should be written.
///
///
///
///
/// Specifies the size, in basic machine units, of the data to be copied from readtarget to writetarget.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCopyBufferSubData")]
public static
void CopyBufferSubData(OpenTK.Graphics.ES30.All readTarget, OpenTK.Graphics.ES30.All writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCopyBufferSubData((OpenTK.Graphics.ES30.BufferTarget)readTarget, (OpenTK.Graphics.ES30.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Copy part of the data store of a buffer object to the data store of another buffer object
///
///
///
/// Specifies the target from whose data store data should be read.
///
///
///
///
/// Specifies the target to whose data store data should be written.
///
///
///
///
/// Specifies the offset, in basic machine units, within the data store of readtarget from which data should be read.
///
///
///
///
/// Specifies the offset, in basic machine units, within the data store of writetarget to which data should be written.
///
///
///
///
/// Specifies the size, in basic machine units, of the data to be copied from readtarget to writetarget.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCopyBufferSubData")]
public static
void CopyBufferSubData(OpenTK.Graphics.ES30.BufferTarget readTarget, OpenTK.Graphics.ES30.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCopyBufferSubData((OpenTK.Graphics.ES30.BufferTarget)readTarget, (OpenTK.Graphics.ES30.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Copy pixels into a 2D texture image
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the internal format of the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA. GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA. GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_STENCIL_INDEX8, GL_RED, GL_RG, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8.
///
///
///
///
/// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.
///
///
///
///
/// Specifies the width of the texture image.
///
///
///
///
/// Specifies the height of the texture image.
///
///
///
///
/// Must be 0.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexImage2D")]
public static
void CopyTexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCopyTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureCopyComponentCount)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Copy pixels into a 2D texture image
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies the internal format of the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA. GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA. GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_STENCIL_INDEX8, GL_RED, GL_RG, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8.
///
///
///
///
/// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.
///
///
///
///
/// Specifies the width of the texture image.
///
///
///
///
/// Specifies the height of the texture image.
///
///
///
///
/// Must be 0.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexImage2D")]
public static
void CopyTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureCopyComponentCount internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCopyTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureCopyComponentCount)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Copy a two-dimensional texture subimage
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_TEXTURE_1D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexSubImage2D")]
public static
void CopyTexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Copy a two-dimensional texture subimage
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_TEXTURE_1D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexSubImage2D")]
public static
void CopyTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Copy a three-dimensional texture subimage
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D or GL_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the z direction within the texture array.
///
///
///
///
/// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCopyTexSubImage3D")]
public static
void CopyTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCopyTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Copy a three-dimensional texture subimage
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D or GL_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the z direction within the texture array.
///
///
///
///
/// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCopyTexSubImage3D")]
public static
void CopyTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCopyTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Creates a program object
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCreateProgram")]
public static
Int32 CreateProgram()
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glCreateProgram();
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Creates a shader object
///
///
///
/// Specifies the type of shader to be created. Must be one of GL_COMPUTE_SHADER, GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER, or GL_FRAGMENT_SHADER.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCreateShader")]
public static
Int32 CreateShader(OpenTK.Graphics.ES30.All type)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glCreateShader((OpenTK.Graphics.ES30.ShaderType)type);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Creates a shader object
///
///
///
/// Specifies the type of shader to be created. Must be one of GL_COMPUTE_SHADER, GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER, or GL_FRAGMENT_SHADER.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCreateShader")]
public static
Int32 CreateShader(OpenTK.Graphics.ES30.ShaderType type)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glCreateShader((OpenTK.Graphics.ES30.ShaderType)type);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify whether front- or back-facing facets can be culled
///
///
///
/// Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK are accepted. The initial value is GL_BACK.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCullFace")]
public static
void CullFace(OpenTK.Graphics.ES30.All mode)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCullFace((OpenTK.Graphics.ES30.CullFaceMode)mode);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify whether front- or back-facing facets can be culled
///
///
///
/// Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK are accepted. The initial value is GL_BACK.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCullFace")]
public static
void CullFace(OpenTK.Graphics.ES30.CullFaceMode mode)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCullFace((OpenTK.Graphics.ES30.CullFaceMode)mode);
#if DEBUG
}
#endif
}
///
/// Specify a callback to receive debugging messages from the GL
///
///
///
/// The address of a callback function that will be called when a debug message is generated.
///
///
///
///
/// A user supplied pointer that will be passed on each invocation of callback.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")]
public static
void DebugMessageCallback(DebugProc callback, IntPtr userParam)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam);
#if DEBUG
}
#endif
}
///
/// Specify a callback to receive debugging messages from the GL
///
///
///
/// The address of a callback function that will be called when a debug message is generated.
///
///
///
///
/// A user supplied pointer that will be passed on each invocation of callback.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")]
public static
void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[] userParam)
where T1 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned);
try
{
Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject());
}
finally
{
userParam_ptr.Free();
}
#if DEBUG
}
#endif
}
///
/// Specify a callback to receive debugging messages from the GL
///
///
///
/// The address of a callback function that will be called when a debug message is generated.
///
///
///
///
/// A user supplied pointer that will be passed on each invocation of callback.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")]
public static
void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[,] userParam)
where T1 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned);
try
{
Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject());
}
finally
{
userParam_ptr.Free();
}
#if DEBUG
}
#endif
}
///
/// Specify a callback to receive debugging messages from the GL
///
///
///
/// The address of a callback function that will be called when a debug message is generated.
///
///
///
///
/// A user supplied pointer that will be passed on each invocation of callback.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")]
public static
void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[,,] userParam)
where T1 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned);
try
{
Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject());
}
finally
{
userParam_ptr.Free();
}
#if DEBUG
}
#endif
}
///
/// Specify a callback to receive debugging messages from the GL
///
///
///
/// The address of a callback function that will be called when a debug message is generated.
///
///
///
///
/// A user supplied pointer that will be passed on each invocation of callback.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")]
public static
void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] ref T1 userParam)
where T1 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned);
try
{
Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject());
userParam = (T1)userParam_ptr.Target;
}
finally
{
userParam_ptr.Free();
}
#if DEBUG
}
#endif
}
///
/// Control the reporting of debug messages in a debug context
///
///
///
/// The source of debug messages to enable or disable.
///
///
///
///
/// The type of debug messages to enable or disable.
///
///
///
///
/// The severity of debug messages to enable or disable.
///
///
///
///
/// The length of the array ids.
///
///
///
///
/// The address of an array of unsigned integers contianing the ids of the messages to enable or disable.
///
///
///
///
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
public static
void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, Int32[] ids, bool enabled)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* ids_ptr = ids)
{
Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled);
}
}
#if DEBUG
}
#endif
}
///
/// Control the reporting of debug messages in a debug context
///
///
///
/// The source of debug messages to enable or disable.
///
///
///
///
/// The type of debug messages to enable or disable.
///
///
///
///
/// The severity of debug messages to enable or disable.
///
///
///
///
/// The length of the array ids.
///
///
///
///
/// The address of an array of unsigned integers contianing the ids of the messages to enable or disable.
///
///
///
///
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
public static
void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, ref Int32 ids, bool enabled)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* ids_ptr = &ids)
{
Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled);
}
}
#if DEBUG
}
#endif
}
///
/// Control the reporting of debug messages in a debug context
///
///
///
/// The source of debug messages to enable or disable.
///
///
///
///
/// The type of debug messages to enable or disable.
///
///
///
///
/// The severity of debug messages to enable or disable.
///
///
///
///
/// The length of the array ids.
///
///
///
///
/// The address of an array of unsigned integers contianing the ids of the messages to enable or disable.
///
///
///
///
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
public static
unsafe void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, Int32* ids, bool enabled)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled);
#if DEBUG
}
#endif
}
///
/// Control the reporting of debug messages in a debug context
///
///
///
/// The source of debug messages to enable or disable.
///
///
///
///
/// The type of debug messages to enable or disable.
///
///
///
///
/// The severity of debug messages to enable or disable.
///
///
///
///
/// The length of the array ids.
///
///
///
///
/// The address of an array of unsigned integers contianing the ids of the messages to enable or disable.
///
///
///
///
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
public static
void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, UInt32[] ids, bool enabled)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* ids_ptr = ids)
{
Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled);
}
}
#if DEBUG
}
#endif
}
///
/// Control the reporting of debug messages in a debug context
///
///
///
/// The source of debug messages to enable or disable.
///
///
///
///
/// The type of debug messages to enable or disable.
///
///
///
///
/// The severity of debug messages to enable or disable.
///
///
///
///
/// The length of the array ids.
///
///
///
///
/// The address of an array of unsigned integers contianing the ids of the messages to enable or disable.
///
///
///
///
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
public static
void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, ref UInt32 ids, bool enabled)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* ids_ptr = &ids)
{
Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled);
}
}
#if DEBUG
}
#endif
}
///
/// Control the reporting of debug messages in a debug context
///
///
///
/// The source of debug messages to enable or disable.
///
///
///
///
/// The type of debug messages to enable or disable.
///
///
///
///
/// The severity of debug messages to enable or disable.
///
///
///
///
/// The length of the array ids.
///
///
///
///
/// The address of an array of unsigned integers contianing the ids of the messages to enable or disable.
///
///
///
///
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
public static
unsafe void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, UInt32* ids, bool enabled)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled);
#if DEBUG
}
#endif
}
///
/// Control the reporting of debug messages in a debug context
///
///
///
/// The source of debug messages to enable or disable.
///
///
///
///
/// The type of debug messages to enable or disable.
///
///
///
///
/// The severity of debug messages to enable or disable.
///
///
///
///
/// The length of the array ids.
///
///
///
///
/// The address of an array of unsigned integers contianing the ids of the messages to enable or disable.
///
///
///
///
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
public static
void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, Int32[] ids, bool enabled)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* ids_ptr = ids)
{
Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled);
}
}
#if DEBUG
}
#endif
}
///
/// Control the reporting of debug messages in a debug context
///
///
///
/// The source of debug messages to enable or disable.
///
///
///
///
/// The type of debug messages to enable or disable.
///
///
///
///
/// The severity of debug messages to enable or disable.
///
///
///
///
/// The length of the array ids.
///
///
///
///
/// The address of an array of unsigned integers contianing the ids of the messages to enable or disable.
///
///
///
///
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
public static
void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, ref Int32 ids, bool enabled)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* ids_ptr = &ids)
{
Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled);
}
}
#if DEBUG
}
#endif
}
///
/// Control the reporting of debug messages in a debug context
///
///
///
/// The source of debug messages to enable or disable.
///
///
///
///
/// The type of debug messages to enable or disable.
///
///
///
///
/// The severity of debug messages to enable or disable.
///
///
///
///
/// The length of the array ids.
///
///
///
///
/// The address of an array of unsigned integers contianing the ids of the messages to enable or disable.
///
///
///
///
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
public static
unsafe void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, Int32* ids, bool enabled)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled);
#if DEBUG
}
#endif
}
///
/// Control the reporting of debug messages in a debug context
///
///
///
/// The source of debug messages to enable or disable.
///
///
///
///
/// The type of debug messages to enable or disable.
///
///
///
///
/// The severity of debug messages to enable or disable.
///
///
///
///
/// The length of the array ids.
///
///
///
///
/// The address of an array of unsigned integers contianing the ids of the messages to enable or disable.
///
///
///
///
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
public static
void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, UInt32[] ids, bool enabled)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* ids_ptr = ids)
{
Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled);
}
}
#if DEBUG
}
#endif
}
///
/// Control the reporting of debug messages in a debug context
///
///
///
/// The source of debug messages to enable or disable.
///
///
///
///
/// The type of debug messages to enable or disable.
///
///
///
///
/// The severity of debug messages to enable or disable.
///
///
///
///
/// The length of the array ids.
///
///
///
///
/// The address of an array of unsigned integers contianing the ids of the messages to enable or disable.
///
///
///
///
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
public static
void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, ref UInt32 ids, bool enabled)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* ids_ptr = &ids)
{
Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled);
}
}
#if DEBUG
}
#endif
}
///
/// Control the reporting of debug messages in a debug context
///
///
///
/// The source of debug messages to enable or disable.
///
///
///
///
/// The type of debug messages to enable or disable.
///
///
///
///
/// The severity of debug messages to enable or disable.
///
///
///
///
/// The length of the array ids.
///
///
///
///
/// The address of an array of unsigned integers contianing the ids of the messages to enable or disable.
///
///
///
///
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
public static
unsafe void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled);
#if DEBUG
}
#endif
}
///
/// Inject an application-supplied message into the debug message queue
///
///
///
/// The source of the debug message to insert.
///
///
///
///
/// The type of the debug message insert.
///
///
///
///
/// The user-supplied identifier of the message to insert.
///
///
///
///
/// The severity of the debug messages to insert.
///
///
///
///
/// The length string contained in the character array whose address is given by message.
///
///
///
///
/// The address of a character array containing the message to insert.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")]
public static
void DebugMessageInsert(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, Int32 id, OpenTK.Graphics.ES30.All severity, Int32 length, String buf)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDebugMessageInsert((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf);
#if DEBUG
}
#endif
}
///
/// Inject an application-supplied message into the debug message queue
///
///
///
/// The source of the debug message to insert.
///
///
///
///
/// The type of the debug message insert.
///
///
///
///
/// The user-supplied identifier of the message to insert.
///
///
///
///
/// The severity of the debug messages to insert.
///
///
///
///
/// The length string contained in the character array whose address is given by message.
///
///
///
///
/// The address of a character array containing the message to insert.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")]
public static
void DebugMessageInsert(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, UInt32 id, OpenTK.Graphics.ES30.All severity, Int32 length, String buf)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDebugMessageInsert((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf);
#if DEBUG
}
#endif
}
///
/// Inject an application-supplied message into the debug message queue
///
///
///
/// The source of the debug message to insert.
///
///
///
///
/// The type of the debug message insert.
///
///
///
///
/// The user-supplied identifier of the message to insert.
///
///
///
///
/// The severity of the debug messages to insert.
///
///
///
///
/// The length string contained in the character array whose address is given by message.
///
///
///
///
/// The address of a character array containing the message to insert.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")]
public static
void DebugMessageInsert(OpenTK.Graphics.ES30.DebugSourceExternal source, OpenTK.Graphics.ES30.DebugType type, Int32 id, OpenTK.Graphics.ES30.DebugSeverity severity, Int32 length, String buf)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDebugMessageInsert((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf);
#if DEBUG
}
#endif
}
///
/// Inject an application-supplied message into the debug message queue
///
///
///
/// The source of the debug message to insert.
///
///
///
///
/// The type of the debug message insert.
///
///
///
///
/// The user-supplied identifier of the message to insert.
///
///
///
///
/// The severity of the debug messages to insert.
///
///
///
///
/// The length string contained in the character array whose address is given by message.
///
///
///
///
/// The address of a character array containing the message to insert.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")]
public static
void DebugMessageInsert(OpenTK.Graphics.ES30.DebugSourceExternal source, OpenTK.Graphics.ES30.DebugType type, UInt32 id, OpenTK.Graphics.ES30.DebugSeverity severity, Int32 length, String buf)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDebugMessageInsert((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete named buffer objects
///
///
///
/// Specifies the number of buffer objects to be deleted.
///
///
///
///
/// Specifies an array of buffer objects to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
public static
void DeleteBuffer(Int32 buffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
UInt32* buffers_ptr = (UInt32*)&buffers;
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete named buffer objects
///
///
///
/// Specifies the number of buffer objects to be deleted.
///
///
///
///
/// Specifies an array of buffer objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
public static
void DeleteBuffer(UInt32 buffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
UInt32* buffers_ptr = (UInt32*)&buffers;
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete named buffer objects
///
///
///
/// Specifies the number of buffer objects to be deleted.
///
///
///
///
/// Specifies an array of buffer objects to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
public static
void DeleteBuffers(Int32 n, Int32[] buffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* buffers_ptr = buffers)
{
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete named buffer objects
///
///
///
/// Specifies the number of buffer objects to be deleted.
///
///
///
///
/// Specifies an array of buffer objects to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
public static
void DeleteBuffers(Int32 n, ref Int32 buffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* buffers_ptr = &buffers)
{
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete named buffer objects
///
///
///
/// Specifies the number of buffer objects to be deleted.
///
///
///
///
/// Specifies an array of buffer objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
public static
unsafe void DeleteBuffers(Int32 n, Int32* buffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete named buffer objects
///
///
///
/// Specifies the number of buffer objects to be deleted.
///
///
///
///
/// Specifies an array of buffer objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
public static
void DeleteBuffers(Int32 n, UInt32[] buffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* buffers_ptr = buffers)
{
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete named buffer objects
///
///
///
/// Specifies the number of buffer objects to be deleted.
///
///
///
///
/// Specifies an array of buffer objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
public static
void DeleteBuffers(Int32 n, ref UInt32 buffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* buffers_ptr = &buffers)
{
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete named buffer objects
///
///
///
/// Specifies the number of buffer objects to be deleted.
///
///
///
///
/// Specifies an array of buffer objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
public static
unsafe void DeleteBuffers(Int32 n, UInt32* buffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete framebuffer objects
///
///
///
/// Specifies the number of framebuffer objects to be deleted.
///
///
///
///
/// A pointer to an array containing n framebuffer objects to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
public static
void DeleteFramebuffer(Int32 framebuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
UInt32* framebuffers_ptr = (UInt32*)&framebuffers;
Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete framebuffer objects
///
///
///
/// Specifies the number of framebuffer objects to be deleted.
///
///
///
///
/// A pointer to an array containing n framebuffer objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
public static
void DeleteFramebuffer(UInt32 framebuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
UInt32* framebuffers_ptr = (UInt32*)&framebuffers;
Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete framebuffer objects
///
///
///
/// Specifies the number of framebuffer objects to be deleted.
///
///
///
///
/// A pointer to an array containing n framebuffer objects to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
public static
void DeleteFramebuffers(Int32 n, Int32[] framebuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* framebuffers_ptr = framebuffers)
{
Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete framebuffer objects
///
///
///
/// Specifies the number of framebuffer objects to be deleted.
///
///
///
///
/// A pointer to an array containing n framebuffer objects to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
public static
void DeleteFramebuffers(Int32 n, ref Int32 framebuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* framebuffers_ptr = &framebuffers)
{
Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete framebuffer objects
///
///
///
/// Specifies the number of framebuffer objects to be deleted.
///
///
///
///
/// A pointer to an array containing n framebuffer objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
public static
unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete framebuffer objects
///
///
///
/// Specifies the number of framebuffer objects to be deleted.
///
///
///
///
/// A pointer to an array containing n framebuffer objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
public static
void DeleteFramebuffers(Int32 n, UInt32[] framebuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* framebuffers_ptr = framebuffers)
{
Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete framebuffer objects
///
///
///
/// Specifies the number of framebuffer objects to be deleted.
///
///
///
///
/// A pointer to an array containing n framebuffer objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
public static
void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* framebuffers_ptr = &framebuffers)
{
Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete framebuffer objects
///
///
///
/// Specifies the number of framebuffer objects to be deleted.
///
///
///
///
/// A pointer to an array containing n framebuffer objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
public static
unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Deletes a program object
///
///
///
/// Specifies the program object to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")]
public static
void DeleteProgram(Int32 program)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteProgram((UInt32)program);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Deletes a program object
///
///
///
/// Specifies the program object to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")]
public static
void DeleteProgram(UInt32 program)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteProgram((UInt32)program);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete named query objects
///
///
///
/// Specifies the number of query objects to be deleted.
///
///
///
///
/// Specifies an array of query objects to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")]
public static
void DeleteQuery(Int32 ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
UInt32* ids_ptr = (UInt32*)&ids;
Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete named query objects
///
///
///
/// Specifies the number of query objects to be deleted.
///
///
///
///
/// Specifies an array of query objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")]
public static
void DeleteQuery(UInt32 ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
UInt32* ids_ptr = (UInt32*)&ids;
Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete named query objects
///
///
///
/// Specifies the number of query objects to be deleted.
///
///
///
///
/// Specifies an array of query objects to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")]
public static
void DeleteQueries(Int32 n, Int32[] ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* ids_ptr = ids)
{
Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete named query objects
///
///
///
/// Specifies the number of query objects to be deleted.
///
///
///
///
/// Specifies an array of query objects to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")]
public static
void DeleteQueries(Int32 n, ref Int32 ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* ids_ptr = &ids)
{
Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete named query objects
///
///
///
/// Specifies the number of query objects to be deleted.
///
///
///
///
/// Specifies an array of query objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")]
public static
unsafe void DeleteQueries(Int32 n, Int32* ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteQueries((Int32)n, (UInt32*)ids);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete named query objects
///
///
///
/// Specifies the number of query objects to be deleted.
///
///
///
///
/// Specifies an array of query objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")]
public static
void DeleteQueries(Int32 n, UInt32[] ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* ids_ptr = ids)
{
Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete named query objects
///
///
///
/// Specifies the number of query objects to be deleted.
///
///
///
///
/// Specifies an array of query objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")]
public static
void DeleteQueries(Int32 n, ref UInt32 ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* ids_ptr = &ids)
{
Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete named query objects
///
///
///
/// Specifies the number of query objects to be deleted.
///
///
///
///
/// Specifies an array of query objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")]
public static
unsafe void DeleteQueries(Int32 n, UInt32* ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteQueries((Int32)n, (UInt32*)ids);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete renderbuffer objects
///
///
///
/// Specifies the number of renderbuffer objects to be deleted.
///
///
///
///
/// A pointer to an array containing n renderbuffer objects to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
public static
void DeleteRenderbuffer(Int32 renderbuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers;
Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete renderbuffer objects
///
///
///
/// Specifies the number of renderbuffer objects to be deleted.
///
///
///
///
/// A pointer to an array containing n renderbuffer objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
public static
void DeleteRenderbuffer(UInt32 renderbuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers;
Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete renderbuffer objects
///
///
///
/// Specifies the number of renderbuffer objects to be deleted.
///
///
///
///
/// A pointer to an array containing n renderbuffer objects to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
public static
void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* renderbuffers_ptr = renderbuffers)
{
Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete renderbuffer objects
///
///
///
/// Specifies the number of renderbuffer objects to be deleted.
///
///
///
///
/// A pointer to an array containing n renderbuffer objects to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
public static
void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* renderbuffers_ptr = &renderbuffers)
{
Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete renderbuffer objects
///
///
///
/// Specifies the number of renderbuffer objects to be deleted.
///
///
///
///
/// A pointer to an array containing n renderbuffer objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
public static
unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete renderbuffer objects
///
///
///
/// Specifies the number of renderbuffer objects to be deleted.
///
///
///
///
/// A pointer to an array containing n renderbuffer objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
public static
void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* renderbuffers_ptr = renderbuffers)
{
Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete renderbuffer objects
///
///
///
/// Specifies the number of renderbuffer objects to be deleted.
///
///
///
///
/// A pointer to an array containing n renderbuffer objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
public static
void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* renderbuffers_ptr = &renderbuffers)
{
Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete renderbuffer objects
///
///
///
/// Specifies the number of renderbuffer objects to be deleted.
///
///
///
///
/// A pointer to an array containing n renderbuffer objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
public static
unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete named sampler objects
///
///
///
/// Specifies the number of sampler objects to be deleted.
///
///
///
///
/// Specifies an array of sampler objects to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")]
public static
void DeleteSampler(Int32 samplers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 count = 1;
UInt32* samplers_ptr = (UInt32*)&samplers;
Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr);
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete named sampler objects
///
///
///
/// Specifies the number of sampler objects to be deleted.
///
///
///
///
/// Specifies an array of sampler objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")]
public static
void DeleteSampler(UInt32 samplers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 count = 1;
UInt32* samplers_ptr = (UInt32*)&samplers;
Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr);
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete named sampler objects
///
///
///
/// Specifies the number of sampler objects to be deleted.
///
///
///
///
/// Specifies an array of sampler objects to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")]
public static
void DeleteSamplers(Int32 count, Int32[] samplers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* samplers_ptr = samplers)
{
Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete named sampler objects
///
///
///
/// Specifies the number of sampler objects to be deleted.
///
///
///
///
/// Specifies an array of sampler objects to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")]
public static
void DeleteSamplers(Int32 count, ref Int32 samplers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* samplers_ptr = &samplers)
{
Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete named sampler objects
///
///
///
/// Specifies the number of sampler objects to be deleted.
///
///
///
///
/// Specifies an array of sampler objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")]
public static
unsafe void DeleteSamplers(Int32 count, Int32* samplers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete named sampler objects
///
///
///
/// Specifies the number of sampler objects to be deleted.
///
///
///
///
/// Specifies an array of sampler objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")]
public static
void DeleteSamplers(Int32 count, UInt32[] samplers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* samplers_ptr = samplers)
{
Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete named sampler objects
///
///
///
/// Specifies the number of sampler objects to be deleted.
///
///
///
///
/// Specifies an array of sampler objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")]
public static
void DeleteSamplers(Int32 count, ref UInt32 samplers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* samplers_ptr = &samplers)
{
Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete named sampler objects
///
///
///
/// Specifies the number of sampler objects to be deleted.
///
///
///
///
/// Specifies an array of sampler objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")]
public static
unsafe void DeleteSamplers(Int32 count, UInt32* samplers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Deletes a shader object
///
///
///
/// Specifies the shader object to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")]
public static
void DeleteShader(Int32 shader)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteShader((UInt32)shader);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Deletes a shader object
///
///
///
/// Specifies the shader object to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")]
public static
void DeleteShader(UInt32 shader)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteShader((UInt32)shader);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete a sync object
///
///
///
/// The sync object to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSync")]
public static
void DeleteSync(IntPtr sync)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteSync((IntPtr)sync);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete named textures
///
///
///
/// Specifies the number of textures to be deleted.
///
///
///
///
/// Specifies an array of textures to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")]
public static
void DeleteTexture(Int32 textures)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
UInt32* textures_ptr = (UInt32*)&textures;
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete named textures
///
///
///
/// Specifies the number of textures to be deleted.
///
///
///
///
/// Specifies an array of textures to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")]
public static
void DeleteTexture(UInt32 textures)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
UInt32* textures_ptr = (UInt32*)&textures;
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete named textures
///
///
///
/// Specifies the number of textures to be deleted.
///
///
///
///
/// Specifies an array of textures to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")]
public static
void DeleteTextures(Int32 n, Int32[] textures)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* textures_ptr = textures)
{
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete named textures
///
///
///
/// Specifies the number of textures to be deleted.
///
///
///
///
/// Specifies an array of textures to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")]
public static
void DeleteTextures(Int32 n, ref Int32 textures)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* textures_ptr = &textures)
{
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete named textures
///
///
///
/// Specifies the number of textures to be deleted.
///
///
///
///
/// Specifies an array of textures to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")]
public static
unsafe void DeleteTextures(Int32 n, Int32* textures)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete named textures
///
///
///
/// Specifies the number of textures to be deleted.
///
///
///
///
/// Specifies an array of textures to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")]
public static
void DeleteTextures(Int32 n, UInt32[] textures)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* textures_ptr = textures)
{
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete named textures
///
///
///
/// Specifies the number of textures to be deleted.
///
///
///
///
/// Specifies an array of textures to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")]
public static
void DeleteTextures(Int32 n, ref UInt32 textures)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* textures_ptr = &textures)
{
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Delete named textures
///
///
///
/// Specifies the number of textures to be deleted.
///
///
///
///
/// Specifies an array of textures to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")]
public static
unsafe void DeleteTextures(Int32 n, UInt32* textures)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete transform feedback objects
///
///
///
/// Specifies the number of transform feedback objects to delete.
///
///
///
///
/// Specifies an array of names of transform feedback objects to delete.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")]
public static
void DeleteTransformFeedback(Int32 ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
UInt32* ids_ptr = (UInt32*)&ids;
Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr);
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete transform feedback objects
///
///
///
/// Specifies the number of transform feedback objects to delete.
///
///
///
///
/// Specifies an array of names of transform feedback objects to delete.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")]
public static
void DeleteTransformFeedback(UInt32 ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
UInt32* ids_ptr = (UInt32*)&ids;
Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr);
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete transform feedback objects
///
///
///
/// Specifies the number of transform feedback objects to delete.
///
///
///
///
/// Specifies an array of names of transform feedback objects to delete.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")]
public static
void DeleteTransformFeedbacks(Int32 n, Int32[] ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* ids_ptr = ids)
{
Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete transform feedback objects
///
///
///
/// Specifies the number of transform feedback objects to delete.
///
///
///
///
/// Specifies an array of names of transform feedback objects to delete.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")]
public static
void DeleteTransformFeedbacks(Int32 n, ref Int32 ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* ids_ptr = &ids)
{
Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete transform feedback objects
///
///
///
/// Specifies the number of transform feedback objects to delete.
///
///
///
///
/// Specifies an array of names of transform feedback objects to delete.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")]
public static
unsafe void DeleteTransformFeedbacks(Int32 n, Int32* ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete transform feedback objects
///
///
///
/// Specifies the number of transform feedback objects to delete.
///
///
///
///
/// Specifies an array of names of transform feedback objects to delete.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")]
public static
void DeleteTransformFeedbacks(Int32 n, UInt32[] ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* ids_ptr = ids)
{
Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete transform feedback objects
///
///
///
/// Specifies the number of transform feedback objects to delete.
///
///
///
///
/// Specifies an array of names of transform feedback objects to delete.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")]
public static
void DeleteTransformFeedbacks(Int32 n, ref UInt32 ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* ids_ptr = &ids)
{
Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete transform feedback objects
///
///
///
/// Specifies the number of transform feedback objects to delete.
///
///
///
///
/// Specifies an array of names of transform feedback objects to delete.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")]
public static
unsafe void DeleteTransformFeedbacks(Int32 n, UInt32* ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete vertex array objects
///
///
///
/// Specifies the number of vertex array objects to be deleted.
///
///
///
///
/// Specifies the address of an array containing the n names of the objects to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")]
public static
void DeleteVertexArray(Int32 arrays)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
UInt32* arrays_ptr = (UInt32*)&arrays;
Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr);
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete vertex array objects
///
///
///
/// Specifies the number of vertex array objects to be deleted.
///
///
///
///
/// Specifies the address of an array containing the n names of the objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")]
public static
void DeleteVertexArray(UInt32 arrays)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
UInt32* arrays_ptr = (UInt32*)&arrays;
Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr);
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete vertex array objects
///
///
///
/// Specifies the number of vertex array objects to be deleted.
///
///
///
///
/// Specifies the address of an array containing the n names of the objects to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")]
public static
void DeleteVertexArrays(Int32 n, Int32[] arrays)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* arrays_ptr = arrays)
{
Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete vertex array objects
///
///
///
/// Specifies the number of vertex array objects to be deleted.
///
///
///
///
/// Specifies the address of an array containing the n names of the objects to be deleted.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")]
public static
void DeleteVertexArrays(Int32 n, ref Int32 arrays)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* arrays_ptr = &arrays)
{
Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete vertex array objects
///
///
///
/// Specifies the number of vertex array objects to be deleted.
///
///
///
///
/// Specifies the address of an array containing the n names of the objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")]
public static
unsafe void DeleteVertexArrays(Int32 n, Int32* arrays)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete vertex array objects
///
///
///
/// Specifies the number of vertex array objects to be deleted.
///
///
///
///
/// Specifies the address of an array containing the n names of the objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")]
public static
void DeleteVertexArrays(Int32 n, UInt32[] arrays)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* arrays_ptr = arrays)
{
Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete vertex array objects
///
///
///
/// Specifies the number of vertex array objects to be deleted.
///
///
///
///
/// Specifies the address of an array containing the n names of the objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")]
public static
void DeleteVertexArrays(Int32 n, ref UInt32 arrays)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* arrays_ptr = &arrays)
{
Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Delete vertex array objects
///
///
///
/// Specifies the number of vertex array objects to be deleted.
///
///
///
///
/// Specifies the address of an array containing the n names of the objects to be deleted.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")]
public static
unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify the value used for depth buffer comparisons
///
///
///
/// Specifies the depth comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_LESS.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthFunc")]
public static
void DepthFunc(OpenTK.Graphics.ES30.All func)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDepthFunc((OpenTK.Graphics.ES30.DepthFunction)func);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify the value used for depth buffer comparisons
///
///
///
/// Specifies the depth comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_LESS.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthFunc")]
public static
void DepthFunc(OpenTK.Graphics.ES30.DepthFunction func)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDepthFunc((OpenTK.Graphics.ES30.DepthFunction)func);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Enable or disable writing into the depth buffer
///
///
///
/// Specifies whether the depth buffer is enabled for writing. If flag is GL_FALSE, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthMask")]
public static
void DepthMask(bool flag)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDepthMask((bool)flag);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify mapping of depth values from normalized device coordinates to window coordinates
///
///
///
/// Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0.
///
///
///
///
/// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthRangef")]
public static
void DepthRange(Single n, Single f)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDepthRangef((Single)n, (Single)f);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Detaches a shader object from a program object to which it is attached
///
///
///
/// Specifies the program object from which to detach the shader object.
///
///
///
///
/// Specifies the shader object to be detached.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")]
public static
void DetachShader(Int32 program, Int32 shader)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDetachShader((UInt32)program, (UInt32)shader);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Detaches a shader object from a program object to which it is attached
///
///
///
/// Specifies the program object from which to detach the shader object.
///
///
///
///
/// Specifies the shader object to be detached.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")]
public static
void DetachShader(UInt32 program, UInt32 shader)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDetachShader((UInt32)program, (UInt32)shader);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisable")]
public static
void Disable(OpenTK.Graphics.ES30.All cap)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDisable((OpenTK.Graphics.ES30.EnableCap)cap);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisable")]
public static
void Disable(OpenTK.Graphics.ES30.EnableCap cap)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDisable((OpenTK.Graphics.ES30.EnableCap)cap);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")]
public static
void DisableVertexAttribArray(Int32 index)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDisableVertexAttribArray((UInt32)index);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")]
public static
void DisableVertexAttribArray(UInt32 index)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDisableVertexAttribArray((UInt32)index);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the starting index in the enabled arrays.
///
///
///
///
/// Specifies the number of indices to be rendered.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawArrays")]
public static
void DrawArrays(OpenTK.Graphics.ES30.All mode, Int32 first, Int32 count)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawArrays((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the starting index in the enabled arrays.
///
///
///
///
/// Specifies the number of indices to be rendered.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawArrays")]
public static
void DrawArrays(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawArrays((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Draw multiple instances of a range of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the starting index in the enabled arrays.
///
///
///
///
/// Specifies the number of indices to be rendered.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawArraysInstanced")]
public static
void DrawArraysInstanced(OpenTK.Graphics.ES30.All mode, Int32 first, Int32 count, Int32 instancecount)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawArraysInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Draw multiple instances of a range of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the starting index in the enabled arrays.
///
///
///
///
/// Specifies the number of indices to be rendered.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawArraysInstanced")]
public static
void DrawArraysInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawArraysInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specifies a list of color buffers to be drawn into
///
///
///
/// Specifies the number of buffers in bufs.
///
///
///
///
/// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawBuffers")]
public static
void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.All[] bufs)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (OpenTK.Graphics.ES30.All* bufs_ptr = bufs)
{
Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specifies a list of color buffers to be drawn into
///
///
///
/// Specifies the number of buffers in bufs.
///
///
///
///
/// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawBuffers")]
public static
void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES30.All bufs)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (OpenTK.Graphics.ES30.All* bufs_ptr = &bufs)
{
Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specifies a list of color buffers to be drawn into
///
///
///
/// Specifies the number of buffers in bufs.
///
///
///
///
/// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawBuffers")]
public static
unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.All* bufs)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specifies a list of color buffers to be drawn into
///
///
///
/// Specifies the number of buffers in bufs.
///
///
///
///
/// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawBuffers")]
public static
void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode[] bufs)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (OpenTK.Graphics.ES30.DrawBufferMode* bufs_ptr = bufs)
{
Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specifies a list of color buffers to be drawn into
///
///
///
/// Specifies the number of buffers in bufs.
///
///
///
///
/// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawBuffers")]
public static
void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES30.DrawBufferMode bufs)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (OpenTK.Graphics.ES30.DrawBufferMode* bufs_ptr = &bufs)
{
Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specifies a list of color buffers to be drawn into
///
///
///
/// Specifies the number of buffers in bufs.
///
///
///
///
/// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawBuffers")]
public static
unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
public static
void DrawElements(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
public static
void DrawElements(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[] indices)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
public static
void DrawElements(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,] indices)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
public static
void DrawElements(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,,] indices)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
public static
void DrawElements(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T3 indices)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
indices = (T3)indices_ptr.Target;
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
public static
void DrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
public static
void DrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
public static
void DrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
public static
void DrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
public static
void DrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
indices = (T3)indices_ptr.Target;
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Draw multiple instances of a set of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")]
public static
void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices, Int32 instancecount)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Draw multiple instances of a set of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")]
public static
void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount);
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Draw multiple instances of a set of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")]
public static
void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount);
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Draw multiple instances of a set of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")]
public static
void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount);
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Draw multiple instances of a set of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")]
public static
void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount);
indices = (T3)indices_ptr.Target;
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Draw multiple instances of a set of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")]
public static
void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 instancecount)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Draw multiple instances of a set of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")]
public static
void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount);
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Draw multiple instances of a set of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")]
public static
void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount);
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Draw multiple instances of a set of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")]
public static
void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount);
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Draw multiple instances of a set of elements
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
///
///
/// Specifies the number of instances of the specified range of indices to be rendered.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")]
public static
void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount);
indices = (T3)indices_ptr.Target;
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the minimum array index contained in indices.
///
///
///
///
/// Specifies the maximum array index contained in indices.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the minimum array index contained in indices.
///
///
///
///
/// Specifies the maximum array index contained in indices.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[] indices)
where T5 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the minimum array index contained in indices.
///
///
///
///
/// Specifies the maximum array index contained in indices.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[,] indices)
where T5 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the minimum array index contained in indices.
///
///
///
///
/// Specifies the maximum array index contained in indices.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[,,] indices)
where T5 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the minimum array index contained in indices.
///
///
///
///
/// Specifies the maximum array index contained in indices.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T5 indices)
where T5 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
indices = (T5)indices_ptr.Target;
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the minimum array index contained in indices.
///
///
///
///
/// Specifies the maximum array index contained in indices.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.ES30.All mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the minimum array index contained in indices.
///
///
///
///
/// Specifies the maximum array index contained in indices.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.ES30.All mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[] indices)
where T5 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the minimum array index contained in indices.
///
///
///
///
/// Specifies the maximum array index contained in indices.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.ES30.All mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[,] indices)
where T5 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the minimum array index contained in indices.
///
///
///
///
/// Specifies the maximum array index contained in indices.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.ES30.All mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[,,] indices)
where T5 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the minimum array index contained in indices.
///
///
///
///
/// Specifies the maximum array index contained in indices.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.ES30.All mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T5 indices)
where T5 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
indices = (T5)indices_ptr.Target;
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the minimum array index contained in indices.
///
///
///
///
/// Specifies the maximum array index contained in indices.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the minimum array index contained in indices.
///
///
///
///
/// Specifies the maximum array index contained in indices.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices)
where T5 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the minimum array index contained in indices.
///
///
///
///
/// Specifies the maximum array index contained in indices.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices)
where T5 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the minimum array index contained in indices.
///
///
///
///
/// Specifies the maximum array index contained in indices.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices)
where T5 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the minimum array index contained in indices.
///
///
///
///
/// Specifies the maximum array index contained in indices.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices)
where T5 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
indices = (T5)indices_ptr.Target;
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the minimum array index contained in indices.
///
///
///
///
/// Specifies the maximum array index contained in indices.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the minimum array index contained in indices.
///
///
///
///
/// Specifies the maximum array index contained in indices.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices)
where T5 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the minimum array index contained in indices.
///
///
///
///
/// Specifies the maximum array index contained in indices.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices)
where T5 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the minimum array index contained in indices.
///
///
///
///
/// Specifies the maximum array index contained in indices.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices)
where T5 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Render primitives from array data
///
///
///
/// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
///
///
///
///
/// Specifies the minimum array index contained in indices.
///
///
///
///
/// Specifies the maximum array index contained in indices.
///
///
///
///
/// Specifies the number of elements to be rendered.
///
///
///
///
/// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
///
///
///
///
/// Specifies a pointer to the location where the indices are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices)
where T5 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
indices = (T5)indices_ptr.Target;
}
finally
{
indices_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Enable or disable server-side GL capabilities
///
///
///
/// Specifies a symbolic constant indicating a GL capability.
///
///
///
///
/// Specifies the index of the switch to disable (for glEnablei and glDisablei only).
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnable")]
public static
void Enable(OpenTK.Graphics.ES30.All cap)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glEnable((OpenTK.Graphics.ES30.EnableCap)cap);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Enable or disable server-side GL capabilities
///
///
///
/// Specifies a symbolic constant indicating a GL capability.
///
///
///
///
/// Specifies the index of the switch to disable (for glEnablei and glDisablei only).
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnable")]
public static
void Enable(OpenTK.Graphics.ES30.EnableCap cap)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glEnable((OpenTK.Graphics.ES30.EnableCap)cap);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Enable or disable a generic vertex attribute array
///
///
///
/// Specifies the index of the generic vertex attribute to be enabled or disabled.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")]
public static
void EnableVertexAttribArray(Int32 index)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glEnableVertexAttribArray((UInt32)index);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Enable or disable a generic vertex attribute array
///
///
///
/// Specifies the index of the generic vertex attribute to be enabled or disabled.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")]
public static
void EnableVertexAttribArray(UInt32 index)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glEnableVertexAttribArray((UInt32)index);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glEndQuery")]
public static
void EndQuery(OpenTK.Graphics.ES30.All target)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glEndQuery((OpenTK.Graphics.ES30.QueryTarget)target);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glEndQuery")]
public static
void EndQuery(OpenTK.Graphics.ES30.QueryTarget target)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glEndQuery((OpenTK.Graphics.ES30.QueryTarget)target);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glEndTransformFeedback")]
public static
void EndTransformFeedback()
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glEndTransformFeedback();
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Create a new sync object and insert it into the GL command stream
///
///
///
/// Specifies the condition that must be met to set the sync object's state to signaled. condition must be GL_SYNC_GPU_COMMANDS_COMPLETE.
///
///
///
///
/// Specifies a bitwise combination of flags controlling the behavior of the sync object. No flags are presently defined for this operation and flags must be zero. flags is a placeholder for anticipated future extensions of fence sync object capabilities.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFenceSync")]
public static
IntPtr FenceSync(OpenTK.Graphics.ES30.All condition, OpenTK.Graphics.ES30.All flags)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glFenceSync((OpenTK.Graphics.ES30.SyncCondition)condition, (OpenTK.Graphics.ES30.WaitSyncFlags)flags);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Create a new sync object and insert it into the GL command stream
///
///
///
/// Specifies the condition that must be met to set the sync object's state to signaled. condition must be GL_SYNC_GPU_COMMANDS_COMPLETE.
///
///
///
///
/// Specifies a bitwise combination of flags controlling the behavior of the sync object. No flags are presently defined for this operation and flags must be zero. flags is a placeholder for anticipated future extensions of fence sync object capabilities.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFenceSync")]
public static
IntPtr FenceSync(OpenTK.Graphics.ES30.SyncCondition condition, OpenTK.Graphics.ES30.WaitSyncFlags flags)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glFenceSync((OpenTK.Graphics.ES30.SyncCondition)condition, (OpenTK.Graphics.ES30.WaitSyncFlags)flags);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Block until all GL execution is complete
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFinish")]
public static
void Finish()
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFinish();
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Force execution of GL commands in finite time
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFlush")]
public static
void Flush()
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFlush();
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Indicate modifications to a range of a mapped buffer
///
///
///
/// Specifies the target of the flush operation. target must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the start of the buffer subrange, in basic machine units.
///
///
///
///
/// Specifies the length of the buffer subrange, in basic machine units.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFlushMappedBufferRange")]
public static
void FlushMappedBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFlushMappedBufferRange((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Indicate modifications to a range of a mapped buffer
///
///
///
/// Specifies the target of the flush operation. target must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the start of the buffer subrange, in basic machine units.
///
///
///
///
/// Specifies the length of the buffer subrange, in basic machine units.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFlushMappedBufferRange")]
public static
void FlushMappedBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFlushMappedBufferRange((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object
///
///
///
/// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER.
///
///
///
///
/// Specifies the attachment point of the framebuffer.
///
///
///
///
/// Specifies the renderbuffer target and must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")]
public static
void FramebufferRenderbuffer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All renderbuffertarget, Int32 renderbuffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object
///
///
///
/// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER.
///
///
///
///
/// Specifies the attachment point of the framebuffer.
///
///
///
///
/// Specifies the renderbuffer target and must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")]
public static
void FramebufferRenderbuffer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All renderbuffertarget, UInt32 renderbuffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object
///
///
///
/// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER.
///
///
///
///
/// Specifies the attachment point of the framebuffer.
///
///
///
///
/// Specifies the renderbuffer target and must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")]
public static
void FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferSlot attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, Int32 renderbuffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object
///
///
///
/// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER.
///
///
///
///
/// Specifies the attachment point of the framebuffer.
///
///
///
///
/// Specifies the renderbuffer target and must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")]
public static
void FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferSlot attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
public static
void FramebufferTexture2D(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, Int32 texture, Int32 level)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
public static
void FramebufferTexture2D(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
public static
void FramebufferTexture2D(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferSlot attachment, OpenTK.Graphics.ES30.TextureTarget2d textarget, Int32 texture, Int32 level)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
public static
void FramebufferTexture2D(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferSlot attachment, OpenTK.Graphics.ES30.TextureTarget2d textarget, UInt32 texture, Int32 level)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Attach a single layer of a texture to a framebuffer
///
///
///
/// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER.
///
///
///
///
/// Specifies the attachment point of the framebuffer. attachment must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMENT.
///
///
///
///
/// Specifies the texture object to attach to the framebuffer attachment point named by attachment.
///
///
///
///
/// Specifies the mipmap level of texture to attach.
///
///
///
///
/// Specifies the layer of texture to attach.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")]
public static
void FramebufferTextureLayer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, Int32 texture, Int32 level, Int32 layer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFramebufferTextureLayer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Attach a single layer of a texture to a framebuffer
///
///
///
/// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER.
///
///
///
///
/// Specifies the attachment point of the framebuffer. attachment must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMENT.
///
///
///
///
/// Specifies the texture object to attach to the framebuffer attachment point named by attachment.
///
///
///
///
/// Specifies the mipmap level of texture to attach.
///
///
///
///
/// Specifies the layer of texture to attach.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")]
public static
void FramebufferTextureLayer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, UInt32 texture, Int32 level, Int32 layer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFramebufferTextureLayer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Attach a single layer of a texture to a framebuffer
///
///
///
/// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER.
///
///
///
///
/// Specifies the attachment point of the framebuffer. attachment must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMENT.
///
///
///
///
/// Specifies the texture object to attach to the framebuffer attachment point named by attachment.
///
///
///
///
/// Specifies the mipmap level of texture to attach.
///
///
///
///
/// Specifies the layer of texture to attach.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")]
public static
void FramebufferTextureLayer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferSlot attachment, Int32 texture, Int32 level, Int32 layer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFramebufferTextureLayer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Attach a single layer of a texture to a framebuffer
///
///
///
/// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER.
///
///
///
///
/// Specifies the attachment point of the framebuffer. attachment must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMENT.
///
///
///
///
/// Specifies the texture object to attach to the framebuffer attachment point named by attachment.
///
///
///
///
/// Specifies the mipmap level of texture to attach.
///
///
///
///
/// Specifies the layer of texture to attach.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")]
public static
void FramebufferTextureLayer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferSlot attachment, UInt32 texture, Int32 level, Int32 layer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFramebufferTextureLayer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Define front- and back-facing polygons
///
///
///
/// Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is GL_CCW.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFrontFace")]
public static
void FrontFace(OpenTK.Graphics.ES30.All mode)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFrontFace((OpenTK.Graphics.ES30.FrontFaceDirection)mode);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Define front- and back-facing polygons
///
///
///
/// Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is GL_CCW.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFrontFace")]
public static
void FrontFace(OpenTK.Graphics.ES30.FrontFaceDirection mode)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFrontFace((OpenTK.Graphics.ES30.FrontFaceDirection)mode);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate buffer object names
///
///
///
/// Specifies the number of buffer object names to be generated.
///
///
///
///
/// Specifies an array in which the generated buffer object names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")]
public static
Int32 GenBuffer()
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
Int32 retval;
Int32* buffers_ptr = &retval;
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
return retval;
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate buffer object names
///
///
///
/// Specifies the number of buffer object names to be generated.
///
///
///
///
/// Specifies an array in which the generated buffer object names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")]
public static
void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* buffers_ptr = buffers)
{
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate buffer object names
///
///
///
/// Specifies the number of buffer object names to be generated.
///
///
///
///
/// Specifies an array in which the generated buffer object names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")]
public static
void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* buffers_ptr = &buffers)
{
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
buffers = *buffers_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate buffer object names
///
///
///
/// Specifies the number of buffer object names to be generated.
///
///
///
///
/// Specifies an array in which the generated buffer object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")]
public static
unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate buffer object names
///
///
///
/// Specifies the number of buffer object names to be generated.
///
///
///
///
/// Specifies an array in which the generated buffer object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")]
public static
void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* buffers_ptr = buffers)
{
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate buffer object names
///
///
///
/// Specifies the number of buffer object names to be generated.
///
///
///
///
/// Specifies an array in which the generated buffer object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")]
public static
void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* buffers_ptr = &buffers)
{
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
buffers = *buffers_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate buffer object names
///
///
///
/// Specifies the number of buffer object names to be generated.
///
///
///
///
/// Specifies an array in which the generated buffer object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")]
public static
unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate mipmaps for a specified texture target
///
///
///
/// Specifies the target to which the texture whose mimaps to generate is bound. target must be GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY or GL_TEXTURE_CUBE_MAP.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenerateMipmap")]
public static
void GenerateMipmap(OpenTK.Graphics.ES30.All target)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGenerateMipmap((OpenTK.Graphics.ES30.TextureTarget)target);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate mipmaps for a specified texture target
///
///
///
/// Specifies the target to which the texture whose mimaps to generate is bound. target must be GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY or GL_TEXTURE_CUBE_MAP.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenerateMipmap")]
public static
void GenerateMipmap(OpenTK.Graphics.ES30.TextureTarget target)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGenerateMipmap((OpenTK.Graphics.ES30.TextureTarget)target);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate framebuffer object names
///
///
///
/// Specifies the number of framebuffer object names to generate.
///
///
///
///
/// Specifies an array in which the generated framebuffer object names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
public static
Int32 GenFramebuffer()
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
Int32 retval;
Int32* framebuffers_ptr = &retval;
Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
return retval;
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate framebuffer object names
///
///
///
/// Specifies the number of framebuffer object names to generate.
///
///
///
///
/// Specifies an array in which the generated framebuffer object names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
public static
void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* framebuffers_ptr = framebuffers)
{
Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate framebuffer object names
///
///
///
/// Specifies the number of framebuffer object names to generate.
///
///
///
///
/// Specifies an array in which the generated framebuffer object names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
public static
void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* framebuffers_ptr = &framebuffers)
{
Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
framebuffers = *framebuffers_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate framebuffer object names
///
///
///
/// Specifies the number of framebuffer object names to generate.
///
///
///
///
/// Specifies an array in which the generated framebuffer object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
public static
unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate framebuffer object names
///
///
///
/// Specifies the number of framebuffer object names to generate.
///
///
///
///
/// Specifies an array in which the generated framebuffer object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
public static
void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* framebuffers_ptr = framebuffers)
{
Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate framebuffer object names
///
///
///
/// Specifies the number of framebuffer object names to generate.
///
///
///
///
/// Specifies an array in which the generated framebuffer object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
public static
void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* framebuffers_ptr = &framebuffers)
{
Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
framebuffers = *framebuffers_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate framebuffer object names
///
///
///
/// Specifies the number of framebuffer object names to generate.
///
///
///
///
/// Specifies an array in which the generated framebuffer object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
public static
unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate query object names
///
///
///
/// Specifies the number of query object names to be generated.
///
///
///
///
/// Specifies an array in which the generated query object names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")]
public static
Int32 GenQuery()
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
Int32 retval;
Int32* ids_ptr = &retval;
Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr);
return retval;
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate query object names
///
///
///
/// Specifies the number of query object names to be generated.
///
///
///
///
/// Specifies an array in which the generated query object names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")]
public static
void GenQueries(Int32 n, [OutAttribute] Int32[] ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* ids_ptr = ids)
{
Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate query object names
///
///
///
/// Specifies the number of query object names to be generated.
///
///
///
///
/// Specifies an array in which the generated query object names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")]
public static
void GenQueries(Int32 n, [OutAttribute] out Int32 ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* ids_ptr = &ids)
{
Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr);
ids = *ids_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate query object names
///
///
///
/// Specifies the number of query object names to be generated.
///
///
///
///
/// Specifies an array in which the generated query object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")]
public static
unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGenQueries((Int32)n, (UInt32*)ids);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate query object names
///
///
///
/// Specifies the number of query object names to be generated.
///
///
///
///
/// Specifies an array in which the generated query object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")]
public static
void GenQueries(Int32 n, [OutAttribute] UInt32[] ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* ids_ptr = ids)
{
Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate query object names
///
///
///
/// Specifies the number of query object names to be generated.
///
///
///
///
/// Specifies an array in which the generated query object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")]
public static
void GenQueries(Int32 n, [OutAttribute] out UInt32 ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* ids_ptr = &ids)
{
Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr);
ids = *ids_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate query object names
///
///
///
/// Specifies the number of query object names to be generated.
///
///
///
///
/// Specifies an array in which the generated query object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")]
public static
unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGenQueries((Int32)n, (UInt32*)ids);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate renderbuffer object names
///
///
///
/// Specifies the number of renderbuffer object names to generate.
///
///
///
///
/// Specifies an array in which the generated renderbuffer object names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
public static
Int32 GenRenderbuffer()
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
Int32 retval;
Int32* renderbuffers_ptr = &retval;
Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
return retval;
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate renderbuffer object names
///
///
///
/// Specifies the number of renderbuffer object names to generate.
///
///
///
///
/// Specifies an array in which the generated renderbuffer object names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
public static
void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* renderbuffers_ptr = renderbuffers)
{
Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate renderbuffer object names
///
///
///
/// Specifies the number of renderbuffer object names to generate.
///
///
///
///
/// Specifies an array in which the generated renderbuffer object names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
public static
void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* renderbuffers_ptr = &renderbuffers)
{
Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
renderbuffers = *renderbuffers_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate renderbuffer object names
///
///
///
/// Specifies the number of renderbuffer object names to generate.
///
///
///
///
/// Specifies an array in which the generated renderbuffer object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
public static
unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate renderbuffer object names
///
///
///
/// Specifies the number of renderbuffer object names to generate.
///
///
///
///
/// Specifies an array in which the generated renderbuffer object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
public static
void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* renderbuffers_ptr = renderbuffers)
{
Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate renderbuffer object names
///
///
///
/// Specifies the number of renderbuffer object names to generate.
///
///
///
///
/// Specifies an array in which the generated renderbuffer object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
public static
void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* renderbuffers_ptr = &renderbuffers)
{
Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
renderbuffers = *renderbuffers_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate renderbuffer object names
///
///
///
/// Specifies the number of renderbuffer object names to generate.
///
///
///
///
/// Specifies an array in which the generated renderbuffer object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
public static
unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate sampler object names
///
///
///
/// Specifies the number of sampler object names to generate.
///
///
///
///
/// Specifies an array in which the generated sampler object names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")]
public static
Int32 GenSampler()
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 count = 1;
Int32 retval;
Int32* samplers_ptr = &retval;
Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr);
return retval;
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate sampler object names
///
///
///
/// Specifies the number of sampler object names to generate.
///
///
///
///
/// Specifies an array in which the generated sampler object names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")]
public static
void GenSamplers(Int32 count, [OutAttribute] Int32[] samplers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* samplers_ptr = samplers)
{
Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate sampler object names
///
///
///
/// Specifies the number of sampler object names to generate.
///
///
///
///
/// Specifies an array in which the generated sampler object names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")]
public static
void GenSamplers(Int32 count, [OutAttribute] out Int32 samplers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* samplers_ptr = &samplers)
{
Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr);
samplers = *samplers_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate sampler object names
///
///
///
/// Specifies the number of sampler object names to generate.
///
///
///
///
/// Specifies an array in which the generated sampler object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")]
public static
unsafe void GenSamplers(Int32 count, [OutAttribute] Int32* samplers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGenSamplers((Int32)count, (UInt32*)samplers);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate sampler object names
///
///
///
/// Specifies the number of sampler object names to generate.
///
///
///
///
/// Specifies an array in which the generated sampler object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")]
public static
void GenSamplers(Int32 count, [OutAttribute] UInt32[] samplers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* samplers_ptr = samplers)
{
Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate sampler object names
///
///
///
/// Specifies the number of sampler object names to generate.
///
///
///
///
/// Specifies an array in which the generated sampler object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")]
public static
void GenSamplers(Int32 count, [OutAttribute] out UInt32 samplers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* samplers_ptr = &samplers)
{
Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr);
samplers = *samplers_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate sampler object names
///
///
///
/// Specifies the number of sampler object names to generate.
///
///
///
///
/// Specifies an array in which the generated sampler object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")]
public static
unsafe void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGenSamplers((Int32)count, (UInt32*)samplers);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate texture names
///
///
///
/// Specifies the number of texture names to be generated.
///
///
///
///
/// Specifies an array in which the generated texture names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")]
public static
Int32 GenTexture()
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
Int32 retval;
Int32* textures_ptr = &retval;
Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
return retval;
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate texture names
///
///
///
/// Specifies the number of texture names to be generated.
///
///
///
///
/// Specifies an array in which the generated texture names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")]
public static
void GenTextures(Int32 n, [OutAttribute] Int32[] textures)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* textures_ptr = textures)
{
Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate texture names
///
///
///
/// Specifies the number of texture names to be generated.
///
///
///
///
/// Specifies an array in which the generated texture names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")]
public static
void GenTextures(Int32 n, [OutAttribute] out Int32 textures)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* textures_ptr = &textures)
{
Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
textures = *textures_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate texture names
///
///
///
/// Specifies the number of texture names to be generated.
///
///
///
///
/// Specifies an array in which the generated texture names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")]
public static
unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGenTextures((Int32)n, (UInt32*)textures);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate texture names
///
///
///
/// Specifies the number of texture names to be generated.
///
///
///
///
/// Specifies an array in which the generated texture names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")]
public static
void GenTextures(Int32 n, [OutAttribute] UInt32[] textures)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* textures_ptr = textures)
{
Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate texture names
///
///
///
/// Specifies the number of texture names to be generated.
///
///
///
///
/// Specifies an array in which the generated texture names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")]
public static
void GenTextures(Int32 n, [OutAttribute] out UInt32 textures)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* textures_ptr = &textures)
{
Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
textures = *textures_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Generate texture names
///
///
///
/// Specifies the number of texture names to be generated.
///
///
///
///
/// Specifies an array in which the generated texture names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")]
public static
unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGenTextures((Int32)n, (UInt32*)textures);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Reserve transform feedback object names
///
///
///
/// Specifies the number of transform feedback object names to reserve.
///
///
///
///
/// Specifies an array of into which the reserved names will be written.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")]
public static
Int32 GenTransformFeedback()
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
Int32 retval;
Int32* ids_ptr = &retval;
Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr);
return retval;
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Reserve transform feedback object names
///
///
///
/// Specifies the number of transform feedback object names to reserve.
///
///
///
///
/// Specifies an array of into which the reserved names will be written.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")]
public static
void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32[] ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* ids_ptr = ids)
{
Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Reserve transform feedback object names
///
///
///
/// Specifies the number of transform feedback object names to reserve.
///
///
///
///
/// Specifies an array of into which the reserved names will be written.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")]
public static
void GenTransformFeedbacks(Int32 n, [OutAttribute] out Int32 ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* ids_ptr = &ids)
{
Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr);
ids = *ids_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Reserve transform feedback object names
///
///
///
/// Specifies the number of transform feedback object names to reserve.
///
///
///
///
/// Specifies an array of into which the reserved names will be written.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")]
public static
unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32* ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Reserve transform feedback object names
///
///
///
/// Specifies the number of transform feedback object names to reserve.
///
///
///
///
/// Specifies an array of into which the reserved names will be written.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")]
public static
void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32[] ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* ids_ptr = ids)
{
Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Reserve transform feedback object names
///
///
///
/// Specifies the number of transform feedback object names to reserve.
///
///
///
///
/// Specifies an array of into which the reserved names will be written.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")]
public static
void GenTransformFeedbacks(Int32 n, [OutAttribute] out UInt32 ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* ids_ptr = &ids)
{
Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr);
ids = *ids_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Reserve transform feedback object names
///
///
///
/// Specifies the number of transform feedback object names to reserve.
///
///
///
///
/// Specifies an array of into which the reserved names will be written.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")]
public static
unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate vertex array object names
///
///
///
/// Specifies the number of vertex array object names to generate.
///
///
///
///
/// Specifies an array in which the generated vertex array object names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")]
public static
Int32 GenVertexArray()
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
const Int32 n = 1;
Int32 retval;
Int32* arrays_ptr = &retval;
Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr);
return retval;
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate vertex array object names
///
///
///
/// Specifies the number of vertex array object names to generate.
///
///
///
///
/// Specifies an array in which the generated vertex array object names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")]
public static
void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* arrays_ptr = arrays)
{
Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate vertex array object names
///
///
///
/// Specifies the number of vertex array object names to generate.
///
///
///
///
/// Specifies an array in which the generated vertex array object names are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")]
public static
void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* arrays_ptr = &arrays)
{
Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr);
arrays = *arrays_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate vertex array object names
///
///
///
/// Specifies the number of vertex array object names to generate.
///
///
///
///
/// Specifies an array in which the generated vertex array object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")]
public static
unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate vertex array object names
///
///
///
/// Specifies the number of vertex array object names to generate.
///
///
///
///
/// Specifies an array in which the generated vertex array object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")]
public static
void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* arrays_ptr = arrays)
{
Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate vertex array object names
///
///
///
/// Specifies the number of vertex array object names to generate.
///
///
///
///
/// Specifies an array in which the generated vertex array object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")]
public static
void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* arrays_ptr = &arrays)
{
Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr);
arrays = *arrays_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Generate vertex array object names
///
///
///
/// Specifies the number of vertex array object names to generate.
///
///
///
///
/// Specifies an array in which the generated vertex array object names are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")]
public static
unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns information about an active attribute variable for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the index of the attribute variable to be queried.
///
///
///
///
/// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
///
///
///
///
/// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
///
///
///
///
/// Returns the size of the attribute variable.
///
///
///
///
/// Returns the data type of the attribute variable.
///
///
///
///
/// Returns a null terminated string containing the name of the attribute variable.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
public static
void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.ActiveAttribType type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (Int32* size_ptr = &size)
fixed (OpenTK.Graphics.ES30.ActiveAttribType* type_ptr = &type)
{
Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.ActiveAttribType*)type_ptr, (StringBuilder)name);
length = *length_ptr;
size = *size_ptr;
type = *type_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns information about an active attribute variable for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the index of the attribute variable to be queried.
///
///
///
///
/// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
///
///
///
///
/// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
///
///
///
///
/// Returns the size of the attribute variable.
///
///
///
///
/// Returns the data type of the attribute variable.
///
///
///
///
/// Returns a null terminated string containing the name of the attribute variable.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
public static
void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (Int32* size_ptr = &size)
fixed (OpenTK.Graphics.ES30.All* type_ptr = &type)
{
Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.ActiveAttribType*)type_ptr, (StringBuilder)name);
length = *length_ptr;
size = *size_ptr;
type = *type_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns information about an active attribute variable for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the index of the attribute variable to be queried.
///
///
///
///
/// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
///
///
///
///
/// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
///
///
///
///
/// Returns the size of the attribute variable.
///
///
///
///
/// Returns the data type of the attribute variable.
///
///
///
///
/// Returns a null terminated string containing the name of the attribute variable.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
public static
unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.ActiveAttribType* type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.ActiveAttribType*)type, (StringBuilder)name);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns information about an active attribute variable for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the index of the attribute variable to be queried.
///
///
///
///
/// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
///
///
///
///
/// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
///
///
///
///
/// Returns the size of the attribute variable.
///
///
///
///
/// Returns the data type of the attribute variable.
///
///
///
///
/// Returns a null terminated string containing the name of the attribute variable.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
public static
unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.ActiveAttribType*)type, (StringBuilder)name);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns information about an active attribute variable for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the index of the attribute variable to be queried.
///
///
///
///
/// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
///
///
///
///
/// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
///
///
///
///
/// Returns the size of the attribute variable.
///
///
///
///
/// Returns the data type of the attribute variable.
///
///
///
///
/// Returns a null terminated string containing the name of the attribute variable.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
public static
void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.ActiveAttribType type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (Int32* size_ptr = &size)
fixed (OpenTK.Graphics.ES30.ActiveAttribType* type_ptr = &type)
{
Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.ActiveAttribType*)type_ptr, (StringBuilder)name);
length = *length_ptr;
size = *size_ptr;
type = *type_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns information about an active attribute variable for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the index of the attribute variable to be queried.
///
///
///
///
/// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
///
///
///
///
/// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
///
///
///
///
/// Returns the size of the attribute variable.
///
///
///
///
/// Returns the data type of the attribute variable.
///
///
///
///
/// Returns a null terminated string containing the name of the attribute variable.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
public static
void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (Int32* size_ptr = &size)
fixed (OpenTK.Graphics.ES30.All* type_ptr = &type)
{
Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.ActiveAttribType*)type_ptr, (StringBuilder)name);
length = *length_ptr;
size = *size_ptr;
type = *type_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns information about an active attribute variable for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the index of the attribute variable to be queried.
///
///
///
///
/// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
///
///
///
///
/// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
///
///
///
///
/// Returns the size of the attribute variable.
///
///
///
///
/// Returns the data type of the attribute variable.
///
///
///
///
/// Returns a null terminated string containing the name of the attribute variable.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
public static
unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.ActiveAttribType* type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.ActiveAttribType*)type, (StringBuilder)name);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns information about an active attribute variable for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the index of the attribute variable to be queried.
///
///
///
///
/// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
///
///
///
///
/// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
///
///
///
///
/// Returns the size of the attribute variable.
///
///
///
///
/// Returns the data type of the attribute variable.
///
///
///
///
/// Returns a null terminated string containing the name of the attribute variable.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
public static
unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.ActiveAttribType*)type, (StringBuilder)name);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns information about an active uniform variable for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the index of the uniform variable to be queried.
///
///
///
///
/// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
///
///
///
///
/// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
///
///
///
///
/// Returns the size of the uniform variable.
///
///
///
///
/// Returns the data type of the uniform variable.
///
///
///
///
/// Returns a null terminated string containing the name of the uniform variable.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
public static
void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.ActiveUniformType type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (Int32* size_ptr = &size)
fixed (OpenTK.Graphics.ES30.ActiveUniformType* type_ptr = &type)
{
Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.ActiveUniformType*)type_ptr, (StringBuilder)name);
length = *length_ptr;
size = *size_ptr;
type = *type_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns information about an active uniform variable for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the index of the uniform variable to be queried.
///
///
///
///
/// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
///
///
///
///
/// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
///
///
///
///
/// Returns the size of the uniform variable.
///
///
///
///
/// Returns the data type of the uniform variable.
///
///
///
///
/// Returns a null terminated string containing the name of the uniform variable.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
public static
void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (Int32* size_ptr = &size)
fixed (OpenTK.Graphics.ES30.All* type_ptr = &type)
{
Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.ActiveUniformType*)type_ptr, (StringBuilder)name);
length = *length_ptr;
size = *size_ptr;
type = *type_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns information about an active uniform variable for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the index of the uniform variable to be queried.
///
///
///
///
/// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
///
///
///
///
/// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
///
///
///
///
/// Returns the size of the uniform variable.
///
///
///
///
/// Returns the data type of the uniform variable.
///
///
///
///
/// Returns a null terminated string containing the name of the uniform variable.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
public static
unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.ActiveUniformType* type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.ActiveUniformType*)type, (StringBuilder)name);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns information about an active uniform variable for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the index of the uniform variable to be queried.
///
///
///
///
/// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
///
///
///
///
/// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
///
///
///
///
/// Returns the size of the uniform variable.
///
///
///
///
/// Returns the data type of the uniform variable.
///
///
///
///
/// Returns a null terminated string containing the name of the uniform variable.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
public static
unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.ActiveUniformType*)type, (StringBuilder)name);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns information about an active uniform variable for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the index of the uniform variable to be queried.
///
///
///
///
/// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
///
///
///
///
/// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
///
///
///
///
/// Returns the size of the uniform variable.
///
///
///
///
/// Returns the data type of the uniform variable.
///
///
///
///
/// Returns a null terminated string containing the name of the uniform variable.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
public static
void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.ActiveUniformType type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (Int32* size_ptr = &size)
fixed (OpenTK.Graphics.ES30.ActiveUniformType* type_ptr = &type)
{
Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.ActiveUniformType*)type_ptr, (StringBuilder)name);
length = *length_ptr;
size = *size_ptr;
type = *type_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns information about an active uniform variable for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the index of the uniform variable to be queried.
///
///
///
///
/// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
///
///
///
///
/// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
///
///
///
///
/// Returns the size of the uniform variable.
///
///
///
///
/// Returns the data type of the uniform variable.
///
///
///
///
/// Returns a null terminated string containing the name of the uniform variable.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
public static
void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (Int32* size_ptr = &size)
fixed (OpenTK.Graphics.ES30.All* type_ptr = &type)
{
Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.ActiveUniformType*)type_ptr, (StringBuilder)name);
length = *length_ptr;
size = *size_ptr;
type = *type_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns information about an active uniform variable for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the index of the uniform variable to be queried.
///
///
///
///
/// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
///
///
///
///
/// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
///
///
///
///
/// Returns the size of the uniform variable.
///
///
///
///
/// Returns the data type of the uniform variable.
///
///
///
///
/// Returns a null terminated string containing the name of the uniform variable.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
public static
unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.ActiveUniformType* type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.ActiveUniformType*)type, (StringBuilder)name);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns information about an active uniform variable for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the index of the uniform variable to be queried.
///
///
///
///
/// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
///
///
///
///
/// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
///
///
///
///
/// Returns the size of the uniform variable.
///
///
///
///
/// Returns the data type of the uniform variable.
///
///
///
///
/// Returns a null terminated string containing the name of the uniform variable.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
public static
unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.ActiveUniformType*)type, (StringBuilder)name);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Query information about an active uniform block
///
///
///
/// Specifies the name of a program containing the uniform block.
///
///
///
///
/// Specifies the index of the uniform block within program.
///
///
///
///
/// Specifies the name of the parameter to query.
///
///
///
///
/// Specifies the address of a variable to receive the result of the query.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")]
public static
void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Query information about an active uniform block
///
///
///
/// Specifies the name of a program containing the uniform block.
///
///
///
///
/// Specifies the index of the uniform block within program.
///
///
///
///
/// Specifies the name of the parameter to query.
///
///
///
///
/// Specifies the address of a variable to receive the result of the query.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")]
public static
void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Query information about an active uniform block
///
///
///
/// Specifies the name of a program containing the uniform block.
///
///
///
///
/// Specifies the index of the uniform block within program.
///
///
///
///
/// Specifies the name of the parameter to query.
///
///
///
///
/// Specifies the address of a variable to receive the result of the query.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")]
public static
unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Query information about an active uniform block
///
///
///
/// Specifies the name of a program containing the uniform block.
///
///
///
///
/// Specifies the index of the uniform block within program.
///
///
///
///
/// Specifies the name of the parameter to query.
///
///
///
///
/// Specifies the address of a variable to receive the result of the query.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")]
public static
void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Query information about an active uniform block
///
///
///
/// Specifies the name of a program containing the uniform block.
///
///
///
///
/// Specifies the index of the uniform block within program.
///
///
///
///
/// Specifies the name of the parameter to query.
///
///
///
///
/// Specifies the address of a variable to receive the result of the query.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")]
public static
void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Query information about an active uniform block
///
///
///
/// Specifies the name of a program containing the uniform block.
///
///
///
///
/// Specifies the index of the uniform block within program.
///
///
///
///
/// Specifies the name of the parameter to query.
///
///
///
///
/// Specifies the address of a variable to receive the result of the query.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")]
public static
unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Query information about an active uniform block
///
///
///
/// Specifies the name of a program containing the uniform block.
///
///
///
///
/// Specifies the index of the uniform block within program.
///
///
///
///
/// Specifies the name of the parameter to query.
///
///
///
///
/// Specifies the address of a variable to receive the result of the query.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")]
public static
void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Query information about an active uniform block
///
///
///
/// Specifies the name of a program containing the uniform block.
///
///
///
///
/// Specifies the index of the uniform block within program.
///
///
///
///
/// Specifies the name of the parameter to query.
///
///
///
///
/// Specifies the address of a variable to receive the result of the query.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")]
public static
void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Query information about an active uniform block
///
///
///
/// Specifies the name of a program containing the uniform block.
///
///
///
///
/// Specifies the index of the uniform block within program.
///
///
///
///
/// Specifies the name of the parameter to query.
///
///
///
///
/// Specifies the address of a variable to receive the result of the query.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")]
public static
unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Query information about an active uniform block
///
///
///
/// Specifies the name of a program containing the uniform block.
///
///
///
///
/// Specifies the index of the uniform block within program.
///
///
///
///
/// Specifies the name of the parameter to query.
///
///
///
///
/// Specifies the address of a variable to receive the result of the query.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")]
public static
void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Query information about an active uniform block
///
///
///
/// Specifies the name of a program containing the uniform block.
///
///
///
///
/// Specifies the index of the uniform block within program.
///
///
///
///
/// Specifies the name of the parameter to query.
///
///
///
///
/// Specifies the address of a variable to receive the result of the query.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")]
public static
void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Query information about an active uniform block
///
///
///
/// Specifies the name of a program containing the uniform block.
///
///
///
///
/// Specifies the index of the uniform block within program.
///
///
///
///
/// Specifies the name of the parameter to query.
///
///
///
///
/// Specifies the address of a variable to receive the result of the query.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")]
public static
unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve the name of an active uniform block
///
///
///
/// Specifies the name of a program containing the uniform block.
///
///
///
///
/// Specifies the index of the uniform block within program.
///
///
///
///
/// Specifies the size of the buffer addressed by uniformBlockName.
///
///
///
///
/// Specifies the address of a variable to receive the number of characters that were written to uniformBlockName.
///
///
///
///
/// Specifies the address an array of characters to receive the name of the uniform block at uniformBlockIndex.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockName")]
public static
void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformBlockName)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)uniformBlockName);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve the name of an active uniform block
///
///
///
/// Specifies the name of a program containing the uniform block.
///
///
///
///
/// Specifies the index of the uniform block within program.
///
///
///
///
/// Specifies the size of the buffer addressed by uniformBlockName.
///
///
///
///
/// Specifies the address of a variable to receive the number of characters that were written to uniformBlockName.
///
///
///
///
/// Specifies the address an array of characters to receive the name of the uniform block at uniformBlockIndex.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockName")]
public static
unsafe void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformBlockName);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve the name of an active uniform block
///
///
///
/// Specifies the name of a program containing the uniform block.
///
///
///
///
/// Specifies the index of the uniform block within program.
///
///
///
///
/// Specifies the size of the buffer addressed by uniformBlockName.
///
///
///
///
/// Specifies the address of a variable to receive the number of characters that were written to uniformBlockName.
///
///
///
///
/// Specifies the address an array of characters to receive the name of the uniform block at uniformBlockIndex.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockName")]
public static
void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformBlockName)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)uniformBlockName);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve the name of an active uniform block
///
///
///
/// Specifies the name of a program containing the uniform block.
///
///
///
///
/// Specifies the index of the uniform block within program.
///
///
///
///
/// Specifies the size of the buffer addressed by uniformBlockName.
///
///
///
///
/// Specifies the address of a variable to receive the number of characters that were written to uniformBlockName.
///
///
///
///
/// Specifies the address an array of characters to receive the name of the uniform block at uniformBlockIndex.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockName")]
public static
unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformBlockName);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Returns information about several active uniform variables for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies both the number of elements in the array of indices uniformIndices and the number of parameters written to params upon successful return.
///
///
///
///
/// Specifies the address of an array of uniformCount integers containing the indices of uniforms within program whose parameter pname should be queried.
///
///
///
///
/// Specifies the property of each uniform in uniformIndices that should be written into the corresponding element of params.
///
///
///
///
/// Specifies the address of an array of uniformCount integers which are to receive the value of pname for each uniform in uniformIndices.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")]
public static
void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* uniformIndices_ptr = uniformIndices)
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Returns information about several active uniform variables for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies both the number of elements in the array of indices uniformIndices and the number of parameters written to params upon successful return.
///
///
///
///
/// Specifies the address of an array of uniformCount integers containing the indices of uniforms within program whose parameter pname should be queried.
///
///
///
///
/// Specifies the property of each uniform in uniformIndices that should be written into the corresponding element of params.
///
///
///
///
/// Specifies the address of an array of uniformCount integers which are to receive the value of pname for each uniform in uniformIndices.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")]
public static
void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* uniformIndices_ptr = uniformIndices)
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Returns information about several active uniform variables for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies both the number of elements in the array of indices uniformIndices and the number of parameters written to params upon successful return.
///
///
///
///
/// Specifies the address of an array of uniformCount integers containing the indices of uniforms within program whose parameter pname should be queried.
///
///
///
///
/// Specifies the property of each uniform in uniformIndices that should be written into the corresponding element of params.
///
///
///
///
/// Specifies the address of an array of uniformCount integers which are to receive the value of pname for each uniform in uniformIndices.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")]
public static
void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* uniformIndices_ptr = &uniformIndices)
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Returns information about several active uniform variables for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies both the number of elements in the array of indices uniformIndices and the number of parameters written to params upon successful return.
///
///
///
///
/// Specifies the address of an array of uniformCount integers containing the indices of uniforms within program whose parameter pname should be queried.
///
///
///
///
/// Specifies the property of each uniform in uniformIndices that should be written into the corresponding element of params.
///
///
///
///
/// Specifies the address of an array of uniformCount integers which are to receive the value of pname for each uniform in uniformIndices.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")]
public static
void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* uniformIndices_ptr = &uniformIndices)
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Returns information about several active uniform variables for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies both the number of elements in the array of indices uniformIndices and the number of parameters written to params upon successful return.
///
///
///
///
/// Specifies the address of an array of uniformCount integers containing the indices of uniforms within program whose parameter pname should be queried.
///
///
///
///
/// Specifies the property of each uniform in uniformIndices that should be written into the corresponding element of params.
///
///
///
///
/// Specifies the address of an array of uniformCount integers which are to receive the value of pname for each uniform in uniformIndices.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")]
public static
unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Returns information about several active uniform variables for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies both the number of elements in the array of indices uniformIndices and the number of parameters written to params upon successful return.
///
///
///
///
/// Specifies the address of an array of uniformCount integers containing the indices of uniforms within program whose parameter pname should be queried.
///
///
///
///
/// Specifies the property of each uniform in uniformIndices that should be written into the corresponding element of params.
///
///
///
///
/// Specifies the address of an array of uniformCount integers which are to receive the value of pname for each uniform in uniformIndices.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")]
public static
unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Returns information about several active uniform variables for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies both the number of elements in the array of indices uniformIndices and the number of parameters written to params upon successful return.
///
///
///
///
/// Specifies the address of an array of uniformCount integers containing the indices of uniforms within program whose parameter pname should be queried.
///
///
///
///
/// Specifies the property of each uniform in uniformIndices that should be written into the corresponding element of params.
///
///
///
///
/// Specifies the address of an array of uniformCount integers which are to receive the value of pname for each uniform in uniformIndices.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")]
public static
void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* uniformIndices_ptr = uniformIndices)
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Returns information about several active uniform variables for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies both the number of elements in the array of indices uniformIndices and the number of parameters written to params upon successful return.
///
///
///
///
/// Specifies the address of an array of uniformCount integers containing the indices of uniforms within program whose parameter pname should be queried.
///
///
///
///
/// Specifies the property of each uniform in uniformIndices that should be written into the corresponding element of params.
///
///
///
///
/// Specifies the address of an array of uniformCount integers which are to receive the value of pname for each uniform in uniformIndices.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")]
public static
void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* uniformIndices_ptr = uniformIndices)
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Returns information about several active uniform variables for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies both the number of elements in the array of indices uniformIndices and the number of parameters written to params upon successful return.
///
///
///
///
/// Specifies the address of an array of uniformCount integers containing the indices of uniforms within program whose parameter pname should be queried.
///
///
///
///
/// Specifies the property of each uniform in uniformIndices that should be written into the corresponding element of params.
///
///
///
///
/// Specifies the address of an array of uniformCount integers which are to receive the value of pname for each uniform in uniformIndices.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")]
public static
void GetActiveUniforms(UInt32 program, Int32 uniformCount, ref UInt32 uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* uniformIndices_ptr = &uniformIndices)
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Returns information about several active uniform variables for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies both the number of elements in the array of indices uniformIndices and the number of parameters written to params upon successful return.
///
///
///
///
/// Specifies the address of an array of uniformCount integers containing the indices of uniforms within program whose parameter pname should be queried.
///
///
///
///
/// Specifies the property of each uniform in uniformIndices that should be written into the corresponding element of params.
///
///
///
///
/// Specifies the address of an array of uniformCount integers which are to receive the value of pname for each uniform in uniformIndices.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")]
public static
void GetActiveUniforms(UInt32 program, Int32 uniformCount, ref UInt32 uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* uniformIndices_ptr = &uniformIndices)
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Returns information about several active uniform variables for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies both the number of elements in the array of indices uniformIndices and the number of parameters written to params upon successful return.
///
///
///
///
/// Specifies the address of an array of uniformCount integers containing the indices of uniforms within program whose parameter pname should be queried.
///
///
///
///
/// Specifies the property of each uniform in uniformIndices that should be written into the corresponding element of params.
///
///
///
///
/// Specifies the address of an array of uniformCount integers which are to receive the value of pname for each uniform in uniformIndices.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")]
public static
unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Returns information about several active uniform variables for the specified program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies both the number of elements in the array of indices uniformIndices and the number of parameters written to params upon successful return.
///
///
///
///
/// Specifies the address of an array of uniformCount integers containing the indices of uniforms within program whose parameter pname should be queried.
///
///
///
///
/// Specifies the property of each uniform in uniformIndices that should be written into the corresponding element of params.
///
///
///
///
/// Specifies the address of an array of uniformCount integers which are to receive the value of pname for each uniform in uniformIndices.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")]
public static
unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the handles of the shader objects attached to a program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the size of the array for storing the returned object names.
///
///
///
///
/// Returns the number of names actually returned in shaders.
///
///
///
///
/// Specifies an array that is used to return the names of attached shader objects.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
public static
void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] Int32[] shaders)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* count_ptr = &count)
fixed (Int32* shaders_ptr = shaders)
{
Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)shaders_ptr);
count = *count_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the handles of the shader objects attached to a program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the size of the array for storing the returned object names.
///
///
///
///
/// Returns the number of names actually returned in shaders.
///
///
///
///
/// Specifies an array that is used to return the names of attached shader objects.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
public static
void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out Int32 shaders)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* count_ptr = &count)
fixed (Int32* shaders_ptr = &shaders)
{
Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)shaders_ptr);
count = *count_ptr;
shaders = *shaders_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the handles of the shader objects attached to a program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the size of the array for storing the returned object names.
///
///
///
///
/// Returns the number of names actually returned in shaders.
///
///
///
///
/// Specifies an array that is used to return the names of attached shader objects.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
public static
unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32* shaders)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)shaders);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the handles of the shader objects attached to a program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the size of the array for storing the returned object names.
///
///
///
///
/// Returns the number of names actually returned in shaders.
///
///
///
///
/// Specifies an array that is used to return the names of attached shader objects.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
public static
void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] UInt32[] shaders)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* count_ptr = &count)
fixed (UInt32* shaders_ptr = shaders)
{
Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)shaders_ptr);
count = *count_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the handles of the shader objects attached to a program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the size of the array for storing the returned object names.
///
///
///
///
/// Returns the number of names actually returned in shaders.
///
///
///
///
/// Specifies an array that is used to return the names of attached shader objects.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
public static
void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out UInt32 shaders)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* count_ptr = &count)
fixed (UInt32* shaders_ptr = &shaders)
{
Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)shaders_ptr);
count = *count_ptr;
shaders = *shaders_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the handles of the shader objects attached to a program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the size of the array for storing the returned object names.
///
///
///
///
/// Returns the number of names actually returned in shaders.
///
///
///
///
/// Specifies an array that is used to return the names of attached shader objects.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
public static
unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)shaders);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the location of an attribute variable
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Points to a null terminated string containing the name of the attribute variable whose location is to be queried.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")]
public static
Int32 GetAttribLocation(Int32 program, String name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glGetAttribLocation((UInt32)program, (String)name);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the location of an attribute variable
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Points to a null terminated string containing the name of the attribute variable whose location is to be queried.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")]
public static
Int32 GetAttribLocation(UInt32 program, String name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glGetAttribLocation((UInt32)program, (String)name);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")]
public static
bool GetBoolean(OpenTK.Graphics.ES30.All pname)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
bool retval;
bool* data_ptr = &retval;
Delegates.glGetBooleanv((OpenTK.Graphics.ES30.GetPName)pname, (bool*)data_ptr);
return retval;
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")]
public static
bool GetBoolean(OpenTK.Graphics.ES30.GetPName pname)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
bool retval;
bool* data_ptr = &retval;
Delegates.glGetBooleanv((OpenTK.Graphics.ES30.GetPName)pname, (bool*)data_ptr);
return retval;
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")]
public static
void GetBoolean(OpenTK.Graphics.ES30.All pname, [OutAttribute] bool[] data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (bool* data_ptr = data)
{
Delegates.glGetBooleanv((OpenTK.Graphics.ES30.GetPName)pname, (bool*)data_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")]
public static
void GetBoolean(OpenTK.Graphics.ES30.All pname, [OutAttribute] out bool data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (bool* data_ptr = &data)
{
Delegates.glGetBooleanv((OpenTK.Graphics.ES30.GetPName)pname, (bool*)data_ptr);
data = *data_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")]
public static
unsafe void GetBoolean(OpenTK.Graphics.ES30.All pname, [OutAttribute] bool* data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetBooleanv((OpenTK.Graphics.ES30.GetPName)pname, (bool*)data);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")]
public static
void GetBoolean(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] bool[] data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (bool* data_ptr = data)
{
Delegates.glGetBooleanv((OpenTK.Graphics.ES30.GetPName)pname, (bool*)data_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")]
public static
void GetBoolean(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] out bool data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (bool* data_ptr = &data)
{
Delegates.glGetBooleanv((OpenTK.Graphics.ES30.GetPName)pname, (bool*)data_ptr);
data = *data_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")]
public static
unsafe void GetBoolean(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] bool* data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetBooleanv((OpenTK.Graphics.ES30.GetPName)pname, (bool*)data);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a buffer object
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
///
///
///
///
/// Returns the requested parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferParameteri64v")]
public static
void GetBufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int64* @params_ptr = @params)
{
Delegates.glGetBufferParameteri64v((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int64*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a buffer object
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
///
///
///
///
/// Returns the requested parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferParameteri64v")]
public static
void GetBufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int64 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int64* @params_ptr = &@params)
{
Delegates.glGetBufferParameteri64v((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int64*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a buffer object
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
///
///
///
///
/// Returns the requested parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferParameteri64v")]
public static
unsafe void GetBufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetBufferParameteri64v((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int64*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a buffer object
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
///
///
///
///
/// Returns the requested parameter.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferParameteri64v")]
public static
void GetBufferParameter(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int64[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int64* @params_ptr = @params)
{
Delegates.glGetBufferParameteri64v((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int64*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a buffer object
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
///
///
///
///
/// Returns the requested parameter.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferParameteri64v")]
public static
void GetBufferParameter(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] out Int64 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int64* @params_ptr = &@params)
{
Delegates.glGetBufferParameteri64v((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int64*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a buffer object
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
///
///
///
///
/// Returns the requested parameter.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferParameteri64v")]
public static
unsafe void GetBufferParameter(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int64* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetBufferParameteri64v((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int64*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return parameters of a buffer object
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
///
///
///
///
/// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
///
///
///
///
/// Returns the requested parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")]
public static
void GetBufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return parameters of a buffer object
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
///
///
///
///
/// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
///
///
///
///
/// Returns the requested parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")]
public static
void GetBufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return parameters of a buffer object
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
///
///
///
///
/// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
///
///
///
///
/// Returns the requested parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")]
public static
unsafe void GetBufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return parameters of a buffer object
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
///
///
///
///
/// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
///
///
///
///
/// Returns the requested parameter.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")]
public static
void GetBufferParameter(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return parameters of a buffer object
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
///
///
///
///
/// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
///
///
///
///
/// Returns the requested parameter.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")]
public static
void GetBufferParameter(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return parameters of a buffer object
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
///
///
///
///
/// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
///
///
///
///
/// Returns the requested parameter.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")]
public static
unsafe void GetBufferParameter(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return the pointer to a mapped buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER.
///
///
///
///
/// Returns the pointer value specified by pname.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")]
public static
void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return the pointer to a mapped buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER.
///
///
///
///
/// Returns the pointer value specified by pname.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")]
public static
void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[] @params)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@params_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return the pointer to a mapped buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER.
///
///
///
///
/// Returns the pointer value specified by pname.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")]
public static
void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,] @params)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@params_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return the pointer to a mapped buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER.
///
///
///
///
/// Returns the pointer value specified by pname.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")]
public static
void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,,] @params)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@params_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return the pointer to a mapped buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER.
///
///
///
///
/// Returns the pointer value specified by pname.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")]
public static
void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T2 @params)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
@params = (T2)@params_ptr.Target;
}
finally
{
@params_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return the pointer to a mapped buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER.
///
///
///
///
/// Returns the pointer value specified by pname.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")]
public static
void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return the pointer to a mapped buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER.
///
///
///
///
/// Returns the pointer value specified by pname.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")]
public static
void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[] @params)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@params_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return the pointer to a mapped buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER.
///
///
///
///
/// Returns the pointer value specified by pname.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")]
public static
void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[,] @params)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@params_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return the pointer to a mapped buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER.
///
///
///
///
/// Returns the pointer value specified by pname.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")]
public static
void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[,,] @params)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@params_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return the pointer to a mapped buffer object's data store
///
///
///
/// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
///
///
///
///
/// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER.
///
///
///
///
/// Returns the pointer value specified by pname.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")]
public static
void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] ref T2 @params)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
@params = (T2)@params_ptr.Target;
}
finally
{
@params_ptr.Free();
}
#if DEBUG
}
#endif
}
///
/// Retrieve messages from the debug message log
///
///
///
/// The number of debug messages to retrieve from the log.
///
///
///
///
/// The size of the buffer whose address is given by messageLog.
///
///
///
///
/// The address of an array of variables to receive the sources of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the types of the retrieved messages.
///
///
///
///
/// The address of an array of unsigned integers to receive the ids of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the severites of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the lengths of the received messages.
///
///
///
///
/// The address of an array of characters that will receive the messages.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
public static
Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All[] sources, [OutAttribute] OpenTK.Graphics.ES30.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES30.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (OpenTK.Graphics.ES30.All* sources_ptr = sources)
fixed (OpenTK.Graphics.ES30.All* types_ptr = types)
fixed (Int32* ids_ptr = ids)
fixed (OpenTK.Graphics.ES30.All* severities_ptr = severities)
fixed (Int32* lengths_ptr = lengths)
{
return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve messages from the debug message log
///
///
///
/// The number of debug messages to retrieve from the log.
///
///
///
///
/// The size of the buffer whose address is given by messageLog.
///
///
///
///
/// The address of an array of variables to receive the sources of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the types of the retrieved messages.
///
///
///
///
/// The address of an array of unsigned integers to receive the ids of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the severites of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the lengths of the received messages.
///
///
///
///
/// The address of an array of characters that will receive the messages.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
public static
Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.All sources, [OutAttribute] out OpenTK.Graphics.ES30.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES30.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (OpenTK.Graphics.ES30.All* sources_ptr = &sources)
fixed (OpenTK.Graphics.ES30.All* types_ptr = &types)
fixed (Int32* ids_ptr = &ids)
fixed (OpenTK.Graphics.ES30.All* severities_ptr = &severities)
fixed (Int32* lengths_ptr = &lengths)
{
Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
sources = *sources_ptr;
types = *types_ptr;
ids = *ids_ptr;
severities = *severities_ptr;
lengths = *lengths_ptr;
return retval;
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve messages from the debug message log
///
///
///
/// The number of debug messages to retrieve from the log.
///
///
///
///
/// The size of the buffer whose address is given by messageLog.
///
///
///
///
/// The address of an array of variables to receive the sources of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the types of the retrieved messages.
///
///
///
///
/// The address of an array of unsigned integers to receive the ids of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the severites of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the lengths of the received messages.
///
///
///
///
/// The address of an array of characters that will receive the messages.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
public static
unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources, (OpenTK.Graphics.ES30.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog);
#if DEBUG
}
#endif
}
///
/// Retrieve messages from the debug message log
///
///
///
/// The number of debug messages to retrieve from the log.
///
///
///
///
/// The size of the buffer whose address is given by messageLog.
///
///
///
///
/// The address of an array of variables to receive the sources of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the types of the retrieved messages.
///
///
///
///
/// The address of an array of unsigned integers to receive the ids of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the severites of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the lengths of the received messages.
///
///
///
///
/// The address of an array of characters that will receive the messages.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
public static
Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (OpenTK.Graphics.ES30.DebugSourceExternal* sources_ptr = sources)
fixed (OpenTK.Graphics.ES30.DebugType* types_ptr = types)
fixed (Int32* ids_ptr = ids)
fixed (OpenTK.Graphics.ES30.DebugSeverity* severities_ptr = severities)
fixed (Int32* lengths_ptr = lengths)
{
return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve messages from the debug message log
///
///
///
/// The number of debug messages to retrieve from the log.
///
///
///
///
/// The size of the buffer whose address is given by messageLog.
///
///
///
///
/// The address of an array of variables to receive the sources of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the types of the retrieved messages.
///
///
///
///
/// The address of an array of unsigned integers to receive the ids of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the severites of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the lengths of the received messages.
///
///
///
///
/// The address of an array of characters that will receive the messages.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
public static
Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES30.DebugType types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES30.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (OpenTK.Graphics.ES30.DebugSourceExternal* sources_ptr = &sources)
fixed (OpenTK.Graphics.ES30.DebugType* types_ptr = &types)
fixed (Int32* ids_ptr = &ids)
fixed (OpenTK.Graphics.ES30.DebugSeverity* severities_ptr = &severities)
fixed (Int32* lengths_ptr = &lengths)
{
Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
sources = *sources_ptr;
types = *types_ptr;
ids = *ids_ptr;
severities = *severities_ptr;
lengths = *lengths_ptr;
return retval;
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve messages from the debug message log
///
///
///
/// The number of debug messages to retrieve from the log.
///
///
///
///
/// The size of the buffer whose address is given by messageLog.
///
///
///
///
/// The address of an array of variables to receive the sources of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the types of the retrieved messages.
///
///
///
///
/// The address of an array of unsigned integers to receive the ids of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the severites of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the lengths of the received messages.
///
///
///
///
/// The address of an array of characters that will receive the messages.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
public static
unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources, (OpenTK.Graphics.ES30.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog);
#if DEBUG
}
#endif
}
///
/// Retrieve messages from the debug message log
///
///
///
/// The number of debug messages to retrieve from the log.
///
///
///
///
/// The size of the buffer whose address is given by messageLog.
///
///
///
///
/// The address of an array of variables to receive the sources of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the types of the retrieved messages.
///
///
///
///
/// The address of an array of unsigned integers to receive the ids of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the severites of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the lengths of the received messages.
///
///
///
///
/// The address of an array of characters that will receive the messages.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
public static
Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All[] sources, [OutAttribute] OpenTK.Graphics.ES30.All[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES30.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (OpenTK.Graphics.ES30.All* sources_ptr = sources)
fixed (OpenTK.Graphics.ES30.All* types_ptr = types)
fixed (UInt32* ids_ptr = ids)
fixed (OpenTK.Graphics.ES30.All* severities_ptr = severities)
fixed (Int32* lengths_ptr = lengths)
{
return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve messages from the debug message log
///
///
///
/// The number of debug messages to retrieve from the log.
///
///
///
///
/// The size of the buffer whose address is given by messageLog.
///
///
///
///
/// The address of an array of variables to receive the sources of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the types of the retrieved messages.
///
///
///
///
/// The address of an array of unsigned integers to receive the ids of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the severites of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the lengths of the received messages.
///
///
///
///
/// The address of an array of characters that will receive the messages.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
public static
Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.All sources, [OutAttribute] out OpenTK.Graphics.ES30.All types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES30.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (OpenTK.Graphics.ES30.All* sources_ptr = &sources)
fixed (OpenTK.Graphics.ES30.All* types_ptr = &types)
fixed (UInt32* ids_ptr = &ids)
fixed (OpenTK.Graphics.ES30.All* severities_ptr = &severities)
fixed (Int32* lengths_ptr = &lengths)
{
Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
sources = *sources_ptr;
types = *types_ptr;
ids = *ids_ptr;
severities = *severities_ptr;
lengths = *lengths_ptr;
return retval;
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve messages from the debug message log
///
///
///
/// The number of debug messages to retrieve from the log.
///
///
///
///
/// The size of the buffer whose address is given by messageLog.
///
///
///
///
/// The address of an array of variables to receive the sources of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the types of the retrieved messages.
///
///
///
///
/// The address of an array of unsigned integers to receive the ids of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the severites of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the lengths of the received messages.
///
///
///
///
/// The address of an array of characters that will receive the messages.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
public static
unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources, (OpenTK.Graphics.ES30.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog);
#if DEBUG
}
#endif
}
///
/// Retrieve messages from the debug message log
///
///
///
/// The number of debug messages to retrieve from the log.
///
///
///
///
/// The size of the buffer whose address is given by messageLog.
///
///
///
///
/// The address of an array of variables to receive the sources of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the types of the retrieved messages.
///
///
///
///
/// The address of an array of unsigned integers to receive the ids of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the severites of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the lengths of the received messages.
///
///
///
///
/// The address of an array of characters that will receive the messages.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
public static
Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (OpenTK.Graphics.ES30.DebugSourceExternal* sources_ptr = sources)
fixed (OpenTK.Graphics.ES30.DebugType* types_ptr = types)
fixed (UInt32* ids_ptr = ids)
fixed (OpenTK.Graphics.ES30.DebugSeverity* severities_ptr = severities)
fixed (Int32* lengths_ptr = lengths)
{
return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve messages from the debug message log
///
///
///
/// The number of debug messages to retrieve from the log.
///
///
///
///
/// The size of the buffer whose address is given by messageLog.
///
///
///
///
/// The address of an array of variables to receive the sources of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the types of the retrieved messages.
///
///
///
///
/// The address of an array of unsigned integers to receive the ids of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the severites of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the lengths of the received messages.
///
///
///
///
/// The address of an array of characters that will receive the messages.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
public static
Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES30.DebugType types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES30.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (OpenTK.Graphics.ES30.DebugSourceExternal* sources_ptr = &sources)
fixed (OpenTK.Graphics.ES30.DebugType* types_ptr = &types)
fixed (UInt32* ids_ptr = &ids)
fixed (OpenTK.Graphics.ES30.DebugSeverity* severities_ptr = &severities)
fixed (Int32* lengths_ptr = &lengths)
{
Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
sources = *sources_ptr;
types = *types_ptr;
ids = *ids_ptr;
severities = *severities_ptr;
lengths = *lengths_ptr;
return retval;
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve messages from the debug message log
///
///
///
/// The number of debug messages to retrieve from the log.
///
///
///
///
/// The size of the buffer whose address is given by messageLog.
///
///
///
///
/// The address of an array of variables to receive the sources of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the types of the retrieved messages.
///
///
///
///
/// The address of an array of unsigned integers to receive the ids of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the severites of the retrieved messages.
///
///
///
///
/// The address of an array of variables to receive the lengths of the received messages.
///
///
///
///
/// The address of an array of characters that will receive the messages.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
public static
unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources, (OpenTK.Graphics.ES30.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return error information
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetError")]
public static
OpenTK.Graphics.ES30.ErrorCode GetError()
{
return Delegates.glGetError();
}
/// [requires: v2.0 and ES_VERSION_2_0]
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")]
public static
Single GetFloat(OpenTK.Graphics.ES30.All pname)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
Single retval;
Single* data_ptr = &retval;
Delegates.glGetFloatv((OpenTK.Graphics.ES30.GetPName)pname, (Single*)data_ptr);
return retval;
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")]
public static
Single GetFloat(OpenTK.Graphics.ES30.GetPName pname)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
Single retval;
Single* data_ptr = &retval;
Delegates.glGetFloatv((OpenTK.Graphics.ES30.GetPName)pname, (Single*)data_ptr);
return retval;
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")]
public static
void GetFloat(OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* data_ptr = data)
{
Delegates.glGetFloatv((OpenTK.Graphics.ES30.GetPName)pname, (Single*)data_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")]
public static
void GetFloat(OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* data_ptr = &data)
{
Delegates.glGetFloatv((OpenTK.Graphics.ES30.GetPName)pname, (Single*)data_ptr);
data = *data_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")]
public static
unsafe void GetFloat(OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetFloatv((OpenTK.Graphics.ES30.GetPName)pname, (Single*)data);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")]
public static
void GetFloat(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Single[] data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* data_ptr = data)
{
Delegates.glGetFloatv((OpenTK.Graphics.ES30.GetPName)pname, (Single*)data_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")]
public static
void GetFloat(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] out Single data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* data_ptr = &data)
{
Delegates.glGetFloatv((OpenTK.Graphics.ES30.GetPName)pname, (Single*)data_ptr);
data = *data_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")]
public static
unsafe void GetFloat(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Single* data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetFloatv((OpenTK.Graphics.ES30.GetPName)pname, (Single*)data);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Query the bindings of color numbers to user-defined varying out variables
///
///
///
/// The name of the program containing varying out variable whose binding to query
///
///
///
///
/// The name of the user-defined varying out variable whose binding to query
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetFragDataLocation")]
public static
Int32 GetFragDataLocation(Int32 program, String name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glGetFragDataLocation((UInt32)program, (String)name);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Query the bindings of color numbers to user-defined varying out variables
///
///
///
/// The name of the program containing varying out variable whose binding to query
///
///
///
///
/// The name of the user-defined varying out variable whose binding to query
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetFragDataLocation")]
public static
Int32 GetFragDataLocation(UInt32 program, String name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glGetFragDataLocation((UInt32)program, (String)name);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Retrieve information about attachments of a bound framebuffer object
///
///
///
/// Specifies the target of the query operation.
///
///
///
///
/// Specifies the attachment within target
///
///
///
///
/// Specifies the parameter of attachment to query.
///
///
///
///
/// Specifies the address of a variable receive the value of pname for attachment.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
public static
void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.FramebufferParameterName)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Retrieve information about attachments of a bound framebuffer object
///
///
///
/// Specifies the target of the query operation.
///
///
///
///
/// Specifies the attachment within target
///
///
///
///
/// Specifies the parameter of attachment to query.
///
///
///
///
/// Specifies the address of a variable receive the value of pname for attachment.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
public static
void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.FramebufferParameterName)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Retrieve information about attachments of a bound framebuffer object
///
///
///
/// Specifies the target of the query operation.
///
///
///
///
/// Specifies the attachment within target
///
///
///
///
/// Specifies the parameter of attachment to query.
///
///
///
///
/// Specifies the address of a variable receive the value of pname for attachment.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
public static
unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.FramebufferParameterName)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Retrieve information about attachments of a bound framebuffer object
///
///
///
/// Specifies the target of the query operation.
///
///
///
///
/// Specifies the attachment within target
///
///
///
///
/// Specifies the parameter of attachment to query.
///
///
///
///
/// Specifies the address of a variable receive the value of pname for attachment.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
public static
void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.FramebufferParameterName pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.FramebufferParameterName)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Retrieve information about attachments of a bound framebuffer object
///
///
///
/// Specifies the target of the query operation.
///
///
///
///
/// Specifies the attachment within target
///
///
///
///
/// Specifies the parameter of attachment to query.
///
///
///
///
/// Specifies the address of a variable receive the value of pname for attachment.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
public static
void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.FramebufferParameterName pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.FramebufferParameterName)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Retrieve information about attachments of a bound framebuffer object
///
///
///
/// Specifies the target of the query operation.
///
///
///
///
/// Specifies the attachment within target
///
///
///
///
/// Specifies the parameter of attachment to query.
///
///
///
///
/// Specifies the address of a variable receive the value of pname for attachment.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
public static
unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.FramebufferParameterName pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.FramebufferParameterName)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")]
public static
void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int64[] data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int64* data_ptr = data)
{
Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")]
public static
void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] out Int64 data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int64* data_ptr = &data)
{
Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr);
data = *data_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")]
public static
unsafe void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int64* data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")]
public static
void GetInteger(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int64[] data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int64* data_ptr = data)
{
Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")]
public static
void GetInteger(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] out Int64 data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int64* data_ptr = &data)
{
Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr);
data = *data_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")]
public static
unsafe void GetInteger(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int64* data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")]
public static
void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] Int64[] data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int64* data_ptr = data)
{
Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")]
public static
void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] out Int64 data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int64* data_ptr = &data)
{
Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr);
data = *data_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")]
public static
unsafe void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] Int64* data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")]
public static
void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int64[] data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int64* data_ptr = data)
{
Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")]
public static
void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] out Int64 data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int64* data_ptr = &data)
{
Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr);
data = *data_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")]
public static
unsafe void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")]
public static
Int64 GetInteger64(OpenTK.Graphics.ES30.All pname)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
Int64 retval;
Int64* data_ptr = &retval;
Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data_ptr);
return retval;
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")]
public static
Int64 GetInteger64(OpenTK.Graphics.ES30.GetPName pname)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
Int64 retval;
Int64* data_ptr = &retval;
Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data_ptr);
return retval;
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")]
public static
void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int64* data_ptr = data)
{
Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")]
public static
void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int64 data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int64* data_ptr = &data)
{
Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data_ptr);
data = *data_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")]
public static
unsafe void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")]
public static
void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64[] data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int64* data_ptr = data)
{
Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")]
public static
void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] out Int64 data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int64* data_ptr = &data)
{
Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data_ptr);
data = *data_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")]
public static
unsafe void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")]
public static
void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int32[] data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* data_ptr = data)
{
Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")]
public static
void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] out Int32 data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* data_ptr = &data)
{
Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr);
data = *data_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")]
public static
unsafe void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int32* data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")]
public static
void GetInteger(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int32[] data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* data_ptr = data)
{
Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")]
public static
void GetInteger(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] out Int32 data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* data_ptr = &data)
{
Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr);
data = *data_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")]
public static
unsafe void GetInteger(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int32* data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")]
public static
void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] Int32[] data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* data_ptr = data)
{
Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")]
public static
void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] out Int32 data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* data_ptr = &data)
{
Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr);
data = *data_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")]
public static
unsafe void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")]
public static
void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int32[] data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* data_ptr = data)
{
Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")]
public static
void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] out Int32 data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* data_ptr = &data)
{
Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr);
data = *data_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")]
public static
unsafe void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")]
public static
Int32 GetInteger(OpenTK.Graphics.ES30.All pname)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
Int32 retval;
Int32* data_ptr = &retval;
Delegates.glGetIntegerv((OpenTK.Graphics.ES30.GetPName)pname, (Int32*)data_ptr);
return retval;
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")]
public static
Int32 GetInteger(OpenTK.Graphics.ES30.GetPName pname)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
Int32 retval;
Int32* data_ptr = &retval;
Delegates.glGetIntegerv((OpenTK.Graphics.ES30.GetPName)pname, (Int32*)data_ptr);
return retval;
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")]
public static
void GetInteger(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* data_ptr = data)
{
Delegates.glGetIntegerv((OpenTK.Graphics.ES30.GetPName)pname, (Int32*)data_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")]
public static
void GetInteger(OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* data_ptr = &data)
{
Delegates.glGetIntegerv((OpenTK.Graphics.ES30.GetPName)pname, (Int32*)data_ptr);
data = *data_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")]
public static
unsafe void GetInteger(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetIntegerv((OpenTK.Graphics.ES30.GetPName)pname, (Int32*)data);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")]
public static
void GetInteger(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int32[] data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* data_ptr = data)
{
Delegates.glGetIntegerv((OpenTK.Graphics.ES30.GetPName)pname, (Int32*)data_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")]
public static
void GetInteger(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] out Int32 data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* data_ptr = &data)
{
Delegates.glGetIntegerv((OpenTK.Graphics.ES30.GetPName)pname, (Int32*)data_ptr);
data = *data_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")]
public static
unsafe void GetInteger(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int32* data)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetIntegerv((OpenTK.Graphics.ES30.GetPName)pname, (Int32*)data);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve information about implementation-dependent support for internal formats
///
///
///
/// Indicates the usage of the internal format. target must be GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_BUFFER, GL_RENDERBUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
///
///
///
///
/// Specifies the internal format about which to retrieve information.
///
///
///
///
/// Specifies the type of information to query.
///
///
///
///
/// Specifies the maximum number of basic machine units that may be written to params by the function.
///
///
///
///
/// Specifies the address of a variable into which to write the retrieved information.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInternalformativ")]
public static
void GetInternalformat(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All internalformat, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetInternalformativ((OpenTK.Graphics.ES30.ImageTarget)target, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES30.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve information about implementation-dependent support for internal formats
///
///
///
/// Indicates the usage of the internal format. target must be GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_BUFFER, GL_RENDERBUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
///
///
///
///
/// Specifies the internal format about which to retrieve information.
///
///
///
///
/// Specifies the type of information to query.
///
///
///
///
/// Specifies the maximum number of basic machine units that may be written to params by the function.
///
///
///
///
/// Specifies the address of a variable into which to write the retrieved information.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInternalformativ")]
public static
void GetInternalformat(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All internalformat, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetInternalformativ((OpenTK.Graphics.ES30.ImageTarget)target, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES30.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve information about implementation-dependent support for internal formats
///
///
///
/// Indicates the usage of the internal format. target must be GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_BUFFER, GL_RENDERBUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
///
///
///
///
/// Specifies the internal format about which to retrieve information.
///
///
///
///
/// Specifies the type of information to query.
///
///
///
///
/// Specifies the maximum number of basic machine units that may be written to params by the function.
///
///
///
///
/// Specifies the address of a variable into which to write the retrieved information.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInternalformativ")]
public static
unsafe void GetInternalformat(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All internalformat, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetInternalformativ((OpenTK.Graphics.ES30.ImageTarget)target, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES30.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve information about implementation-dependent support for internal formats
///
///
///
/// Indicates the usage of the internal format. target must be GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_BUFFER, GL_RENDERBUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
///
///
///
///
/// Specifies the internal format about which to retrieve information.
///
///
///
///
/// Specifies the type of information to query.
///
///
///
///
/// Specifies the maximum number of basic machine units that may be written to params by the function.
///
///
///
///
/// Specifies the address of a variable into which to write the retrieved information.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInternalformativ")]
public static
void GetInternalformat(OpenTK.Graphics.ES30.ImageTarget target, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, OpenTK.Graphics.ES30.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetInternalformativ((OpenTK.Graphics.ES30.ImageTarget)target, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES30.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve information about implementation-dependent support for internal formats
///
///
///
/// Indicates the usage of the internal format. target must be GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_BUFFER, GL_RENDERBUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
///
///
///
///
/// Specifies the internal format about which to retrieve information.
///
///
///
///
/// Specifies the type of information to query.
///
///
///
///
/// Specifies the maximum number of basic machine units that may be written to params by the function.
///
///
///
///
/// Specifies the address of a variable into which to write the retrieved information.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInternalformativ")]
public static
void GetInternalformat(OpenTK.Graphics.ES30.ImageTarget target, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, OpenTK.Graphics.ES30.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetInternalformativ((OpenTK.Graphics.ES30.ImageTarget)target, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES30.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve information about implementation-dependent support for internal formats
///
///
///
/// Indicates the usage of the internal format. target must be GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_BUFFER, GL_RENDERBUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
///
///
///
///
/// Specifies the internal format about which to retrieve information.
///
///
///
///
/// Specifies the type of information to query.
///
///
///
///
/// Specifies the maximum number of basic machine units that may be written to params by the function.
///
///
///
///
/// Specifies the address of a variable into which to write the retrieved information.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInternalformativ")]
public static
unsafe void GetInternalformat(OpenTK.Graphics.ES30.ImageTarget target, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, OpenTK.Graphics.ES30.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetInternalformativ((OpenTK.Graphics.ES30.ImageTarget)target, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES30.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params);
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a named object identified within a namespace
///
///
///
/// The namespace from which the name of the object is allocated.
///
///
///
///
/// The name of the object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
public static
void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = length)
{
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a named object identified within a namespace
///
///
///
/// The namespace from which the name of the object is allocated.
///
///
///
///
/// The name of the object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
public static
void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a named object identified within a namespace
///
///
///
/// The namespace from which the name of the object is allocated.
///
///
///
///
/// The name of the object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
public static
unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label);
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a named object identified within a namespace
///
///
///
/// The namespace from which the name of the object is allocated.
///
///
///
///
/// The name of the object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
public static
void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = length)
{
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a named object identified within a namespace
///
///
///
/// The namespace from which the name of the object is allocated.
///
///
///
///
/// The name of the object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
public static
void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a named object identified within a namespace
///
///
///
/// The namespace from which the name of the object is allocated.
///
///
///
///
/// The name of the object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
public static
unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label);
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a named object identified within a namespace
///
///
///
/// The namespace from which the name of the object is allocated.
///
///
///
///
/// The name of the object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
public static
void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = length)
{
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a named object identified within a namespace
///
///
///
/// The namespace from which the name of the object is allocated.
///
///
///
///
/// The name of the object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
public static
void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a named object identified within a namespace
///
///
///
/// The namespace from which the name of the object is allocated.
///
///
///
///
/// The name of the object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
public static
unsafe void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label);
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a named object identified within a namespace
///
///
///
/// The namespace from which the name of the object is allocated.
///
///
///
///
/// The name of the object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
public static
void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = length)
{
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a named object identified within a namespace
///
///
///
/// The namespace from which the name of the object is allocated.
///
///
///
///
/// The name of the object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
public static
void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a named object identified within a namespace
///
///
///
/// The namespace from which the name of the object is allocated.
///
///
///
///
/// The name of the object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
public static
unsafe void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label);
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a sync object identified by a pointer
///
///
///
/// The name of the sync object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
public static
void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = length)
{
Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a sync object identified by a pointer
///
///
///
/// The name of the sync object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
public static
void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a sync object identified by a pointer
///
///
///
/// The name of the sync object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
public static
unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label);
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a sync object identified by a pointer
///
///
///
/// The name of the sync object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
public static
void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label)
where T0 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = length)
{
GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
try
{
Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
}
finally
{
ptr_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a sync object identified by a pointer
///
///
///
/// The name of the sync object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
public static
void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label)
where T0 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
try
{
Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
length = *length_ptr;
}
finally
{
ptr_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a sync object identified by a pointer
///
///
///
/// The name of the sync object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
public static
unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label)
where T0 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
try
{
Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label);
}
finally
{
ptr_ptr.Free();
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a sync object identified by a pointer
///
///
///
/// The name of the sync object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
public static
void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label)
where T0 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = length)
{
GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
try
{
Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
}
finally
{
ptr_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a sync object identified by a pointer
///
///
///
/// The name of the sync object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
public static
void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label)
where T0 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
try
{
Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
length = *length_ptr;
}
finally
{
ptr_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a sync object identified by a pointer
///
///
///
/// The name of the sync object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
public static
unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label)
where T0 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
try
{
Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label);
}
finally
{
ptr_ptr.Free();
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a sync object identified by a pointer
///
///
///
/// The name of the sync object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
public static
void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label)
where T0 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = length)
{
GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
try
{
Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
}
finally
{
ptr_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a sync object identified by a pointer
///
///
///
/// The name of the sync object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
public static
void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label)
where T0 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
try
{
Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
length = *length_ptr;
}
finally
{
ptr_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a sync object identified by a pointer
///
///
///
/// The name of the sync object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
public static
unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label)
where T0 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
try
{
Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label);
}
finally
{
ptr_ptr.Free();
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a sync object identified by a pointer
///
///
///
/// The name of the sync object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
public static
void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label)
where T0 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = length)
{
GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
try
{
Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
ptr = (T0)ptr_ptr.Target;
}
finally
{
ptr_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a sync object identified by a pointer
///
///
///
/// The name of the sync object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
public static
void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label)
where T0 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
try
{
Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
ptr = (T0)ptr_ptr.Target;
length = *length_ptr;
}
finally
{
ptr_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
///
/// Retrieve the label of a sync object identified by a pointer
///
///
///
/// The name of the sync object whose label to retrieve.
///
///
///
///
/// The length of the buffer whose address is in label.
///
///
///
///
/// The address of a variable to receive the length of the object label.
///
///
///
///
/// The address of a string that will receive the object label.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
public static
unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label)
where T0 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
try
{
Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label);
ptr = (T0)ptr_ptr.Target;
}
finally
{
ptr_ptr.Free();
}
#if DEBUG
}
#endif
}
///
/// Return the address of the specified pointer
///
///
///
/// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted.
///
///
///
///
/// Returns the pointer value specified by pname.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")]
public static
void GetPointer(OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params);
#if DEBUG
}
#endif
}
///
/// Return the address of the specified pointer
///
///
///
/// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted.
///
///
///
///
/// Returns the pointer value specified by pname.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")]
public static
void GetPointer(OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T1[] @params)
where T1 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@params_ptr.Free();
}
#if DEBUG
}
#endif
}
///
/// Return the address of the specified pointer
///
///
///
/// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted.
///
///
///
///
/// Returns the pointer value specified by pname.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")]
public static
void GetPointer(OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T1[,] @params)
where T1 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@params_ptr.Free();
}
#if DEBUG
}
#endif
}
///
/// Return the address of the specified pointer
///
///
///
/// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted.
///
///
///
///
/// Returns the pointer value specified by pname.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")]
public static
void GetPointer(OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T1[,,] @params)
where T1 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@params_ptr.Free();
}
#if DEBUG
}
#endif
}
///
/// Return the address of the specified pointer
///
///
///
/// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted.
///
///
///
///
/// Returns the pointer value specified by pname.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")]
public static
void GetPointer(OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T1 @params)
where T1 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
@params = (T1)@params_ptr.Target;
}
finally
{
@params_ptr.Free();
}
#if DEBUG
}
#endif
}
///
/// Return the address of the specified pointer
///
///
///
/// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted.
///
///
///
///
/// Returns the pointer value specified by pname.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")]
public static
void GetPointer(OpenTK.Graphics.ES30.GetPointervPName pname, [OutAttribute] IntPtr @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params);
#if DEBUG
}
#endif
}
///
/// Return the address of the specified pointer
///
///
///
/// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted.
///
///
///
///
/// Returns the pointer value specified by pname.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")]
public static
void GetPointer(OpenTK.Graphics.ES30.GetPointervPName pname, [InAttribute, OutAttribute] T1[] @params)
where T1 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@params_ptr.Free();
}
#if DEBUG
}
#endif
}
///
/// Return the address of the specified pointer
///
///
///
/// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted.
///
///
///
///
/// Returns the pointer value specified by pname.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")]
public static
void GetPointer(OpenTK.Graphics.ES30.GetPointervPName pname, [InAttribute, OutAttribute] T1[,] @params)
where T1 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@params_ptr.Free();
}
#if DEBUG
}
#endif
}
///
/// Return the address of the specified pointer
///
///
///
/// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted.
///
///
///
///
/// Returns the pointer value specified by pname.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")]
public static
void GetPointer(OpenTK.Graphics.ES30.GetPointervPName pname, [InAttribute, OutAttribute] T1[,,] @params)
where T1 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@params_ptr.Free();
}
#if DEBUG
}
#endif
}
///
/// Return the address of the specified pointer
///
///
///
/// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted.
///
///
///
///
/// Returns the pointer value specified by pname.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")]
public static
void GetPointer(OpenTK.Graphics.ES30.GetPointervPName pname, [InAttribute, OutAttribute] ref T1 @params)
where T1 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
@params = (T1)@params_ptr.Target;
}
finally
{
@params_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a binary representation of a program object's compiled and linked executable source
///
///
///
/// Specifies the name of a program object whose binary representation to retrieve.
///
///
///
///
/// Specifies the size of the buffer whose address is given by binary.
///
///
///
///
/// Specifies the address of a variable to receive the number of bytes written into binary.
///
///
///
///
/// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
///
///
///
///
/// Specifies the address an array into which the GL will return program's binary representation.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")]
public static
void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [OutAttribute] IntPtr binary)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat)
{
Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary);
length = *length_ptr;
binaryFormat = *binaryFormat_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a binary representation of a program object's compiled and linked executable source
///
///
///
/// Specifies the name of a program object whose binary representation to retrieve.
///
///
///
///
/// Specifies the size of the buffer whose address is given by binary.
///
///
///
///
/// Specifies the address of a variable to receive the number of bytes written into binary.
///
///
///
///
/// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
///
///
///
///
/// Specifies the address an array into which the GL will return program's binary representation.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")]
public static
void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[] binary)
where T4 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
length = *length_ptr;
binaryFormat = *binaryFormat_ptr;
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a binary representation of a program object's compiled and linked executable source
///
///
///
/// Specifies the name of a program object whose binary representation to retrieve.
///
///
///
///
/// Specifies the size of the buffer whose address is given by binary.
///
///
///
///
/// Specifies the address of a variable to receive the number of bytes written into binary.
///
///
///
///
/// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
///
///
///
///
/// Specifies the address an array into which the GL will return program's binary representation.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")]
public static
void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[,] binary)
where T4 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
length = *length_ptr;
binaryFormat = *binaryFormat_ptr;
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a binary representation of a program object's compiled and linked executable source
///
///
///
/// Specifies the name of a program object whose binary representation to retrieve.
///
///
///
///
/// Specifies the size of the buffer whose address is given by binary.
///
///
///
///
/// Specifies the address of a variable to receive the number of bytes written into binary.
///
///
///
///
/// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
///
///
///
///
/// Specifies the address an array into which the GL will return program's binary representation.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")]
public static
void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[,,] binary)
where T4 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
length = *length_ptr;
binaryFormat = *binaryFormat_ptr;
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a binary representation of a program object's compiled and linked executable source
///
///
///
/// Specifies the name of a program object whose binary representation to retrieve.
///
///
///
///
/// Specifies the size of the buffer whose address is given by binary.
///
///
///
///
/// Specifies the address of a variable to receive the number of bytes written into binary.
///
///
///
///
/// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
///
///
///
///
/// Specifies the address an array into which the GL will return program's binary representation.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")]
public static
void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] ref T4 binary)
where T4 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
length = *length_ptr;
binaryFormat = *binaryFormat_ptr;
binary = (T4)binary_ptr.Target;
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a binary representation of a program object's compiled and linked executable source
///
///
///
/// Specifies the name of a program object whose binary representation to retrieve.
///
///
///
///
/// Specifies the size of the buffer whose address is given by binary.
///
///
///
///
/// Specifies the address of a variable to receive the number of bytes written into binary.
///
///
///
///
/// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
///
///
///
///
/// Specifies the address an array into which the GL will return program's binary representation.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")]
public static
unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [OutAttribute] IntPtr binary)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a binary representation of a program object's compiled and linked executable source
///
///
///
/// Specifies the name of a program object whose binary representation to retrieve.
///
///
///
///
/// Specifies the size of the buffer whose address is given by binary.
///
///
///
///
/// Specifies the address of a variable to receive the number of bytes written into binary.
///
///
///
///
/// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
///
///
///
///
/// Specifies the address an array into which the GL will return program's binary representation.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")]
public static
unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[] binary)
where T4 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject());
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a binary representation of a program object's compiled and linked executable source
///
///
///
/// Specifies the name of a program object whose binary representation to retrieve.
///
///
///
///
/// Specifies the size of the buffer whose address is given by binary.
///
///
///
///
/// Specifies the address of a variable to receive the number of bytes written into binary.
///
///
///
///
/// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
///
///
///
///
/// Specifies the address an array into which the GL will return program's binary representation.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")]
public static
unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[,] binary)
where T4 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject());
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a binary representation of a program object's compiled and linked executable source
///
///
///
/// Specifies the name of a program object whose binary representation to retrieve.
///
///
///
///
/// Specifies the size of the buffer whose address is given by binary.
///
///
///
///
/// Specifies the address of a variable to receive the number of bytes written into binary.
///
///
///
///
/// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
///
///
///
///
/// Specifies the address an array into which the GL will return program's binary representation.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")]
public static
unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary)
where T4 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject());
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a binary representation of a program object's compiled and linked executable source
///
///
///
/// Specifies the name of a program object whose binary representation to retrieve.
///
///
///
///
/// Specifies the size of the buffer whose address is given by binary.
///
///
///
///
/// Specifies the address of a variable to receive the number of bytes written into binary.
///
///
///
///
/// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
///
///
///
///
/// Specifies the address an array into which the GL will return program's binary representation.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")]
public static
unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] ref T4 binary)
where T4 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject());
binary = (T4)binary_ptr.Target;
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a binary representation of a program object's compiled and linked executable source
///
///
///
/// Specifies the name of a program object whose binary representation to retrieve.
///
///
///
///
/// Specifies the size of the buffer whose address is given by binary.
///
///
///
///
/// Specifies the address of a variable to receive the number of bytes written into binary.
///
///
///
///
/// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
///
///
///
///
/// Specifies the address an array into which the GL will return program's binary representation.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")]
public static
void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [OutAttribute] IntPtr binary)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat)
{
Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary);
length = *length_ptr;
binaryFormat = *binaryFormat_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a binary representation of a program object's compiled and linked executable source
///
///
///
/// Specifies the name of a program object whose binary representation to retrieve.
///
///
///
///
/// Specifies the size of the buffer whose address is given by binary.
///
///
///
///
/// Specifies the address of a variable to receive the number of bytes written into binary.
///
///
///
///
/// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
///
///
///
///
/// Specifies the address an array into which the GL will return program's binary representation.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")]
public static
void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[] binary)
where T4 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
length = *length_ptr;
binaryFormat = *binaryFormat_ptr;
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a binary representation of a program object's compiled and linked executable source
///
///
///
/// Specifies the name of a program object whose binary representation to retrieve.
///
///
///
///
/// Specifies the size of the buffer whose address is given by binary.
///
///
///
///
/// Specifies the address of a variable to receive the number of bytes written into binary.
///
///
///
///
/// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
///
///
///
///
/// Specifies the address an array into which the GL will return program's binary representation.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")]
public static
void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[,] binary)
where T4 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
length = *length_ptr;
binaryFormat = *binaryFormat_ptr;
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a binary representation of a program object's compiled and linked executable source
///
///
///
/// Specifies the name of a program object whose binary representation to retrieve.
///
///
///
///
/// Specifies the size of the buffer whose address is given by binary.
///
///
///
///
/// Specifies the address of a variable to receive the number of bytes written into binary.
///
///
///
///
/// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
///
///
///
///
/// Specifies the address an array into which the GL will return program's binary representation.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")]
public static
void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[,,] binary)
where T4 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
length = *length_ptr;
binaryFormat = *binaryFormat_ptr;
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a binary representation of a program object's compiled and linked executable source
///
///
///
/// Specifies the name of a program object whose binary representation to retrieve.
///
///
///
///
/// Specifies the size of the buffer whose address is given by binary.
///
///
///
///
/// Specifies the address of a variable to receive the number of bytes written into binary.
///
///
///
///
/// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
///
///
///
///
/// Specifies the address an array into which the GL will return program's binary representation.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")]
public static
void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] ref T4 binary)
where T4 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
length = *length_ptr;
binaryFormat = *binaryFormat_ptr;
binary = (T4)binary_ptr.Target;
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a binary representation of a program object's compiled and linked executable source
///
///
///
/// Specifies the name of a program object whose binary representation to retrieve.
///
///
///
///
/// Specifies the size of the buffer whose address is given by binary.
///
///
///
///
/// Specifies the address of a variable to receive the number of bytes written into binary.
///
///
///
///
/// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
///
///
///
///
/// Specifies the address an array into which the GL will return program's binary representation.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")]
public static
unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [OutAttribute] IntPtr binary)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a binary representation of a program object's compiled and linked executable source
///
///
///
/// Specifies the name of a program object whose binary representation to retrieve.
///
///
///
///
/// Specifies the size of the buffer whose address is given by binary.
///
///
///
///
/// Specifies the address of a variable to receive the number of bytes written into binary.
///
///
///
///
/// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
///
///
///
///
/// Specifies the address an array into which the GL will return program's binary representation.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")]
public static
unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[] binary)
where T4 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject());
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a binary representation of a program object's compiled and linked executable source
///
///
///
/// Specifies the name of a program object whose binary representation to retrieve.
///
///
///
///
/// Specifies the size of the buffer whose address is given by binary.
///
///
///
///
/// Specifies the address of a variable to receive the number of bytes written into binary.
///
///
///
///
/// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
///
///
///
///
/// Specifies the address an array into which the GL will return program's binary representation.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")]
public static
unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[,] binary)
where T4 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject());
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a binary representation of a program object's compiled and linked executable source
///
///
///
/// Specifies the name of a program object whose binary representation to retrieve.
///
///
///
///
/// Specifies the size of the buffer whose address is given by binary.
///
///
///
///
/// Specifies the address of a variable to receive the number of bytes written into binary.
///
///
///
///
/// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
///
///
///
///
/// Specifies the address an array into which the GL will return program's binary representation.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")]
public static
unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary)
where T4 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject());
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a binary representation of a program object's compiled and linked executable source
///
///
///
/// Specifies the name of a program object whose binary representation to retrieve.
///
///
///
///
/// Specifies the size of the buffer whose address is given by binary.
///
///
///
///
/// Specifies the address of a variable to receive the number of bytes written into binary.
///
///
///
///
/// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
///
///
///
///
/// Specifies the address an array into which the GL will return program's binary representation.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")]
public static
unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] ref T4 binary)
where T4 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject());
binary = (T4)binary_ptr.Target;
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the information log for a program object
///
///
///
/// Specifies the program object whose information log is to be queried.
///
///
///
///
/// Specifies the size of the character buffer for storing the returned information log.
///
///
///
///
/// Returns the length of the string returned in infoLog (excluding the null terminator).
///
///
///
///
/// Specifies an array of characters that is used to return the information log.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
public static
void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the information log for a program object
///
///
///
/// Specifies the program object whose information log is to be queried.
///
///
///
///
/// Specifies the size of the character buffer for storing the returned information log.
///
///
///
///
/// Returns the length of the string returned in infoLog (excluding the null terminator).
///
///
///
///
/// Specifies an array of characters that is used to return the information log.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
public static
unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the information log for a program object
///
///
///
/// Specifies the program object whose information log is to be queried.
///
///
///
///
/// Specifies the size of the character buffer for storing the returned information log.
///
///
///
///
/// Returns the length of the string returned in infoLog (excluding the null terminator).
///
///
///
///
/// Specifies an array of characters that is used to return the information log.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
public static
void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the information log for a program object
///
///
///
/// Specifies the program object whose information log is to be queried.
///
///
///
///
/// Specifies the size of the character buffer for storing the returned information log.
///
///
///
///
/// Returns the length of the string returned in infoLog (excluding the null terminator).
///
///
///
///
/// Specifies an array of characters that is used to return the information log.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
public static
unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_COMPUTE_WORK_GROUP_SIZE GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE.
///
///
///
///
/// Returns the requested object parameter.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
public static
void GetProgram(Int32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_COMPUTE_WORK_GROUP_SIZE GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE.
///
///
///
///
/// Returns the requested object parameter.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
public static
void GetProgram(Int32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_COMPUTE_WORK_GROUP_SIZE GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE.
///
///
///
///
/// Returns the requested object parameter.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
public static
unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_COMPUTE_WORK_GROUP_SIZE GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE.
///
///
///
///
/// Returns the requested object parameter.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
public static
void GetProgram(Int32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_COMPUTE_WORK_GROUP_SIZE GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE.
///
///
///
///
/// Returns the requested object parameter.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
public static
void GetProgram(Int32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_COMPUTE_WORK_GROUP_SIZE GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE.
///
///
///
///
/// Returns the requested object parameter.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
public static
unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_COMPUTE_WORK_GROUP_SIZE GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE.
///
///
///
///
/// Returns the requested object parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
public static
void GetProgram(UInt32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_COMPUTE_WORK_GROUP_SIZE GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE.
///
///
///
///
/// Returns the requested object parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
public static
void GetProgram(UInt32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_COMPUTE_WORK_GROUP_SIZE GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE.
///
///
///
///
/// Returns the requested object parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
public static
unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_COMPUTE_WORK_GROUP_SIZE GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE.
///
///
///
///
/// Returns the requested object parameter.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
public static
void GetProgram(UInt32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_COMPUTE_WORK_GROUP_SIZE GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE.
///
///
///
///
/// Returns the requested object parameter.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
public static
void GetProgram(UInt32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a program object
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_COMPUTE_WORK_GROUP_SIZE GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE.
///
///
///
///
/// Returns the requested object parameter.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
public static
unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a query object target
///
///
///
/// Specifies a query object target. Must be GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED_CONSERVATIVE GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, GL_TIME_ELAPSED, or GL_TIMESTAMP.
///
///
///
///
/// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS.
///
///
///
///
/// Returns the requested data.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryiv")]
public static
void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetQueryiv((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a query object target
///
///
///
/// Specifies a query object target. Must be GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED_CONSERVATIVE GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, GL_TIME_ELAPSED, or GL_TIMESTAMP.
///
///
///
///
/// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS.
///
///
///
///
/// Returns the requested data.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryiv")]
public static
void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetQueryiv((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a query object target
///
///
///
/// Specifies a query object target. Must be GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED_CONSERVATIVE GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, GL_TIME_ELAPSED, or GL_TIMESTAMP.
///
///
///
///
/// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS.
///
///
///
///
/// Returns the requested data.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryiv")]
public static
unsafe void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryiv((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a query object target
///
///
///
/// Specifies a query object target. Must be GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED_CONSERVATIVE GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, GL_TIME_ELAPSED, or GL_TIMESTAMP.
///
///
///
///
/// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS.
///
///
///
///
/// Returns the requested data.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryiv")]
public static
void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetQueryiv((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a query object target
///
///
///
/// Specifies a query object target. Must be GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED_CONSERVATIVE GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, GL_TIME_ELAPSED, or GL_TIMESTAMP.
///
///
///
///
/// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS.
///
///
///
///
/// Returns the requested data.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryiv")]
public static
void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetQueryiv((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a query object target
///
///
///
/// Specifies a query object target. Must be GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED_CONSERVATIVE GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, GL_TIME_ELAPSED, or GL_TIMESTAMP.
///
///
///
///
/// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS.
///
///
///
///
/// Returns the requested data.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryiv")]
public static
unsafe void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryiv((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a query object
///
///
///
/// Specifies the name of a query object.
///
///
///
///
/// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
///
///
///
///
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
public static
void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a query object
///
///
///
/// Specifies the name of a query object.
///
///
///
///
/// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
///
///
///
///
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
public static
void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a query object
///
///
///
/// Specifies the name of a query object.
///
///
///
///
/// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
///
///
///
///
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
public static
unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a query object
///
///
///
/// Specifies the name of a query object.
///
///
///
///
/// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
///
///
///
///
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
public static
void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a query object
///
///
///
/// Specifies the name of a query object.
///
///
///
///
/// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
///
///
///
///
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
public static
void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a query object
///
///
///
/// Specifies the name of a query object.
///
///
///
///
/// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
///
///
///
///
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
public static
unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a query object
///
///
///
/// Specifies the name of a query object.
///
///
///
///
/// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
///
///
///
///
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* @params_ptr = @params)
{
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a query object
///
///
///
/// Specifies the name of a query object.
///
///
///
///
/// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
///
///
///
///
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out UInt32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* @params_ptr = &@params)
{
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a query object
///
///
///
/// Specifies the name of a query object.
///
///
///
///
/// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
///
///
///
///
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
public static
unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a query object
///
///
///
/// Specifies the name of a query object.
///
///
///
///
/// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
///
///
///
///
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* @params_ptr = @params)
{
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a query object
///
///
///
/// Specifies the name of a query object.
///
///
///
///
/// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
///
///
///
///
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out UInt32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* @params_ptr = &@params)
{
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return parameters of a query object
///
///
///
/// Specifies the name of a query object.
///
///
///
///
/// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
///
///
///
///
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
public static
unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Retrieve information about a bound renderbuffer object
///
///
///
/// Specifies the target of the query operation. target must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the parameter whose value to retrieve from the renderbuffer bound to target.
///
///
///
///
/// Specifies the address of an array to receive the value of the queried parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")]
public static
void GetRenderbufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferParameterName)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Retrieve information about a bound renderbuffer object
///
///
///
/// Specifies the target of the query operation. target must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the parameter whose value to retrieve from the renderbuffer bound to target.
///
///
///
///
/// Specifies the address of an array to receive the value of the queried parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")]
public static
void GetRenderbufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferParameterName)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Retrieve information about a bound renderbuffer object
///
///
///
/// Specifies the target of the query operation. target must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the parameter whose value to retrieve from the renderbuffer bound to target.
///
///
///
///
/// Specifies the address of an array to receive the value of the queried parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")]
public static
unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferParameterName)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Retrieve information about a bound renderbuffer object
///
///
///
/// Specifies the target of the query operation. target must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the parameter whose value to retrieve from the renderbuffer bound to target.
///
///
///
///
/// Specifies the address of an array to receive the value of the queried parameter.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")]
public static
void GetRenderbufferParameter(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferParameterName pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferParameterName)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Retrieve information about a bound renderbuffer object
///
///
///
/// Specifies the target of the query operation. target must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the parameter whose value to retrieve from the renderbuffer bound to target.
///
///
///
///
/// Specifies the address of an array to receive the value of the queried parameter.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")]
public static
void GetRenderbufferParameter(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferParameterName pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferParameterName)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Retrieve information about a bound renderbuffer object
///
///
///
/// Specifies the target of the query operation. target must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the parameter whose value to retrieve from the renderbuffer bound to target.
///
///
///
///
/// Specifies the address of an array to receive the value of the queried parameter.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")]
public static
unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferParameterName pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferParameterName)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")]
public static
void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = @params)
{
Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")]
public static
void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = &@params)
{
Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")]
public static
unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")]
public static
void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Single[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = @params)
{
Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")]
public static
void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] out Single @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = &@params)
{
Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")]
public static
unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Single* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")]
public static
void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = @params)
{
Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")]
public static
void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = &@params)
{
Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")]
public static
unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")]
public static
void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Single[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = @params)
{
Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")]
public static
void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] out Single @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = &@params)
{
Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")]
public static
unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Single* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")]
public static
void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")]
public static
void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")]
public static
unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")]
public static
void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")]
public static
void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")]
public static
unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")]
public static
void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")]
public static
void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")]
public static
unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")]
public static
void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")]
public static
void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return sampler parameter values
///
///
///
/// Specifies name of the sampler object from which to retrieve parameters.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted.
///
///
///
///
/// Returns the sampler parameters.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")]
public static
unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the information log for a shader object
///
///
///
/// Specifies the shader object whose information log is to be queried.
///
///
///
///
/// Specifies the size of the character buffer for storing the returned information log.
///
///
///
///
/// Returns the length of the string returned in infoLog (excluding the null terminator).
///
///
///
///
/// Specifies an array of characters that is used to return the information log.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
public static
void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the information log for a shader object
///
///
///
/// Specifies the shader object whose information log is to be queried.
///
///
///
///
/// Specifies the size of the character buffer for storing the returned information log.
///
///
///
///
/// Returns the length of the string returned in infoLog (excluding the null terminator).
///
///
///
///
/// Specifies an array of characters that is used to return the information log.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
public static
unsafe void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the information log for a shader object
///
///
///
/// Specifies the shader object whose information log is to be queried.
///
///
///
///
/// Specifies the size of the character buffer for storing the returned information log.
///
///
///
///
/// Returns the length of the string returned in infoLog (excluding the null terminator).
///
///
///
///
/// Specifies an array of characters that is used to return the information log.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
public static
void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the information log for a shader object
///
///
///
/// Specifies the shader object whose information log is to be queried.
///
///
///
///
/// Specifies the size of the character buffer for storing the returned information log.
///
///
///
///
/// Returns the length of the string returned in infoLog (excluding the null terminator).
///
///
///
///
/// Specifies an array of characters that is used to return the information log.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
public static
unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a shader object
///
///
///
/// Specifies the shader object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
///
///
///
///
/// Returns the requested object parameter.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
public static
void GetShader(Int32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a shader object
///
///
///
/// Specifies the shader object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
///
///
///
///
/// Returns the requested object parameter.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
public static
void GetShader(Int32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a shader object
///
///
///
/// Specifies the shader object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
///
///
///
///
/// Returns the requested object parameter.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
public static
unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a shader object
///
///
///
/// Specifies the shader object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
///
///
///
///
/// Returns the requested object parameter.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
public static
void GetShader(Int32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a shader object
///
///
///
/// Specifies the shader object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
///
///
///
///
/// Returns the requested object parameter.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
public static
void GetShader(Int32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a shader object
///
///
///
/// Specifies the shader object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
///
///
///
///
/// Returns the requested object parameter.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
public static
unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a shader object
///
///
///
/// Specifies the shader object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
///
///
///
///
/// Returns the requested object parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
public static
void GetShader(UInt32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a shader object
///
///
///
/// Specifies the shader object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
///
///
///
///
/// Returns the requested object parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
public static
void GetShader(UInt32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a shader object
///
///
///
/// Specifies the shader object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
///
///
///
///
/// Returns the requested object parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
public static
unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a shader object
///
///
///
/// Specifies the shader object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
///
///
///
///
/// Returns the requested object parameter.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
public static
void GetShader(UInt32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a shader object
///
///
///
/// Specifies the shader object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
///
///
///
///
/// Returns the requested object parameter.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
public static
void GetShader(UInt32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns a parameter from a shader object
///
///
///
/// Specifies the shader object to be queried.
///
///
///
///
/// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
///
///
///
///
/// Returns the requested object parameter.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
public static
unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Retrieve the range and precision for numeric formats supported by the shader compiler
///
///
///
/// Specifies the type of shader whose precision to query. shaderType must be GL_VERTEX_SHADER or GL_FRAGMENT_SHADER.
///
///
///
///
/// Specifies the numeric format whose precision and range to query.
///
///
///
///
/// Specifies the address of array of two integers into which encodings of the implementation's numeric range are returned.
///
///
///
///
/// Specifies the address of an integer into which the numeric precision of the implementation is written.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")]
public static
void GetShaderPrecisionFormat(OpenTK.Graphics.ES30.All shadertype, OpenTK.Graphics.ES30.All precisiontype, [OutAttribute] Int32[] range, [OutAttribute] Int32[] precision)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* range_ptr = range)
fixed (Int32* precision_ptr = precision)
{
Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES30.ShaderType)shadertype, (OpenTK.Graphics.ES30.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Retrieve the range and precision for numeric formats supported by the shader compiler
///
///
///
/// Specifies the type of shader whose precision to query. shaderType must be GL_VERTEX_SHADER or GL_FRAGMENT_SHADER.
///
///
///
///
/// Specifies the numeric format whose precision and range to query.
///
///
///
///
/// Specifies the address of array of two integers into which encodings of the implementation's numeric range are returned.
///
///
///
///
/// Specifies the address of an integer into which the numeric precision of the implementation is written.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")]
public static
void GetShaderPrecisionFormat(OpenTK.Graphics.ES30.All shadertype, OpenTK.Graphics.ES30.All precisiontype, [OutAttribute] out Int32 range, [OutAttribute] out Int32 precision)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* range_ptr = &range)
fixed (Int32* precision_ptr = &precision)
{
Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES30.ShaderType)shadertype, (OpenTK.Graphics.ES30.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr);
range = *range_ptr;
precision = *precision_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Retrieve the range and precision for numeric formats supported by the shader compiler
///
///
///
/// Specifies the type of shader whose precision to query. shaderType must be GL_VERTEX_SHADER or GL_FRAGMENT_SHADER.
///
///
///
///
/// Specifies the numeric format whose precision and range to query.
///
///
///
///
/// Specifies the address of array of two integers into which encodings of the implementation's numeric range are returned.
///
///
///
///
/// Specifies the address of an integer into which the numeric precision of the implementation is written.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")]
public static
unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES30.All shadertype, OpenTK.Graphics.ES30.All precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES30.ShaderType)shadertype, (OpenTK.Graphics.ES30.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Retrieve the range and precision for numeric formats supported by the shader compiler
///
///
///
/// Specifies the type of shader whose precision to query. shaderType must be GL_VERTEX_SHADER or GL_FRAGMENT_SHADER.
///
///
///
///
/// Specifies the numeric format whose precision and range to query.
///
///
///
///
/// Specifies the address of array of two integers into which encodings of the implementation's numeric range are returned.
///
///
///
///
/// Specifies the address of an integer into which the numeric precision of the implementation is written.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")]
public static
void GetShaderPrecisionFormat(OpenTK.Graphics.ES30.ShaderType shadertype, OpenTK.Graphics.ES30.ShaderPrecision precisiontype, [OutAttribute] Int32[] range, [OutAttribute] Int32[] precision)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* range_ptr = range)
fixed (Int32* precision_ptr = precision)
{
Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES30.ShaderType)shadertype, (OpenTK.Graphics.ES30.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Retrieve the range and precision for numeric formats supported by the shader compiler
///
///
///
/// Specifies the type of shader whose precision to query. shaderType must be GL_VERTEX_SHADER or GL_FRAGMENT_SHADER.
///
///
///
///
/// Specifies the numeric format whose precision and range to query.
///
///
///
///
/// Specifies the address of array of two integers into which encodings of the implementation's numeric range are returned.
///
///
///
///
/// Specifies the address of an integer into which the numeric precision of the implementation is written.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")]
public static
void GetShaderPrecisionFormat(OpenTK.Graphics.ES30.ShaderType shadertype, OpenTK.Graphics.ES30.ShaderPrecision precisiontype, [OutAttribute] out Int32 range, [OutAttribute] out Int32 precision)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* range_ptr = &range)
fixed (Int32* precision_ptr = &precision)
{
Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES30.ShaderType)shadertype, (OpenTK.Graphics.ES30.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr);
range = *range_ptr;
precision = *precision_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Retrieve the range and precision for numeric formats supported by the shader compiler
///
///
///
/// Specifies the type of shader whose precision to query. shaderType must be GL_VERTEX_SHADER or GL_FRAGMENT_SHADER.
///
///
///
///
/// Specifies the numeric format whose precision and range to query.
///
///
///
///
/// Specifies the address of array of two integers into which encodings of the implementation's numeric range are returned.
///
///
///
///
/// Specifies the address of an integer into which the numeric precision of the implementation is written.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")]
public static
unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES30.ShaderType shadertype, OpenTK.Graphics.ES30.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES30.ShaderType)shadertype, (OpenTK.Graphics.ES30.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the source code string from a shader object
///
///
///
/// Specifies the shader object to be queried.
///
///
///
///
/// Specifies the size of the character buffer for storing the returned source code string.
///
///
///
///
/// Returns the length of the string returned in source (excluding the null terminator).
///
///
///
///
/// Specifies an array of characters that is used to return the source code string.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")]
public static
void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)source);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the source code string from a shader object
///
///
///
/// Specifies the shader object to be queried.
///
///
///
///
/// Specifies the size of the character buffer for storing the returned source code string.
///
///
///
///
/// Returns the length of the string returned in source (excluding the null terminator).
///
///
///
///
/// Specifies an array of characters that is used to return the source code string.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")]
public static
unsafe void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)source);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the source code string from a shader object
///
///
///
/// Specifies the shader object to be queried.
///
///
///
///
/// Specifies the size of the character buffer for storing the returned source code string.
///
///
///
///
/// Returns the length of the string returned in source (excluding the null terminator).
///
///
///
///
/// Specifies an array of characters that is used to return the source code string.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")]
public static
void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)source);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the source code string from a shader object
///
///
///
/// Specifies the shader object to be queried.
///
///
///
///
/// Specifies the size of the character buffer for storing the returned source code string.
///
///
///
///
/// Returns the length of the string returned in source (excluding the null terminator).
///
///
///
///
/// Specifies an array of characters that is used to return the source code string.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")]
public static
unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)source);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a string describing the current GL connection
///
///
///
/// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, or GL_SHADING_LANGUAGE_VERSION. Additionally, glGetStringi accepts the GL_EXTENSIONS token.
///
///
///
///
/// For glGetStringi, specifies the index of the string to return.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetString")]
public static
String GetString(OpenTK.Graphics.ES30.All name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe { return new string((sbyte*)Delegates.glGetString((OpenTK.Graphics.ES30.StringName)name)); }
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a string describing the current GL connection
///
///
///
/// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, or GL_SHADING_LANGUAGE_VERSION. Additionally, glGetStringi accepts the GL_EXTENSIONS token.
///
///
///
///
/// For glGetStringi, specifies the index of the string to return.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetString")]
public static
String GetString(OpenTK.Graphics.ES30.StringName name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe { return new string((sbyte*)Delegates.glGetString((OpenTK.Graphics.ES30.StringName)name)); }
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a string describing the current GL connection
///
///
///
/// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, or GL_SHADING_LANGUAGE_VERSION. Additionally, glGetStringi accepts the GL_EXTENSIONS token.
///
///
///
///
/// For glGetStringi, specifies the index of the string to return.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")]
public static
String GetString(OpenTK.Graphics.ES30.All name, Int32 index)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe { return new string((sbyte*)Delegates.glGetStringi((OpenTK.Graphics.ES30.StringNameIndexed)name, (UInt32)index)); }
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a string describing the current GL connection
///
///
///
/// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, or GL_SHADING_LANGUAGE_VERSION. Additionally, glGetStringi accepts the GL_EXTENSIONS token.
///
///
///
///
/// For glGetStringi, specifies the index of the string to return.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")]
public static
String GetString(OpenTK.Graphics.ES30.All name, UInt32 index)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe { return new string((sbyte*)Delegates.glGetStringi((OpenTK.Graphics.ES30.StringNameIndexed)name, (UInt32)index)); }
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a string describing the current GL connection
///
///
///
/// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, or GL_SHADING_LANGUAGE_VERSION. Additionally, glGetStringi accepts the GL_EXTENSIONS token.
///
///
///
///
/// For glGetStringi, specifies the index of the string to return.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")]
public static
String GetString(OpenTK.Graphics.ES30.StringNameIndexed name, Int32 index)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe { return new string((sbyte*)Delegates.glGetStringi((OpenTK.Graphics.ES30.StringNameIndexed)name, (UInt32)index)); }
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Return a string describing the current GL connection
///
///
///
/// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, or GL_SHADING_LANGUAGE_VERSION. Additionally, glGetStringi accepts the GL_EXTENSIONS token.
///
///
///
///
/// For glGetStringi, specifies the index of the string to return.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")]
public static
String GetString(OpenTK.Graphics.ES30.StringNameIndexed name, UInt32 index)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe { return new string((sbyte*)Delegates.glGetStringi((OpenTK.Graphics.ES30.StringNameIndexed)name, (UInt32)index)); }
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Query the properties of a sync object
///
///
///
/// Specifies the sync object whose properties to query.
///
///
///
///
/// Specifies the parameter whose value to retrieve from the sync object specified in sync.
///
///
///
///
/// Specifies the size of the buffer whose address is given in values.
///
///
///
///
/// Specifies the address of an variable to receive the number of integers placed in values.
///
///
///
///
/// Specifies the address of an array to receive the values of the queried parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSynciv")]
public static
void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] Int32[] values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (Int32* values_ptr = values)
{
Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Query the properties of a sync object
///
///
///
/// Specifies the sync object whose properties to query.
///
///
///
///
/// Specifies the parameter whose value to retrieve from the sync object specified in sync.
///
///
///
///
/// Specifies the size of the buffer whose address is given in values.
///
///
///
///
/// Specifies the address of an variable to receive the number of integers placed in values.
///
///
///
///
/// Specifies the address of an array to receive the values of the queried parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSynciv")]
public static
void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (Int32* values_ptr = &values)
{
Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
length = *length_ptr;
values = *values_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Query the properties of a sync object
///
///
///
/// Specifies the sync object whose properties to query.
///
///
///
///
/// Specifies the parameter whose value to retrieve from the sync object specified in sync.
///
///
///
///
/// Specifies the size of the buffer whose address is given in values.
///
///
///
///
/// Specifies the address of an variable to receive the number of integers placed in values.
///
///
///
///
/// Specifies the address of an array to receive the values of the queried parameter.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSynciv")]
public static
unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Query the properties of a sync object
///
///
///
/// Specifies the sync object whose properties to query.
///
///
///
///
/// Specifies the parameter whose value to retrieve from the sync object specified in sync.
///
///
///
///
/// Specifies the size of the buffer whose address is given in values.
///
///
///
///
/// Specifies the address of an variable to receive the number of integers placed in values.
///
///
///
///
/// Specifies the address of an array to receive the values of the queried parameter.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSynciv")]
public static
void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] Int32[] values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (Int32* values_ptr = values)
{
Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
length = *length_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Query the properties of a sync object
///
///
///
/// Specifies the sync object whose properties to query.
///
///
///
///
/// Specifies the parameter whose value to retrieve from the sync object specified in sync.
///
///
///
///
/// Specifies the size of the buffer whose address is given in values.
///
///
///
///
/// Specifies the address of an variable to receive the number of integers placed in values.
///
///
///
///
/// Specifies the address of an array to receive the values of the queried parameter.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSynciv")]
public static
void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (Int32* values_ptr = &values)
{
Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
length = *length_ptr;
values = *values_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Query the properties of a sync object
///
///
///
/// Specifies the sync object whose properties to query.
///
///
///
///
/// Specifies the parameter whose value to retrieve from the sync object specified in sync.
///
///
///
///
/// Specifies the size of the buffer whose address is given in values.
///
///
///
///
/// Specifies the address of an variable to receive the number of integers placed in values.
///
///
///
///
/// Specifies the address of an array to receive the values of the queried parameter.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSynciv")]
public static
unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return texture parameter values
///
///
///
/// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, and GL_TEXTURE_CUBE_MAP_ARRAY are accepted.
///
///
///
///
/// Specifies the symbolic name of a texture parameter. GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_IMMUTABLE_FORMAT, GL_TEXTURE_IMMUTABLE_LEVELS, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_VIEW_MIN_LAYER, GL_TEXTURE_VIEW_MIN_LEVEL, GL_TEXTURE_VIEW_NUM_LAYERS, GL_TEXTURE_VIEW_NUM_LEVELS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
///
///
///
///
/// Returns the texture parameters.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
public static
void GetTexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = @params)
{
Delegates.glGetTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Single*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return texture parameter values
///
///
///
/// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, and GL_TEXTURE_CUBE_MAP_ARRAY are accepted.
///
///
///
///
/// Specifies the symbolic name of a texture parameter. GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_IMMUTABLE_FORMAT, GL_TEXTURE_IMMUTABLE_LEVELS, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_VIEW_MIN_LAYER, GL_TEXTURE_VIEW_MIN_LEVEL, GL_TEXTURE_VIEW_NUM_LAYERS, GL_TEXTURE_VIEW_NUM_LEVELS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
///
///
///
///
/// Returns the texture parameters.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
public static
void GetTexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = &@params)
{
Delegates.glGetTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Single*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return texture parameter values
///
///
///
/// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, and GL_TEXTURE_CUBE_MAP_ARRAY are accepted.
///
///
///
///
/// Specifies the symbolic name of a texture parameter. GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_IMMUTABLE_FORMAT, GL_TEXTURE_IMMUTABLE_LEVELS, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_VIEW_MIN_LAYER, GL_TEXTURE_VIEW_MIN_LEVEL, GL_TEXTURE_VIEW_NUM_LAYERS, GL_TEXTURE_VIEW_NUM_LEVELS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
///
///
///
///
/// Returns the texture parameters.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
public static
unsafe void GetTexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Single*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return texture parameter values
///
///
///
/// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, and GL_TEXTURE_CUBE_MAP_ARRAY are accepted.
///
///
///
///
/// Specifies the symbolic name of a texture parameter. GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_IMMUTABLE_FORMAT, GL_TEXTURE_IMMUTABLE_LEVELS, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_VIEW_MIN_LAYER, GL_TEXTURE_VIEW_MIN_LEVEL, GL_TEXTURE_VIEW_NUM_LAYERS, GL_TEXTURE_VIEW_NUM_LEVELS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
///
///
///
///
/// Returns the texture parameters.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
public static
void GetTexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Single[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = @params)
{
Delegates.glGetTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Single*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return texture parameter values
///
///
///
/// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, and GL_TEXTURE_CUBE_MAP_ARRAY are accepted.
///
///
///
///
/// Specifies the symbolic name of a texture parameter. GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_IMMUTABLE_FORMAT, GL_TEXTURE_IMMUTABLE_LEVELS, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_VIEW_MIN_LAYER, GL_TEXTURE_VIEW_MIN_LEVEL, GL_TEXTURE_VIEW_NUM_LAYERS, GL_TEXTURE_VIEW_NUM_LEVELS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
///
///
///
///
/// Returns the texture parameters.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
public static
void GetTexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] out Single @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = &@params)
{
Delegates.glGetTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Single*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return texture parameter values
///
///
///
/// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, and GL_TEXTURE_CUBE_MAP_ARRAY are accepted.
///
///
///
///
/// Specifies the symbolic name of a texture parameter. GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_IMMUTABLE_FORMAT, GL_TEXTURE_IMMUTABLE_LEVELS, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_VIEW_MIN_LAYER, GL_TEXTURE_VIEW_MIN_LEVEL, GL_TEXTURE_VIEW_NUM_LAYERS, GL_TEXTURE_VIEW_NUM_LEVELS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
///
///
///
///
/// Returns the texture parameters.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
public static
unsafe void GetTexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Single* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Single*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return texture parameter values
///
///
///
/// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, and GL_TEXTURE_CUBE_MAP_ARRAY are accepted.
///
///
///
///
/// Specifies the symbolic name of a texture parameter. GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_IMMUTABLE_FORMAT, GL_TEXTURE_IMMUTABLE_LEVELS, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_VIEW_MIN_LAYER, GL_TEXTURE_VIEW_MIN_LEVEL, GL_TEXTURE_VIEW_NUM_LAYERS, GL_TEXTURE_VIEW_NUM_LEVELS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
///
///
///
///
/// Returns the texture parameters.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
public static
void GetTexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return texture parameter values
///
///
///
/// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, and GL_TEXTURE_CUBE_MAP_ARRAY are accepted.
///
///
///
///
/// Specifies the symbolic name of a texture parameter. GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_IMMUTABLE_FORMAT, GL_TEXTURE_IMMUTABLE_LEVELS, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_VIEW_MIN_LAYER, GL_TEXTURE_VIEW_MIN_LEVEL, GL_TEXTURE_VIEW_NUM_LAYERS, GL_TEXTURE_VIEW_NUM_LEVELS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
///
///
///
///
/// Returns the texture parameters.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
public static
void GetTexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return texture parameter values
///
///
///
/// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, and GL_TEXTURE_CUBE_MAP_ARRAY are accepted.
///
///
///
///
/// Specifies the symbolic name of a texture parameter. GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_IMMUTABLE_FORMAT, GL_TEXTURE_IMMUTABLE_LEVELS, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_VIEW_MIN_LAYER, GL_TEXTURE_VIEW_MIN_LEVEL, GL_TEXTURE_VIEW_NUM_LAYERS, GL_TEXTURE_VIEW_NUM_LEVELS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
///
///
///
///
/// Returns the texture parameters.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
public static
unsafe void GetTexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return texture parameter values
///
///
///
/// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, and GL_TEXTURE_CUBE_MAP_ARRAY are accepted.
///
///
///
///
/// Specifies the symbolic name of a texture parameter. GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_IMMUTABLE_FORMAT, GL_TEXTURE_IMMUTABLE_LEVELS, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_VIEW_MIN_LAYER, GL_TEXTURE_VIEW_MIN_LEVEL, GL_TEXTURE_VIEW_NUM_LAYERS, GL_TEXTURE_VIEW_NUM_LEVELS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
///
///
///
///
/// Returns the texture parameters.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
public static
void GetTexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return texture parameter values
///
///
///
/// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, and GL_TEXTURE_CUBE_MAP_ARRAY are accepted.
///
///
///
///
/// Specifies the symbolic name of a texture parameter. GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_IMMUTABLE_FORMAT, GL_TEXTURE_IMMUTABLE_LEVELS, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_VIEW_MIN_LAYER, GL_TEXTURE_VIEW_MIN_LEVEL, GL_TEXTURE_VIEW_NUM_LAYERS, GL_TEXTURE_VIEW_NUM_LEVELS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
///
///
///
///
/// Returns the texture parameters.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
public static
void GetTexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return texture parameter values
///
///
///
/// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, and GL_TEXTURE_CUBE_MAP_ARRAY are accepted.
///
///
///
///
/// Specifies the symbolic name of a texture parameter. GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_IMMUTABLE_FORMAT, GL_TEXTURE_IMMUTABLE_LEVELS, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_VIEW_MIN_LAYER, GL_TEXTURE_VIEW_MIN_LEVEL, GL_TEXTURE_VIEW_NUM_LAYERS, GL_TEXTURE_VIEW_NUM_LEVELS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
///
///
///
///
/// Returns the texture parameters.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
public static
unsafe void GetTexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve information about varying variables selected for transform feedback
///
///
///
/// The name of the target program object.
///
///
///
///
/// The index of the varying variable whose information to retrieve.
///
///
///
///
/// The maximum number of characters, including the null terminator, that may be written into name.
///
///
///
///
/// The address of a variable which will receive the number of characters written into name, excluding the null-terminator. If length is NULL no length is returned.
///
///
///
///
/// The address of a variable that will receive the size of the varying.
///
///
///
///
/// The address of a variable that will recieve the type of the varying.
///
///
///
///
/// The address of a buffer into which will be written the name of the varying.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")]
public static
void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (Int32* size_ptr = &size)
fixed (OpenTK.Graphics.ES30.All* type_ptr = &type)
{
Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.TransformFeedbackType*)type_ptr, (StringBuilder)name);
length = *length_ptr;
size = *size_ptr;
type = *type_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve information about varying variables selected for transform feedback
///
///
///
/// The name of the target program object.
///
///
///
///
/// The index of the varying variable whose information to retrieve.
///
///
///
///
/// The maximum number of characters, including the null terminator, that may be written into name.
///
///
///
///
/// The address of a variable which will receive the number of characters written into name, excluding the null-terminator. If length is NULL no length is returned.
///
///
///
///
/// The address of a variable that will receive the size of the varying.
///
///
///
///
/// The address of a variable that will recieve the type of the varying.
///
///
///
///
/// The address of a buffer into which will be written the name of the varying.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")]
public static
void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.TransformFeedbackType type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (Int32* size_ptr = &size)
fixed (OpenTK.Graphics.ES30.TransformFeedbackType* type_ptr = &type)
{
Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.TransformFeedbackType*)type_ptr, (StringBuilder)name);
length = *length_ptr;
size = *size_ptr;
type = *type_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve information about varying variables selected for transform feedback
///
///
///
/// The name of the target program object.
///
///
///
///
/// The index of the varying variable whose information to retrieve.
///
///
///
///
/// The maximum number of characters, including the null terminator, that may be written into name.
///
///
///
///
/// The address of a variable which will receive the number of characters written into name, excluding the null-terminator. If length is NULL no length is returned.
///
///
///
///
/// The address of a variable that will receive the size of the varying.
///
///
///
///
/// The address of a variable that will recieve the type of the varying.
///
///
///
///
/// The address of a buffer into which will be written the name of the varying.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")]
public static
unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.TransformFeedbackType*)type, (StringBuilder)name);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve information about varying variables selected for transform feedback
///
///
///
/// The name of the target program object.
///
///
///
///
/// The index of the varying variable whose information to retrieve.
///
///
///
///
/// The maximum number of characters, including the null terminator, that may be written into name.
///
///
///
///
/// The address of a variable which will receive the number of characters written into name, excluding the null-terminator. If length is NULL no length is returned.
///
///
///
///
/// The address of a variable that will receive the size of the varying.
///
///
///
///
/// The address of a variable that will recieve the type of the varying.
///
///
///
///
/// The address of a buffer into which will be written the name of the varying.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")]
public static
unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.TransformFeedbackType* type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.TransformFeedbackType*)type, (StringBuilder)name);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve information about varying variables selected for transform feedback
///
///
///
/// The name of the target program object.
///
///
///
///
/// The index of the varying variable whose information to retrieve.
///
///
///
///
/// The maximum number of characters, including the null terminator, that may be written into name.
///
///
///
///
/// The address of a variable which will receive the number of characters written into name, excluding the null-terminator. If length is NULL no length is returned.
///
///
///
///
/// The address of a variable that will receive the size of the varying.
///
///
///
///
/// The address of a variable that will recieve the type of the varying.
///
///
///
///
/// The address of a buffer into which will be written the name of the varying.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")]
public static
void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (Int32* size_ptr = &size)
fixed (OpenTK.Graphics.ES30.All* type_ptr = &type)
{
Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.TransformFeedbackType*)type_ptr, (StringBuilder)name);
length = *length_ptr;
size = *size_ptr;
type = *type_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve information about varying variables selected for transform feedback
///
///
///
/// The name of the target program object.
///
///
///
///
/// The index of the varying variable whose information to retrieve.
///
///
///
///
/// The maximum number of characters, including the null terminator, that may be written into name.
///
///
///
///
/// The address of a variable which will receive the number of characters written into name, excluding the null-terminator. If length is NULL no length is returned.
///
///
///
///
/// The address of a variable that will receive the size of the varying.
///
///
///
///
/// The address of a variable that will recieve the type of the varying.
///
///
///
///
/// The address of a buffer into which will be written the name of the varying.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")]
public static
void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.TransformFeedbackType type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
fixed (Int32* size_ptr = &size)
fixed (OpenTK.Graphics.ES30.TransformFeedbackType* type_ptr = &type)
{
Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.TransformFeedbackType*)type_ptr, (StringBuilder)name);
length = *length_ptr;
size = *size_ptr;
type = *type_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve information about varying variables selected for transform feedback
///
///
///
/// The name of the target program object.
///
///
///
///
/// The index of the varying variable whose information to retrieve.
///
///
///
///
/// The maximum number of characters, including the null terminator, that may be written into name.
///
///
///
///
/// The address of a variable which will receive the number of characters written into name, excluding the null-terminator. If length is NULL no length is returned.
///
///
///
///
/// The address of a variable that will receive the size of the varying.
///
///
///
///
/// The address of a variable that will recieve the type of the varying.
///
///
///
///
/// The address of a buffer into which will be written the name of the varying.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")]
public static
unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.TransformFeedbackType*)type, (StringBuilder)name);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve information about varying variables selected for transform feedback
///
///
///
/// The name of the target program object.
///
///
///
///
/// The index of the varying variable whose information to retrieve.
///
///
///
///
/// The maximum number of characters, including the null terminator, that may be written into name.
///
///
///
///
/// The address of a variable which will receive the number of characters written into name, excluding the null-terminator. If length is NULL no length is returned.
///
///
///
///
/// The address of a variable that will receive the size of the varying.
///
///
///
///
/// The address of a variable that will recieve the type of the varying.
///
///
///
///
/// The address of a buffer into which will be written the name of the varying.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")]
public static
unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.TransformFeedbackType* type, [OutAttribute] StringBuilder name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.TransformFeedbackType*)type, (StringBuilder)name);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve the index of a named uniform block
///
///
///
/// Specifies the name of a program containing the uniform block.
///
///
///
///
/// Specifies the address an array of characters to containing the name of the uniform block whose index to retrieve.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformBlockIndex")]
public static
Int32 GetUniformBlockIndex(Int32 program, String uniformBlockName)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glGetUniformBlockIndex((UInt32)program, (String)uniformBlockName);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve the index of a named uniform block
///
///
///
/// Specifies the name of a program containing the uniform block.
///
///
///
///
/// Specifies the address an array of characters to containing the name of the uniform block whose index to retrieve.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformBlockIndex")]
public static
Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glGetUniformBlockIndex((UInt32)program, (String)uniformBlockName);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the value of a uniform variable
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the location of the uniform variable to be queried.
///
///
///
///
/// Returns the value of the specified uniform variable.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")]
public static
void GetUniform(Int32 program, Int32 location, [OutAttribute] Single[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = @params)
{
Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the value of a uniform variable
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the location of the uniform variable to be queried.
///
///
///
///
/// Returns the value of the specified uniform variable.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")]
public static
void GetUniform(Int32 program, Int32 location, [OutAttribute] out Single @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = &@params)
{
Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the value of a uniform variable
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the location of the uniform variable to be queried.
///
///
///
///
/// Returns the value of the specified uniform variable.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")]
public static
unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Single* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the value of a uniform variable
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the location of the uniform variable to be queried.
///
///
///
///
/// Returns the value of the specified uniform variable.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")]
public static
void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = @params)
{
Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the value of a uniform variable
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the location of the uniform variable to be queried.
///
///
///
///
/// Returns the value of the specified uniform variable.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")]
public static
void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Single @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = &@params)
{
Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the value of a uniform variable
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the location of the uniform variable to be queried.
///
///
///
///
/// Returns the value of the specified uniform variable.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")]
public static
unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve the index of a named uniform block
///
///
///
/// Specifies the name of a program containing uniforms whose indices to query.
///
///
///
///
/// Specifies the number of uniforms whose indices to query.
///
///
///
///
/// Specifies the address of an array of pointers to buffers containing the names of the queried uniforms.
///
///
///
///
/// Specifies the address of an array that will receive the indices of the uniforms.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformIndices")]
public static
void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] Int32[] uniformIndices)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* uniformIndices_ptr = uniformIndices)
{
Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve the index of a named uniform block
///
///
///
/// Specifies the name of a program containing uniforms whose indices to query.
///
///
///
///
/// Specifies the number of uniforms whose indices to query.
///
///
///
///
/// Specifies the address of an array of pointers to buffers containing the names of the queried uniforms.
///
///
///
///
/// Specifies the address of an array that will receive the indices of the uniforms.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformIndices")]
public static
void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] out Int32 uniformIndices)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* uniformIndices_ptr = &uniformIndices)
{
Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr);
uniformIndices = *uniformIndices_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve the index of a named uniform block
///
///
///
/// Specifies the name of a program containing uniforms whose indices to query.
///
///
///
///
/// Specifies the number of uniforms whose indices to query.
///
///
///
///
/// Specifies the address of an array of pointers to buffers containing the names of the queried uniforms.
///
///
///
///
/// Specifies the address of an array that will receive the indices of the uniforms.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformIndices")]
public static
unsafe void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] Int32* uniformIndices)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve the index of a named uniform block
///
///
///
/// Specifies the name of a program containing uniforms whose indices to query.
///
///
///
///
/// Specifies the number of uniforms whose indices to query.
///
///
///
///
/// Specifies the address of an array of pointers to buffers containing the names of the queried uniforms.
///
///
///
///
/// Specifies the address of an array that will receive the indices of the uniforms.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformIndices")]
public static
void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32[] uniformIndices)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* uniformIndices_ptr = uniformIndices)
{
Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve the index of a named uniform block
///
///
///
/// Specifies the name of a program containing uniforms whose indices to query.
///
///
///
///
/// Specifies the number of uniforms whose indices to query.
///
///
///
///
/// Specifies the address of an array of pointers to buffers containing the names of the queried uniforms.
///
///
///
///
/// Specifies the address of an array that will receive the indices of the uniforms.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformIndices")]
public static
void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] out UInt32 uniformIndices)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* uniformIndices_ptr = &uniformIndices)
{
Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr);
uniformIndices = *uniformIndices_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Retrieve the index of a named uniform block
///
///
///
/// Specifies the name of a program containing uniforms whose indices to query.
///
///
///
///
/// Specifies the number of uniforms whose indices to query.
///
///
///
///
/// Specifies the address of an array of pointers to buffers containing the names of the queried uniforms.
///
///
///
///
/// Specifies the address of an array that will receive the indices of the uniforms.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformIndices")]
public static
unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the value of a uniform variable
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the location of the uniform variable to be queried.
///
///
///
///
/// Returns the value of the specified uniform variable.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")]
public static
void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the value of a uniform variable
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the location of the uniform variable to be queried.
///
///
///
///
/// Returns the value of the specified uniform variable.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")]
public static
void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the value of a uniform variable
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the location of the uniform variable to be queried.
///
///
///
///
/// Returns the value of the specified uniform variable.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")]
public static
unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the value of a uniform variable
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the location of the uniform variable to be queried.
///
///
///
///
/// Returns the value of the specified uniform variable.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")]
public static
void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the value of a uniform variable
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the location of the uniform variable to be queried.
///
///
///
///
/// Returns the value of the specified uniform variable.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")]
public static
void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the value of a uniform variable
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the location of the uniform variable to be queried.
///
///
///
///
/// Returns the value of the specified uniform variable.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")]
public static
unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the location of a uniform variable
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Points to a null terminated string containing the name of the uniform variable whose location is to be queried.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")]
public static
Int32 GetUniformLocation(Int32 program, String name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glGetUniformLocation((UInt32)program, (String)name);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Returns the location of a uniform variable
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Points to a null terminated string containing the name of the uniform variable whose location is to be queried.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")]
public static
Int32 GetUniformLocation(UInt32 program, String name)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glGetUniformLocation((UInt32)program, (String)name);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Returns the value of a uniform variable
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the location of the uniform variable to be queried.
///
///
///
///
/// Returns the value of the specified uniform variable.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")]
public static
void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* @params_ptr = @params)
{
Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Returns the value of a uniform variable
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the location of the uniform variable to be queried.
///
///
///
///
/// Returns the value of the specified uniform variable.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")]
public static
void GetUniform(UInt32 program, Int32 location, [OutAttribute] out UInt32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* @params_ptr = &@params)
{
Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Returns the value of a uniform variable
///
///
///
/// Specifies the program object to be queried.
///
///
///
///
/// Specifies the location of the uniform variable to be queried.
///
///
///
///
/// Returns the value of the specified uniform variable.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")]
public static
unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
public static
void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = @params)
{
Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
public static
void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = &@params)
{
Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
public static
unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
public static
void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Single[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = @params)
{
Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
public static
void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] out Single @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = &@params)
{
Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
public static
unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Single* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
public static
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = @params)
{
Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
public static
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = &@params)
{
Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
public static
unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
public static
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Single[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = @params)
{
Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
public static
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] out Single @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = &@params)
{
Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
public static
unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Single* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")]
public static
void GetVertexAttribI(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")]
public static
unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")]
public static
void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")]
public static
unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")]
public static
void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out UInt32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* @params_ptr = &@params)
{
Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (UInt32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")]
public static
unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (UInt32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
public static
void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
public static
void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
public static
unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
public static
void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
public static
void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
public static
unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
public static
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
public static
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
public static
unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
public static
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
public static
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return a generic vertex attribute parameter
///
///
///
/// Specifies the generic vertex attribute parameter to be queried.
///
///
///
///
/// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
///
///
///
///
/// Returns the requested data.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
public static
unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return the address of the specified generic vertex attribute pointer
///
///
///
/// Specifies the generic vertex attribute parameter to be returned.
///
///
///
///
/// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
///
///
///
///
/// Returns the pointer value.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr pointer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return the address of the specified generic vertex attribute pointer
///
///
///
/// Specifies the generic vertex attribute parameter to be returned.
///
///
///
///
/// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
///
///
///
///
/// Returns the pointer value.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[] pointer)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
try
{
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
}
finally
{
pointer_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return the address of the specified generic vertex attribute pointer
///
///
///
/// Specifies the generic vertex attribute parameter to be returned.
///
///
///
///
/// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
///
///
///
///
/// Returns the pointer value.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,] pointer)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
try
{
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
}
finally
{
pointer_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return the address of the specified generic vertex attribute pointer
///
///
///
/// Specifies the generic vertex attribute parameter to be returned.
///
///
///
///
/// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
///
///
///
///
/// Returns the pointer value.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,,] pointer)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
try
{
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
}
finally
{
pointer_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return the address of the specified generic vertex attribute pointer
///
///
///
/// Specifies the generic vertex attribute parameter to be returned.
///
///
///
///
/// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
///
///
///
///
/// Returns the pointer value.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T2 pointer)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
try
{
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
pointer = (T2)pointer_ptr.Target;
}
finally
{
pointer_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return the address of the specified generic vertex attribute pointer
///
///
///
/// Specifies the generic vertex attribute parameter to be returned.
///
///
///
///
/// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
///
///
///
///
/// Returns the pointer value.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return the address of the specified generic vertex attribute pointer
///
///
///
/// Specifies the generic vertex attribute parameter to be returned.
///
///
///
///
/// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
///
///
///
///
/// Returns the pointer value.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
try
{
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
}
finally
{
pointer_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return the address of the specified generic vertex attribute pointer
///
///
///
/// Specifies the generic vertex attribute parameter to be returned.
///
///
///
///
/// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
///
///
///
///
/// Returns the pointer value.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
try
{
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
}
finally
{
pointer_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return the address of the specified generic vertex attribute pointer
///
///
///
/// Specifies the generic vertex attribute parameter to be returned.
///
///
///
///
/// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
///
///
///
///
/// Returns the pointer value.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
try
{
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
}
finally
{
pointer_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return the address of the specified generic vertex attribute pointer
///
///
///
/// Specifies the generic vertex attribute parameter to be returned.
///
///
///
///
/// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
///
///
///
///
/// Returns the pointer value.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
try
{
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
pointer = (T2)pointer_ptr.Target;
}
finally
{
pointer_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return the address of the specified generic vertex attribute pointer
///
///
///
/// Specifies the generic vertex attribute parameter to be returned.
///
///
///
///
/// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
///
///
///
///
/// Returns the pointer value.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr pointer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return the address of the specified generic vertex attribute pointer
///
///
///
/// Specifies the generic vertex attribute parameter to be returned.
///
///
///
///
/// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
///
///
///
///
/// Returns the pointer value.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[] pointer)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
try
{
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
}
finally
{
pointer_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return the address of the specified generic vertex attribute pointer
///
///
///
/// Specifies the generic vertex attribute parameter to be returned.
///
///
///
///
/// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
///
///
///
///
/// Returns the pointer value.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,] pointer)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
try
{
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
}
finally
{
pointer_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return the address of the specified generic vertex attribute pointer
///
///
///
/// Specifies the generic vertex attribute parameter to be returned.
///
///
///
///
/// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
///
///
///
///
/// Returns the pointer value.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,,] pointer)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
try
{
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
}
finally
{
pointer_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return the address of the specified generic vertex attribute pointer
///
///
///
/// Specifies the generic vertex attribute parameter to be returned.
///
///
///
///
/// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
///
///
///
///
/// Returns the pointer value.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T2 pointer)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
try
{
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
pointer = (T2)pointer_ptr.Target;
}
finally
{
pointer_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return the address of the specified generic vertex attribute pointer
///
///
///
/// Specifies the generic vertex attribute parameter to be returned.
///
///
///
///
/// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
///
///
///
///
/// Returns the pointer value.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return the address of the specified generic vertex attribute pointer
///
///
///
/// Specifies the generic vertex attribute parameter to be returned.
///
///
///
///
/// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
///
///
///
///
/// Returns the pointer value.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
try
{
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
}
finally
{
pointer_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return the address of the specified generic vertex attribute pointer
///
///
///
/// Specifies the generic vertex attribute parameter to be returned.
///
///
///
///
/// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
///
///
///
///
/// Returns the pointer value.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
try
{
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
}
finally
{
pointer_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return the address of the specified generic vertex attribute pointer
///
///
///
/// Specifies the generic vertex attribute parameter to be returned.
///
///
///
///
/// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
///
///
///
///
/// Returns the pointer value.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
try
{
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
}
finally
{
pointer_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Return the address of the specified generic vertex attribute pointer
///
///
///
/// Specifies the generic vertex attribute parameter to be returned.
///
///
///
///
/// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
///
///
///
///
/// Returns the pointer value.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
try
{
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
pointer = (T2)pointer_ptr.Target;
}
finally
{
pointer_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify implementation-specific hints
///
///
///
/// Specifies a symbolic constant indicating the behavior to be controlled. GL_LINE_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT, GL_TEXTURE_COMPRESSION_HINT, and GL_FRAGMENT_SHADER_DERIVATIVE_HINT are accepted.
///
///
///
///
/// Specifies a symbolic constant indicating the desired behavior. GL_FASTEST, GL_NICEST, and GL_DONT_CARE are accepted.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glHint")]
public static
void Hint(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All mode)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glHint((OpenTK.Graphics.ES30.HintTarget)target, (OpenTK.Graphics.ES30.HintMode)mode);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify implementation-specific hints
///
///
///
/// Specifies a symbolic constant indicating the behavior to be controlled. GL_LINE_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT, GL_TEXTURE_COMPRESSION_HINT, and GL_FRAGMENT_SHADER_DERIVATIVE_HINT are accepted.
///
///
///
///
/// Specifies a symbolic constant indicating the desired behavior. GL_FASTEST, GL_NICEST, and GL_DONT_CARE are accepted.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glHint")]
public static
void Hint(OpenTK.Graphics.ES30.HintTarget target, OpenTK.Graphics.ES30.HintMode mode)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glHint((OpenTK.Graphics.ES30.HintTarget)target, (OpenTK.Graphics.ES30.HintMode)mode);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Invalidate the content some or all of a framebuffer object's attachments
///
///
///
/// The target to which the framebuffer is attached. target must be GL_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER, or GL_READ_FRAMEBUFFER.
///
///
///
///
/// The number of entries in the attachments array.
///
///
///
///
/// The address of an array identifying the attachments to be invalidated.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateFramebuffer")]
public static
void InvalidateFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All[] attachments)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (OpenTK.Graphics.ES30.All* attachments_ptr = attachments)
{
Delegates.glInvalidateFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Invalidate the content some or all of a framebuffer object's attachments
///
///
///
/// The target to which the framebuffer is attached. target must be GL_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER, or GL_READ_FRAMEBUFFER.
///
///
///
///
/// The number of entries in the attachments array.
///
///
///
///
/// The address of an array identifying the attachments to be invalidated.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateFramebuffer")]
public static
void InvalidateFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, ref OpenTK.Graphics.ES30.All attachments)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (OpenTK.Graphics.ES30.All* attachments_ptr = &attachments)
{
Delegates.glInvalidateFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Invalidate the content some or all of a framebuffer object's attachments
///
///
///
/// The target to which the framebuffer is attached. target must be GL_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER, or GL_READ_FRAMEBUFFER.
///
///
///
///
/// The number of entries in the attachments array.
///
///
///
///
/// The address of an array identifying the attachments to be invalidated.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateFramebuffer")]
public static
unsafe void InvalidateFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All* attachments)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glInvalidateFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Invalidate the content some or all of a framebuffer object's attachments
///
///
///
/// The target to which the framebuffer is attached. target must be GL_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER, or GL_READ_FRAMEBUFFER.
///
///
///
///
/// The number of entries in the attachments array.
///
///
///
///
/// The address of an array identifying the attachments to be invalidated.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateFramebuffer")]
public static
void InvalidateFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment[] attachments)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (OpenTK.Graphics.ES30.FramebufferAttachment* attachments_ptr = attachments)
{
Delegates.glInvalidateFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Invalidate the content some or all of a framebuffer object's attachments
///
///
///
/// The target to which the framebuffer is attached. target must be GL_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER, or GL_READ_FRAMEBUFFER.
///
///
///
///
/// The number of entries in the attachments array.
///
///
///
///
/// The address of an array identifying the attachments to be invalidated.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateFramebuffer")]
public static
void InvalidateFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, ref OpenTK.Graphics.ES30.FramebufferAttachment attachments)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (OpenTK.Graphics.ES30.FramebufferAttachment* attachments_ptr = &attachments)
{
Delegates.glInvalidateFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Invalidate the content some or all of a framebuffer object's attachments
///
///
///
/// The target to which the framebuffer is attached. target must be GL_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER, or GL_READ_FRAMEBUFFER.
///
///
///
///
/// The number of entries in the attachments array.
///
///
///
///
/// The address of an array identifying the attachments to be invalidated.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateFramebuffer")]
public static
unsafe void InvalidateFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment* attachments)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glInvalidateFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Invalidate the content of a region of some or all of a framebuffer object's attachments
///
///
///
/// The target to which the framebuffer is attached. target must be GL_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER, or GL_READ_FRAMEBUFFER.
///
///
///
///
/// The number of entries in the attachments array.
///
///
///
///
/// The address of an array identifying the attachments to be invalidated.
///
///
///
///
/// The X offset of the region to be invalidated.
///
///
///
///
/// The Y offset of the region to be invalidated.
///
///
///
///
/// The width of the region to be invalidated.
///
///
///
///
/// The height of the region to be invalidated.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateSubFramebuffer")]
public static
void InvalidateSubFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All[] attachments, Int32 x, Int32 y, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (OpenTK.Graphics.ES30.All* attachments_ptr = attachments)
{
Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Invalidate the content of a region of some or all of a framebuffer object's attachments
///
///
///
/// The target to which the framebuffer is attached. target must be GL_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER, or GL_READ_FRAMEBUFFER.
///
///
///
///
/// The number of entries in the attachments array.
///
///
///
///
/// The address of an array identifying the attachments to be invalidated.
///
///
///
///
/// The X offset of the region to be invalidated.
///
///
///
///
/// The Y offset of the region to be invalidated.
///
///
///
///
/// The width of the region to be invalidated.
///
///
///
///
/// The height of the region to be invalidated.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateSubFramebuffer")]
public static
void InvalidateSubFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, ref OpenTK.Graphics.ES30.All attachments, Int32 x, Int32 y, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (OpenTK.Graphics.ES30.All* attachments_ptr = &attachments)
{
Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Invalidate the content of a region of some or all of a framebuffer object's attachments
///
///
///
/// The target to which the framebuffer is attached. target must be GL_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER, or GL_READ_FRAMEBUFFER.
///
///
///
///
/// The number of entries in the attachments array.
///
///
///
///
/// The address of an array identifying the attachments to be invalidated.
///
///
///
///
/// The X offset of the region to be invalidated.
///
///
///
///
/// The Y offset of the region to be invalidated.
///
///
///
///
/// The width of the region to be invalidated.
///
///
///
///
/// The height of the region to be invalidated.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateSubFramebuffer")]
public static
unsafe void InvalidateSubFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All* attachments, Int32 x, Int32 y, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Invalidate the content of a region of some or all of a framebuffer object's attachments
///
///
///
/// The target to which the framebuffer is attached. target must be GL_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER, or GL_READ_FRAMEBUFFER.
///
///
///
///
/// The number of entries in the attachments array.
///
///
///
///
/// The address of an array identifying the attachments to be invalidated.
///
///
///
///
/// The X offset of the region to be invalidated.
///
///
///
///
/// The Y offset of the region to be invalidated.
///
///
///
///
/// The width of the region to be invalidated.
///
///
///
///
/// The height of the region to be invalidated.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateSubFramebuffer")]
public static
void InvalidateSubFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment[] attachments, Int32 x, Int32 y, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (OpenTK.Graphics.ES30.FramebufferAttachment* attachments_ptr = attachments)
{
Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Invalidate the content of a region of some or all of a framebuffer object's attachments
///
///
///
/// The target to which the framebuffer is attached. target must be GL_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER, or GL_READ_FRAMEBUFFER.
///
///
///
///
/// The number of entries in the attachments array.
///
///
///
///
/// The address of an array identifying the attachments to be invalidated.
///
///
///
///
/// The X offset of the region to be invalidated.
///
///
///
///
/// The Y offset of the region to be invalidated.
///
///
///
///
/// The width of the region to be invalidated.
///
///
///
///
/// The height of the region to be invalidated.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateSubFramebuffer")]
public static
void InvalidateSubFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, ref OpenTK.Graphics.ES30.FramebufferAttachment attachments, Int32 x, Int32 y, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (OpenTK.Graphics.ES30.FramebufferAttachment* attachments_ptr = &attachments)
{
Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Invalidate the content of a region of some or all of a framebuffer object's attachments
///
///
///
/// The target to which the framebuffer is attached. target must be GL_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER, or GL_READ_FRAMEBUFFER.
///
///
///
///
/// The number of entries in the attachments array.
///
///
///
///
/// The address of an array identifying the attachments to be invalidated.
///
///
///
///
/// The X offset of the region to be invalidated.
///
///
///
///
/// The Y offset of the region to be invalidated.
///
///
///
///
/// The width of the region to be invalidated.
///
///
///
///
/// The height of the region to be invalidated.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateSubFramebuffer")]
public static
unsafe void InvalidateSubFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Determine if a name corresponds to a buffer object
///
///
///
/// Specifies a value that may be the name of a buffer object.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsBuffer")]
public static
bool IsBuffer(Int32 buffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsBuffer((UInt32)buffer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Determine if a name corresponds to a buffer object
///
///
///
/// Specifies a value that may be the name of a buffer object.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsBuffer")]
public static
bool IsBuffer(UInt32 buffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsBuffer((UInt32)buffer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Test whether a capability is enabled
///
///
///
/// Specifies a symbolic constant indicating a GL capability.
///
///
///
///
/// Specifies the index of the capability.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsEnabled")]
public static
bool IsEnabled(OpenTK.Graphics.ES30.All cap)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsEnabled((OpenTK.Graphics.ES30.EnableCap)cap);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Test whether a capability is enabled
///
///
///
/// Specifies a symbolic constant indicating a GL capability.
///
///
///
///
/// Specifies the index of the capability.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsEnabled")]
public static
bool IsEnabled(OpenTK.Graphics.ES30.EnableCap cap)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsEnabled((OpenTK.Graphics.ES30.EnableCap)cap);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Determine if a name corresponds to a framebuffer object
///
///
///
/// Specifies a value that may be the name of a framebuffer object.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsFramebuffer")]
public static
bool IsFramebuffer(Int32 framebuffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsFramebuffer((UInt32)framebuffer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Determine if a name corresponds to a framebuffer object
///
///
///
/// Specifies a value that may be the name of a framebuffer object.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsFramebuffer")]
public static
bool IsFramebuffer(UInt32 framebuffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsFramebuffer((UInt32)framebuffer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Determines if a name corresponds to a program object
///
///
///
/// Specifies a potential program object.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")]
public static
bool IsProgram(Int32 program)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsProgram((UInt32)program);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Determines if a name corresponds to a program object
///
///
///
/// Specifies a potential program object.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")]
public static
bool IsProgram(UInt32 program)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsProgram((UInt32)program);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Determine if a name corresponds to a query object
///
///
///
/// Specifies a value that may be the name of a query object.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsQuery")]
public static
bool IsQuery(Int32 id)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsQuery((UInt32)id);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Determine if a name corresponds to a query object
///
///
///
/// Specifies a value that may be the name of a query object.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsQuery")]
public static
bool IsQuery(UInt32 id)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsQuery((UInt32)id);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Determine if a name corresponds to a renderbuffer object
///
///
///
/// Specifies a value that may be the name of a renderbuffer object.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsRenderbuffer")]
public static
bool IsRenderbuffer(Int32 renderbuffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsRenderbuffer((UInt32)renderbuffer);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Determine if a name corresponds to a renderbuffer object
///
///
///
/// Specifies a value that may be the name of a renderbuffer object.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsRenderbuffer")]
public static
bool IsRenderbuffer(UInt32 renderbuffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsRenderbuffer((UInt32)renderbuffer);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Determine if a name corresponds to a sampler object
///
///
///
/// Specifies a value that may be the name of a sampler object.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsSampler")]
public static
bool IsSampler(Int32 sampler)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsSampler((UInt32)sampler);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Determine if a name corresponds to a sampler object
///
///
///
/// Specifies a value that may be the name of a sampler object.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsSampler")]
public static
bool IsSampler(UInt32 sampler)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsSampler((UInt32)sampler);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Determines if a name corresponds to a shader object
///
///
///
/// Specifies a potential shader object.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")]
public static
bool IsShader(Int32 shader)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsShader((UInt32)shader);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Determines if a name corresponds to a shader object
///
///
///
/// Specifies a potential shader object.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")]
public static
bool IsShader(UInt32 shader)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsShader((UInt32)shader);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Determine if a name corresponds to a sync object
///
///
///
/// Specifies a value that may be the name of a sync object.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsSync")]
public static
bool IsSync(IntPtr sync)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsSync((IntPtr)sync);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Determine if a name corresponds to a texture
///
///
///
/// Specifies a value that may be the name of a texture.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsTexture")]
public static
bool IsTexture(Int32 texture)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsTexture((UInt32)texture);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Determine if a name corresponds to a texture
///
///
///
/// Specifies a value that may be the name of a texture.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsTexture")]
public static
bool IsTexture(UInt32 texture)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsTexture((UInt32)texture);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Determine if a name corresponds to a transform feedback object
///
///
///
/// Specifies a value that may be the name of a transform feedback object.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsTransformFeedback")]
public static
bool IsTransformFeedback(Int32 id)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsTransformFeedback((UInt32)id);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Determine if a name corresponds to a transform feedback object
///
///
///
/// Specifies a value that may be the name of a transform feedback object.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsTransformFeedback")]
public static
bool IsTransformFeedback(UInt32 id)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsTransformFeedback((UInt32)id);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Determine if a name corresponds to a vertex array object
///
///
///
/// Specifies a value that may be the name of a vertex array object.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsVertexArray")]
public static
bool IsVertexArray(Int32 array)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsVertexArray((UInt32)array);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Determine if a name corresponds to a vertex array object
///
///
///
/// Specifies a value that may be the name of a vertex array object.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsVertexArray")]
public static
bool IsVertexArray(UInt32 array)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glIsVertexArray((UInt32)array);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify the width of rasterized lines
///
///
///
/// Specifies the width of rasterized lines. The initial value is 1.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glLineWidth")]
public static
void LineWidth(Single width)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glLineWidth((Single)width);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Links a program object
///
///
///
/// Specifies the handle of the program object to be linked.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")]
public static
void LinkProgram(Int32 program)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glLinkProgram((UInt32)program);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Links a program object
///
///
///
/// Specifies the handle of the program object to be linked.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")]
public static
void LinkProgram(UInt32 program)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glLinkProgram((UInt32)program);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Map a section of a buffer object's data store
///
///
///
/// Specifies a binding to which the target buffer is bound.
///
///
///
///
/// Specifies a the starting offset within the buffer of the range to be mapped.
///
///
///
///
/// Specifies a length of the range to be mapped.
///
///
///
///
/// Specifies a combination of access flags indicating the desired access to the range.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glMapBufferRange")]
public static
IntPtr MapBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length, OpenTK.Graphics.ES30.All access)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glMapBufferRange((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.ES30.BufferAccessMask)access);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Map a section of a buffer object's data store
///
///
///
/// Specifies a binding to which the target buffer is bound.
///
///
///
///
/// Specifies a the starting offset within the buffer of the range to be mapped.
///
///
///
///
/// Specifies a length of the range to be mapped.
///
///
///
///
/// Specifies a combination of access flags indicating the desired access to the range.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glMapBufferRange")]
public static
IntPtr MapBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.ES30.BufferAccessMask access)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glMapBufferRange((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.ES30.BufferAccessMask)access);
#if DEBUG
}
#endif
}
///
/// Label a named object identified within a namespace
///
///
///
/// The namespace from which the name of the object is allocated.
///
///
///
///
/// The name of the object to label.
///
///
///
///
/// The length of the label to be used for the object.
///
///
///
///
/// The address of a string containing the label to assign to the object.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")]
public static
void ObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 length, String label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label);
#if DEBUG
}
#endif
}
///
/// Label a named object identified within a namespace
///
///
///
/// The namespace from which the name of the object is allocated.
///
///
///
///
/// The name of the object to label.
///
///
///
///
/// The length of the label to be used for the object.
///
///
///
///
/// The address of a string containing the label to assign to the object.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")]
public static
void ObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 length, String label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label);
#if DEBUG
}
#endif
}
///
/// Label a named object identified within a namespace
///
///
///
/// The namespace from which the name of the object is allocated.
///
///
///
///
/// The name of the object to label.
///
///
///
///
/// The length of the label to be used for the object.
///
///
///
///
/// The address of a string containing the label to assign to the object.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")]
public static
void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label);
#if DEBUG
}
#endif
}
///
/// Label a named object identified within a namespace
///
///
///
/// The namespace from which the name of the object is allocated.
///
///
///
///
/// The name of the object to label.
///
///
///
///
/// The length of the label to be used for the object.
///
///
///
///
/// The address of a string containing the label to assign to the object.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")]
public static
void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label);
#if DEBUG
}
#endif
}
///
/// Label a a sync object identified by a pointer
///
///
///
/// A pointer identifying a sync object.
///
///
///
///
/// The length of the label to be used for the object.
///
///
///
///
/// The address of a string containing the label to assign to the object.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")]
public static
void ObjectPtrLabel(IntPtr ptr, Int32 length, String label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glObjectPtrLabel((IntPtr)ptr, (Int32)length, (String)label);
#if DEBUG
}
#endif
}
///
/// Label a a sync object identified by a pointer
///
///
///
/// A pointer identifying a sync object.
///
///
///
///
/// The length of the label to be used for the object.
///
///
///
///
/// The address of a string containing the label to assign to the object.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")]
public static
void ObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 length, String label)
where T0 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
try
{
Delegates.glObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label);
}
finally
{
ptr_ptr.Free();
}
#if DEBUG
}
#endif
}
///
/// Label a a sync object identified by a pointer
///
///
///
/// A pointer identifying a sync object.
///
///
///
///
/// The length of the label to be used for the object.
///
///
///
///
/// The address of a string containing the label to assign to the object.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")]
public static
void ObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 length, String label)
where T0 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
try
{
Delegates.glObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label);
}
finally
{
ptr_ptr.Free();
}
#if DEBUG
}
#endif
}
///
/// Label a a sync object identified by a pointer
///
///
///
/// A pointer identifying a sync object.
///
///
///
///
/// The length of the label to be used for the object.
///
///
///
///
/// The address of a string containing the label to assign to the object.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")]
public static
void ObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 length, String label)
where T0 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
try
{
Delegates.glObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label);
}
finally
{
ptr_ptr.Free();
}
#if DEBUG
}
#endif
}
///
/// Label a a sync object identified by a pointer
///
///
///
/// A pointer identifying a sync object.
///
///
///
///
/// The length of the label to be used for the object.
///
///
///
///
/// The address of a string containing the label to assign to the object.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")]
public static
void ObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 length, String label)
where T0 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
try
{
Delegates.glObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label);
ptr = (T0)ptr_ptr.Target;
}
finally
{
ptr_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Pause transform feedback operations
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glPauseTransformFeedback")]
public static
void PauseTransformFeedback()
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glPauseTransformFeedback();
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set pixel storage modes
///
///
///
/// Specifies the symbolic name of the parameter to be set. Six values affect the packing of pixel data into memory: GL_PACK_SWAP_BYTES, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_IMAGE_HEIGHT, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SKIP_IMAGES, and GL_PACK_ALIGNMENT. Six more affect the unpacking of pixel data from memory: GL_UNPACK_SWAP_BYTES, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_IMAGE_HEIGHT, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SKIP_IMAGES, and GL_UNPACK_ALIGNMENT.
///
///
///
///
/// Specifies the value that pname is set to.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glPixelStorei")]
public static
void PixelStore(OpenTK.Graphics.ES30.All pname, Int32 param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glPixelStorei((OpenTK.Graphics.ES30.PixelStoreParameter)pname, (Int32)param);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set pixel storage modes
///
///
///
/// Specifies the symbolic name of the parameter to be set. Six values affect the packing of pixel data into memory: GL_PACK_SWAP_BYTES, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_IMAGE_HEIGHT, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SKIP_IMAGES, and GL_PACK_ALIGNMENT. Six more affect the unpacking of pixel data from memory: GL_UNPACK_SWAP_BYTES, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_IMAGE_HEIGHT, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SKIP_IMAGES, and GL_UNPACK_ALIGNMENT.
///
///
///
///
/// Specifies the value that pname is set to.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glPixelStorei")]
public static
void PixelStore(OpenTK.Graphics.ES30.PixelStoreParameter pname, Int32 param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glPixelStorei((OpenTK.Graphics.ES30.PixelStoreParameter)pname, (Int32)param);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set the scale and units used to calculate depth values
///
///
///
/// Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0.
///
///
///
///
/// Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glPolygonOffset")]
public static
void PolygonOffset(Single factor, Single units)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glPolygonOffset((Single)factor, (Single)units);
#if DEBUG
}
#endif
}
///
/// Pop the active debug group
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPopDebugGroup")]
public static
void PopDebugGroup()
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glPopDebugGroup();
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Load a program object with a program binary
///
///
///
/// Specifies the name of a program object into which to load a program binary.
///
///
///
///
/// Specifies the format of the binary data in binary.
///
///
///
///
/// Specifies the address an array containing the binary to be loaded into program.
///
///
///
///
/// Specifies the number of bytes contained in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")]
public static
void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary, (Int32)length);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Load a program object with a program binary
///
///
///
/// Specifies the name of a program object into which to load a program binary.
///
///
///
///
/// Specifies the format of the binary data in binary.
///
///
///
///
/// Specifies the address an array containing the binary to be loaded into program.
///
///
///
///
/// Specifies the number of bytes contained in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")]
public static
void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Load a program object with a program binary
///
///
///
/// Specifies the name of a program object into which to load a program binary.
///
///
///
///
/// Specifies the format of the binary data in binary.
///
///
///
///
/// Specifies the address an array containing the binary to be loaded into program.
///
///
///
///
/// Specifies the number of bytes contained in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")]
public static
void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Load a program object with a program binary
///
///
///
/// Specifies the name of a program object into which to load a program binary.
///
///
///
///
/// Specifies the format of the binary data in binary.
///
///
///
///
/// Specifies the address an array containing the binary to be loaded into program.
///
///
///
///
/// Specifies the number of bytes contained in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")]
public static
void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Load a program object with a program binary
///
///
///
/// Specifies the name of a program object into which to load a program binary.
///
///
///
///
/// Specifies the format of the binary data in binary.
///
///
///
///
/// Specifies the address an array containing the binary to be loaded into program.
///
///
///
///
/// Specifies the number of bytes contained in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")]
public static
void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
binary = (T2)binary_ptr.Target;
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Load a program object with a program binary
///
///
///
/// Specifies the name of a program object into which to load a program binary.
///
///
///
///
/// Specifies the format of the binary data in binary.
///
///
///
///
/// Specifies the address an array containing the binary to be loaded into program.
///
///
///
///
/// Specifies the number of bytes contained in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")]
public static
void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary, (Int32)length);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Load a program object with a program binary
///
///
///
/// Specifies the name of a program object into which to load a program binary.
///
///
///
///
/// Specifies the format of the binary data in binary.
///
///
///
///
/// Specifies the address an array containing the binary to be loaded into program.
///
///
///
///
/// Specifies the number of bytes contained in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")]
public static
void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Load a program object with a program binary
///
///
///
/// Specifies the name of a program object into which to load a program binary.
///
///
///
///
/// Specifies the format of the binary data in binary.
///
///
///
///
/// Specifies the address an array containing the binary to be loaded into program.
///
///
///
///
/// Specifies the number of bytes contained in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")]
public static
void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Load a program object with a program binary
///
///
///
/// Specifies the name of a program object into which to load a program binary.
///
///
///
///
/// Specifies the format of the binary data in binary.
///
///
///
///
/// Specifies the address an array containing the binary to be loaded into program.
///
///
///
///
/// Specifies the number of bytes contained in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")]
public static
void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Load a program object with a program binary
///
///
///
/// Specifies the name of a program object into which to load a program binary.
///
///
///
///
/// Specifies the format of the binary data in binary.
///
///
///
///
/// Specifies the address an array containing the binary to be loaded into program.
///
///
///
///
/// Specifies the number of bytes contained in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")]
public static
void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length)
where T2 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
binary = (T2)binary_ptr.Target;
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a parameter for a program object
///
///
///
/// Specifies the name of a program object whose parameter to modify.
///
///
///
///
/// Specifies the name of the parameter to modify.
///
///
///
///
/// Specifies the new value of the parameter specified by pname for program.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramParameteri")]
public static
void ProgramParameter(Int32 program, OpenTK.Graphics.ES30.All pname, Int32 value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a parameter for a program object
///
///
///
/// Specifies the name of a program object whose parameter to modify.
///
///
///
///
/// Specifies the name of the parameter to modify.
///
///
///
///
/// Specifies the new value of the parameter specified by pname for program.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramParameteri")]
public static
void ProgramParameter(Int32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a parameter for a program object
///
///
///
/// Specifies the name of a program object whose parameter to modify.
///
///
///
///
/// Specifies the name of the parameter to modify.
///
///
///
///
/// Specifies the new value of the parameter specified by pname for program.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramParameteri")]
public static
void ProgramParameter(UInt32 program, OpenTK.Graphics.ES30.All pname, Int32 value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a parameter for a program object
///
///
///
/// Specifies the name of a program object whose parameter to modify.
///
///
///
///
/// Specifies the name of the parameter to modify.
///
///
///
///
/// Specifies the new value of the parameter specified by pname for program.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramParameteri")]
public static
void ProgramParameter(UInt32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value);
#if DEBUG
}
#endif
}
///
/// Push a named debug group into the command stream
///
///
///
/// The source of the debug message.
///
///
///
///
/// The identifier of the message.
///
///
///
///
/// The length of the message to be sent to the debug output stream.
///
///
///
///
/// The a string containing the message to be sent to the debug output stream.
///
///
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroup")]
public static
void PushDebugGroup(OpenTK.Graphics.ES30.All source, Int32 id, Int32 length, String message)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glPushDebugGroup((OpenTK.Graphics.ES30.All)source, (UInt32)id, (Int32)length, (String)message);
#if DEBUG
}
#endif
}
///
/// Push a named debug group into the command stream
///
///
///
/// The source of the debug message.
///
///
///
///
/// The identifier of the message.
///
///
///
///
/// The length of the message to be sent to the debug output stream.
///
///
///
///
/// The a string containing the message to be sent to the debug output stream.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroup")]
public static
void PushDebugGroup(OpenTK.Graphics.ES30.All source, UInt32 id, Int32 length, String message)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glPushDebugGroup((OpenTK.Graphics.ES30.All)source, (UInt32)id, (Int32)length, (String)message);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Select a color buffer source for pixels
///
///
///
/// Specifies a color buffer. Accepted values are GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, and the constants GL_COLOR_ATTACHMENTi.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glReadBuffer")]
public static
void ReadBuffer(OpenTK.Graphics.ES30.All mode)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glReadBuffer((OpenTK.Graphics.ES30.ReadBufferMode)mode);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Select a color buffer source for pixels
///
///
///
/// Specifies a color buffer. Accepted values are GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, and the constants GL_COLOR_ATTACHMENTi.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glReadBuffer")]
public static
void ReadBuffer(OpenTK.Graphics.ES30.ReadBufferMode mode)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glReadBuffer((OpenTK.Graphics.ES30.ReadBufferMode)mode);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Read a block of pixels from the frame buffer
///
///
///
/// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
///
///
///
///
/// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
///
///
///
///
/// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
///
///
///
///
/// Returns the pixel data.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")]
public static
void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [OutAttribute] IntPtr pixels)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Read a block of pixels from the frame buffer
///
///
///
/// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
///
///
///
///
/// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
///
///
///
///
/// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
///
///
///
///
/// Returns the pixel data.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")]
public static
void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T6[] pixels)
where T6 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Read a block of pixels from the frame buffer
///
///
///
/// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
///
///
///
///
/// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
///
///
///
///
/// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
///
///
///
///
/// Returns the pixel data.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")]
public static
void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T6[,] pixels)
where T6 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Read a block of pixels from the frame buffer
///
///
///
/// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
///
///
///
///
/// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
///
///
///
///
/// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
///
///
///
///
/// Returns the pixel data.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")]
public static
void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T6[,,] pixels)
where T6 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Read a block of pixels from the frame buffer
///
///
///
/// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
///
///
///
///
/// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
///
///
///
///
/// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
///
///
///
///
/// Returns the pixel data.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")]
public static
void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T6 pixels)
where T6 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
pixels = (T6)pixels_ptr.Target;
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Read a block of pixels from the frame buffer
///
///
///
/// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
///
///
///
///
/// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
///
///
///
///
/// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
///
///
///
///
/// Returns the pixel data.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")]
public static
void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [OutAttribute] IntPtr pixels)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Read a block of pixels from the frame buffer
///
///
///
/// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
///
///
///
///
/// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
///
///
///
///
/// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
///
///
///
///
/// Returns the pixel data.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")]
public static
void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T6[] pixels)
where T6 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Read a block of pixels from the frame buffer
///
///
///
/// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
///
///
///
///
/// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
///
///
///
///
/// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
///
///
///
///
/// Returns the pixel data.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")]
public static
void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T6[,] pixels)
where T6 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Read a block of pixels from the frame buffer
///
///
///
/// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
///
///
///
///
/// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
///
///
///
///
/// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
///
///
///
///
/// Returns the pixel data.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")]
public static
void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels)
where T6 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Read a block of pixels from the frame buffer
///
///
///
/// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
///
///
///
///
/// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
///
///
///
///
/// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
///
///
///
///
/// Returns the pixel data.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")]
public static
void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] ref T6 pixels)
where T6 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
pixels = (T6)pixels_ptr.Target;
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Release resources consumed by the implementation's shader compiler
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReleaseShaderCompiler")]
public static
void ReleaseShaderCompiler()
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glReleaseShaderCompiler();
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Establish data storage, format and dimensions of a renderbuffer object's image
///
///
///
/// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the internal format to use for the renderbuffer object's image.
///
///
///
///
/// Specifies the width of the renderbuffer, in pixels.
///
///
///
///
/// Specifies the height of the renderbuffer, in pixels.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glRenderbufferStorage")]
public static
void RenderbufferStorage(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glRenderbufferStorage((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Establish data storage, format and dimensions of a renderbuffer object's image
///
///
///
/// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the internal format to use for the renderbuffer object's image.
///
///
///
///
/// Specifies the width of the renderbuffer, in pixels.
///
///
///
///
/// Specifies the height of the renderbuffer, in pixels.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glRenderbufferStorage")]
public static
void RenderbufferStorage(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glRenderbufferStorage((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Establish data storage, format, dimensions and sample count of a renderbuffer object's image
///
///
///
/// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the number of samples to be used for the renderbuffer object's storage.
///
///
///
///
/// Specifies the internal format to use for the renderbuffer object's image.
///
///
///
///
/// Specifies the width of the renderbuffer, in pixels.
///
///
///
///
/// Specifies the height of the renderbuffer, in pixels.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glRenderbufferStorageMultisample")]
public static
void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.All target, Int32 samples, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glRenderbufferStorageMultisample((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Establish data storage, format, dimensions and sample count of a renderbuffer object's image
///
///
///
/// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER.
///
///
///
///
/// Specifies the number of samples to be used for the renderbuffer object's storage.
///
///
///
///
/// Specifies the internal format to use for the renderbuffer object's image.
///
///
///
///
/// Specifies the width of the renderbuffer, in pixels.
///
///
///
///
/// Specifies the height of the renderbuffer, in pixels.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glRenderbufferStorageMultisample")]
public static
void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glRenderbufferStorageMultisample((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Resume transform feedback operations
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glResumeTransformFeedback")]
public static
void ResumeTransformFeedback()
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glResumeTransformFeedback();
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify multisample coverage parameters
///
///
///
/// Specify a single floating-point sample coverage value. The value is clamped to the range [0 ,1]. The initial value is 1.0.
///
///
///
///
/// Specify a single boolean value representing if the coverage masks should be inverted. GL_TRUE and GL_FALSE are accepted. The initial value is GL_FALSE.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glSampleCoverage")]
public static
void SampleCoverage(Single value, bool invert)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glSampleCoverage((Single)value, (bool)invert);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterf")]
public static
void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Single param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glSamplerParameterf((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single)param);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterf")]
public static
void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glSamplerParameterf((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single)param);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterf")]
public static
void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Single param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glSamplerParameterf((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single)param);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterf")]
public static
void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glSamplerParameterf((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single)param);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")]
public static
void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Single[] param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* param_ptr = param)
{
Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)param_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")]
public static
unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Single* param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)param);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")]
public static
void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single[] param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* param_ptr = param)
{
Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)param_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")]
public static
unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single* param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)param);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")]
public static
void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Single[] param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* param_ptr = param)
{
Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)param_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")]
public static
unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Single* param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)param);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")]
public static
void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single[] param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* param_ptr = param)
{
Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)param_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")]
public static
unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single* param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)param);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteri")]
public static
void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Int32 param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glSamplerParameteri((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32)param);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteri")]
public static
void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32 param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glSamplerParameteri((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32)param);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteri")]
public static
void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Int32 param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glSamplerParameteri((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32)param);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteri")]
public static
void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32 param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glSamplerParameteri((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32)param);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")]
public static
void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Int32[] param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* param_ptr = param)
{
Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)param_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")]
public static
unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Int32* param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)param);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")]
public static
void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32[] param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* param_ptr = param)
{
Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)param_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")]
public static
unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32* param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)param);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")]
public static
void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Int32[] param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* param_ptr = param)
{
Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)param_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")]
public static
unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Int32* param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)param);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")]
public static
void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32[] param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* param_ptr = param)
{
Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)param_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Set sampler parameters
///
///
///
/// Specifies the sampler object whose parameter to modify.
///
///
///
///
/// Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")]
public static
unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32* param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)param);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Define the scissor box
///
///
///
/// Specify the lower left corner of the scissor box. Initially (0, 0).
///
///
///
///
/// Specify the width and height of the scissor box. When a GL context is first attached to a window, width and height are set to the dimensions of that window.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glScissor")]
public static
void Scissor(Int32 x, Int32 y, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* shaders_ptr = shaders)
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* shaders_ptr = shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* shaders_ptr = shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* shaders_ptr = shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* shaders_ptr = shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
binary = (T3)binary_ptr.Target;
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* shaders_ptr = shaders)
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* shaders_ptr = shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* shaders_ptr = shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* shaders_ptr = shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* shaders_ptr = shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
binary = (T3)binary_ptr.Target;
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* shaders_ptr = &shaders)
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* shaders_ptr = &shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* shaders_ptr = &shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* shaders_ptr = &shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* shaders_ptr = &shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
binary = (T3)binary_ptr.Target;
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* shaders_ptr = &shaders)
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* shaders_ptr = &shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* shaders_ptr = &shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* shaders_ptr = &shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* shaders_ptr = &shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
binary = (T3)binary_ptr.Target;
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
binary = (T3)binary_ptr.Target;
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
binary = (T3)binary_ptr.Target;
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* shaders_ptr = shaders)
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* shaders_ptr = shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* shaders_ptr = shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* shaders_ptr = shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* shaders_ptr = shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
binary = (T3)binary_ptr.Target;
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* shaders_ptr = shaders)
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* shaders_ptr = shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* shaders_ptr = shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* shaders_ptr = shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* shaders_ptr = shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
binary = (T3)binary_ptr.Target;
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* shaders_ptr = &shaders)
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* shaders_ptr = &shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* shaders_ptr = &shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* shaders_ptr = &shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* shaders_ptr = &shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
binary = (T3)binary_ptr.Target;
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* shaders_ptr = &shaders)
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* shaders_ptr = &shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* shaders_ptr = &shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* shaders_ptr = &shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (UInt32* shaders_ptr = &shaders)
{
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
binary = (T3)binary_ptr.Target;
}
finally
{
binary_ptr.Free();
}
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
binary = (T3)binary_ptr.Target;
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Load pre-compiled shader binaries
///
///
///
/// Specifies the number of shader object handles contained in shaders.
///
///
///
///
/// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
///
///
///
///
/// Specifies the format of the shader binaries contained in binary.
///
///
///
///
/// Specifies the address of an array of bytes containing pre-compiled binary shader code.
///
///
///
///
/// Specifies the length of the array whose address is given in binary.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
where T3 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
try
{
Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
binary = (T3)binary_ptr.Target;
}
finally
{
binary_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Replaces the source code in a shader object
///
///
///
/// Specifies the handle of the shader object whose source code is to be replaced.
///
///
///
///
/// Specifies the number of elements in the string and length arrays.
///
///
///
///
/// Specifies an array of pointers to strings containing the source code to be loaded into the shader.
///
///
///
///
/// Specifies an array of string lengths.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")]
public static
void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32[] length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = length)
{
Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Replaces the source code in a shader object
///
///
///
/// Specifies the handle of the shader object whose source code is to be replaced.
///
///
///
///
/// Specifies the number of elements in the string and length arrays.
///
///
///
///
/// Specifies an array of pointers to strings containing the source code to be loaded into the shader.
///
///
///
///
/// Specifies an array of string lengths.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")]
public static
void ShaderSource(Int32 shader, Int32 count, String[] @string, ref Int32 length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Replaces the source code in a shader object
///
///
///
/// Specifies the handle of the shader object whose source code is to be replaced.
///
///
///
///
/// Specifies the number of elements in the string and length arrays.
///
///
///
///
/// Specifies an array of pointers to strings containing the source code to be loaded into the shader.
///
///
///
///
/// Specifies an array of string lengths.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")]
public static
unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Replaces the source code in a shader object
///
///
///
/// Specifies the handle of the shader object whose source code is to be replaced.
///
///
///
///
/// Specifies the number of elements in the string and length arrays.
///
///
///
///
/// Specifies an array of pointers to strings containing the source code to be loaded into the shader.
///
///
///
///
/// Specifies an array of string lengths.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")]
public static
void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32[] length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = length)
{
Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Replaces the source code in a shader object
///
///
///
/// Specifies the handle of the shader object whose source code is to be replaced.
///
///
///
///
/// Specifies the number of elements in the string and length arrays.
///
///
///
///
/// Specifies an array of pointers to strings containing the source code to be loaded into the shader.
///
///
///
///
/// Specifies an array of string lengths.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")]
public static
void ShaderSource(UInt32 shader, Int32 count, String[] @string, ref Int32 length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* length_ptr = &length)
{
Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Replaces the source code in a shader object
///
///
///
/// Specifies the handle of the shader object whose source code is to be replaced.
///
///
///
///
/// Specifies the number of elements in the string and length arrays.
///
///
///
///
/// Specifies an array of pointers to strings containing the source code to be loaded into the shader.
///
///
///
///
/// Specifies an array of string lengths.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")]
public static
unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set front and back function and reference value for stencil testing
///
///
///
/// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS.
///
///
///
///
/// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0.
///
///
///
///
/// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")]
public static
void StencilFunc(OpenTK.Graphics.ES30.All func, Int32 @ref, Int32 mask)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilFunc((OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set front and back function and reference value for stencil testing
///
///
///
/// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS.
///
///
///
///
/// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0.
///
///
///
///
/// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")]
public static
void StencilFunc(OpenTK.Graphics.ES30.All func, Int32 @ref, UInt32 mask)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilFunc((OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set front and back function and reference value for stencil testing
///
///
///
/// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS.
///
///
///
///
/// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0.
///
///
///
///
/// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")]
public static
void StencilFunc(OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, Int32 mask)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilFunc((OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set front and back function and reference value for stencil testing
///
///
///
/// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS.
///
///
///
///
/// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0.
///
///
///
///
/// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")]
public static
void StencilFunc(OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, UInt32 mask)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilFunc((OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set front and/or back function and reference value for stencil testing
///
///
///
/// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
///
///
///
///
/// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS.
///
///
///
///
/// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0.
///
///
///
///
/// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
public static
void StencilFuncSeparate(OpenTK.Graphics.ES30.All face, OpenTK.Graphics.ES30.All func, Int32 @ref, Int32 mask)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set front and/or back function and reference value for stencil testing
///
///
///
/// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
///
///
///
///
/// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS.
///
///
///
///
/// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0.
///
///
///
///
/// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
public static
void StencilFuncSeparate(OpenTK.Graphics.ES30.All face, OpenTK.Graphics.ES30.All func, Int32 @ref, UInt32 mask)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set front and/or back function and reference value for stencil testing
///
///
///
/// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
///
///
///
///
/// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS.
///
///
///
///
/// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0.
///
///
///
///
/// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
public static
void StencilFuncSeparate(OpenTK.Graphics.ES30.StencilFace face, OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, Int32 mask)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set front and/or back function and reference value for stencil testing
///
///
///
/// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
///
///
///
///
/// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS.
///
///
///
///
/// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0.
///
///
///
///
/// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
public static
void StencilFuncSeparate(OpenTK.Graphics.ES30.StencilFace face, OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, UInt32 mask)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Control the front and back writing of individual bits in the stencil planes
///
///
///
/// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMask")]
public static
void StencilMask(Int32 mask)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilMask((UInt32)mask);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Control the front and back writing of individual bits in the stencil planes
///
///
///
/// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMask")]
public static
void StencilMask(UInt32 mask)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilMask((UInt32)mask);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Control the front and/or back writing of individual bits in the stencil planes
///
///
///
/// Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
///
///
///
///
/// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")]
public static
void StencilMaskSeparate(OpenTK.Graphics.ES30.All face, Int32 mask)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES30.StencilFace)face, (UInt32)mask);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Control the front and/or back writing of individual bits in the stencil planes
///
///
///
/// Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
///
///
///
///
/// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")]
public static
void StencilMaskSeparate(OpenTK.Graphics.ES30.All face, UInt32 mask)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES30.StencilFace)face, (UInt32)mask);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Control the front and/or back writing of individual bits in the stencil planes
///
///
///
/// Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
///
///
///
///
/// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")]
public static
void StencilMaskSeparate(OpenTK.Graphics.ES30.StencilFace face, Int32 mask)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES30.StencilFace)face, (UInt32)mask);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Control the front and/or back writing of individual bits in the stencil planes
///
///
///
/// Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
///
///
///
///
/// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")]
public static
void StencilMaskSeparate(OpenTK.Graphics.ES30.StencilFace face, UInt32 mask)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES30.StencilFace)face, (UInt32)mask);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set front and back stencil test actions
///
///
///
/// Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP.
///
///
///
///
/// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP.
///
///
///
///
/// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOp")]
public static
void StencilOp(OpenTK.Graphics.ES30.All fail, OpenTK.Graphics.ES30.All zfail, OpenTK.Graphics.ES30.All zpass)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilOp((OpenTK.Graphics.ES30.StencilOp)fail, (OpenTK.Graphics.ES30.StencilOp)zfail, (OpenTK.Graphics.ES30.StencilOp)zpass);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set front and back stencil test actions
///
///
///
/// Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP.
///
///
///
///
/// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP.
///
///
///
///
/// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOp")]
public static
void StencilOp(OpenTK.Graphics.ES30.StencilOp fail, OpenTK.Graphics.ES30.StencilOp zfail, OpenTK.Graphics.ES30.StencilOp zpass)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilOp((OpenTK.Graphics.ES30.StencilOp)fail, (OpenTK.Graphics.ES30.StencilOp)zfail, (OpenTK.Graphics.ES30.StencilOp)zpass);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set front and/or back stencil test actions
///
///
///
/// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
///
///
///
///
/// Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP.
///
///
///
///
/// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP.
///
///
///
///
/// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")]
public static
void StencilOpSeparate(OpenTK.Graphics.ES30.All face, OpenTK.Graphics.ES30.All sfail, OpenTK.Graphics.ES30.All dpfail, OpenTK.Graphics.ES30.All dppass)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilOpSeparate((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilOp)sfail, (OpenTK.Graphics.ES30.StencilOp)dpfail, (OpenTK.Graphics.ES30.StencilOp)dppass);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set front and/or back stencil test actions
///
///
///
/// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
///
///
///
///
/// Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP.
///
///
///
///
/// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP.
///
///
///
///
/// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")]
public static
void StencilOpSeparate(OpenTK.Graphics.ES30.StencilFace face, OpenTK.Graphics.ES30.StencilOp sfail, OpenTK.Graphics.ES30.StencilOp dpfail, OpenTK.Graphics.ES30.StencilOp dppass)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilOpSeparate((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilOp)sfail, (OpenTK.Graphics.ES30.StencilOp)dpfail, (OpenTK.Graphics.ES30.StencilOp)dppass);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture image
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
///
///
///
///
/// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
///
///
///
///
/// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
///
///
///
///
/// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
public static
void TexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture image
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
///
///
///
///
/// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
///
///
///
///
/// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
///
///
///
///
/// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
public static
void TexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T8[] pixels)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture image
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
///
///
///
///
/// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
///
///
///
///
/// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
///
///
///
///
/// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
public static
void TexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T8[,] pixels)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture image
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
///
///
///
///
/// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
///
///
///
///
/// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
///
///
///
///
/// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
public static
void TexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T8[,,] pixels)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture image
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
///
///
///
///
/// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
///
///
///
///
/// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
///
///
///
///
/// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
public static
void TexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T8 pixels)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
pixels = (T8)pixels_ptr.Target;
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture image
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
///
///
///
///
/// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
///
///
///
///
/// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
///
///
///
///
/// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
public static
void TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture image
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
///
///
///
///
/// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
///
///
///
///
/// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
///
///
///
///
/// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
public static
void TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T8[] pixels)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture image
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
///
///
///
///
/// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
///
///
///
///
/// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
///
///
///
///
/// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
public static
void TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T8[,] pixels)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture image
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
///
///
///
///
/// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
///
///
///
///
/// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
///
///
///
///
/// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
public static
void TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture image
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
///
///
///
///
/// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
///
///
///
///
/// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
///
///
///
///
/// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
public static
void TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] ref T8 pixels)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
pixels = (T8)pixels_ptr.Target;
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture image
///
///
///
/// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image.
///
///
///
///
/// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high.
///
///
///
///
/// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")]
public static
void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture image
///
///
///
/// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image.
///
///
///
///
/// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high.
///
///
///
///
/// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")]
public static
void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T9[] pixels)
where T9 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture image
///
///
///
/// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image.
///
///
///
///
/// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high.
///
///
///
///
/// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")]
public static
void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T9[,] pixels)
where T9 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture image
///
///
///
/// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image.
///
///
///
///
/// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high.
///
///
///
///
/// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")]
public static
void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T9[,,] pixels)
where T9 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture image
///
///
///
/// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image.
///
///
///
///
/// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high.
///
///
///
///
/// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")]
public static
void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T9 pixels)
where T9 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
pixels = (T9)pixels_ptr.Target;
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture image
///
///
///
/// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image.
///
///
///
///
/// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high.
///
///
///
///
/// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")]
public static
void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture image
///
///
///
/// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image.
///
///
///
///
/// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high.
///
///
///
///
/// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")]
public static
void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T9[] pixels)
where T9 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture image
///
///
///
/// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image.
///
///
///
///
/// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high.
///
///
///
///
/// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")]
public static
void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T9[,] pixels)
where T9 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture image
///
///
///
/// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image.
///
///
///
///
/// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high.
///
///
///
///
/// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")]
public static
void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels)
where T9 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture image
///
///
///
/// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image.
///
///
///
///
/// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
///
///
///
///
/// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
///
///
///
///
/// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high.
///
///
///
///
/// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep.
///
///
///
///
/// This value must be 0.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")]
public static
void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] ref T9 pixels)
where T9 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
pixels = (T9)pixels_ptr.Target;
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set texture parameters
///
///
///
/// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
///
///
/// For the vector commands (glTexParameter*v), pname can also be one of GL_TEXTURE_BORDER_COLOR or GL_TEXTURE_SWIZZLE_RGBA.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands, specifies a pointer to an array where the value or values of pname are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterf")]
public static
void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Single param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexParameterf((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Single)param);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set texture parameters
///
///
///
/// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
///
///
/// For the vector commands (glTexParameter*v), pname can also be one of GL_TEXTURE_BORDER_COLOR or GL_TEXTURE_SWIZZLE_RGBA.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands, specifies a pointer to an array where the value or values of pname are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterf")]
public static
void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexParameterf((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Single)param);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set texture parameters
///
///
///
/// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
///
///
/// For the vector commands (glTexParameter*v), pname can also be one of GL_TEXTURE_BORDER_COLOR or GL_TEXTURE_SWIZZLE_RGBA.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands, specifies a pointer to an array where the value or values of pname are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")]
public static
void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Single[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = @params)
{
Delegates.glTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Single*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set texture parameters
///
///
///
/// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
///
///
/// For the vector commands (glTexParameter*v), pname can also be one of GL_TEXTURE_BORDER_COLOR or GL_TEXTURE_SWIZZLE_RGBA.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands, specifies a pointer to an array where the value or values of pname are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")]
public static
unsafe void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Single* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Single*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set texture parameters
///
///
///
/// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
///
///
/// For the vector commands (glTexParameter*v), pname can also be one of GL_TEXTURE_BORDER_COLOR or GL_TEXTURE_SWIZZLE_RGBA.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands, specifies a pointer to an array where the value or values of pname are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")]
public static
void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Single* @params_ptr = @params)
{
Delegates.glTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Single*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set texture parameters
///
///
///
/// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
///
///
/// For the vector commands (glTexParameter*v), pname can also be one of GL_TEXTURE_BORDER_COLOR or GL_TEXTURE_SWIZZLE_RGBA.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands, specifies a pointer to an array where the value or values of pname are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")]
public static
unsafe void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Single*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set texture parameters
///
///
///
/// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
///
///
/// For the vector commands (glTexParameter*v), pname can also be one of GL_TEXTURE_BORDER_COLOR or GL_TEXTURE_SWIZZLE_RGBA.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands, specifies a pointer to an array where the value or values of pname are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteri")]
public static
void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Int32 param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexParameteri((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Int32)param);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set texture parameters
///
///
///
/// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
///
///
/// For the vector commands (glTexParameter*v), pname can also be one of GL_TEXTURE_BORDER_COLOR or GL_TEXTURE_SWIZZLE_RGBA.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands, specifies a pointer to an array where the value or values of pname are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteri")]
public static
void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Int32 param)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexParameteri((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Int32)param);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set texture parameters
///
///
///
/// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
///
///
/// For the vector commands (glTexParameter*v), pname can also be one of GL_TEXTURE_BORDER_COLOR or GL_TEXTURE_SWIZZLE_RGBA.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands, specifies a pointer to an array where the value or values of pname are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")]
public static
void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set texture parameters
///
///
///
/// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
///
///
/// For the vector commands (glTexParameter*v), pname can also be one of GL_TEXTURE_BORDER_COLOR or GL_TEXTURE_SWIZZLE_RGBA.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands, specifies a pointer to an array where the value or values of pname are stored.
///
///
[Obsolete("Use strongly-typed overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")]
public static
unsafe void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set texture parameters
///
///
///
/// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
///
///
/// For the vector commands (glTexParameter*v), pname can also be one of GL_TEXTURE_BORDER_COLOR or GL_TEXTURE_SWIZZLE_RGBA.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands, specifies a pointer to an array where the value or values of pname are stored.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")]
public static
void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
unsafe
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Set texture parameters
///
///
///
/// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
///
///
/// For the vector commands (glTexParameter*v), pname can also be one of GL_TEXTURE_BORDER_COLOR or GL_TEXTURE_SWIZZLE_RGBA.
///
///
///
///
/// For the scalar commands, specifies the value of pname.
///
///
///
///
/// For the vector commands, specifies a pointer to an array where the value or values of pname are stored.
///
///
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")]
public static
unsafe void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Int32*)@params);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture
///
///
///
/// Specify the target of the operation. target must be one of GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specify the number of texture levels.
///
///
///
///
/// Specifies the sized internal format to be used to store texture image data.
///
///
///
///
/// Specifies the width of the texture, in texels.
///
///
///
///
/// Specifies the height of the texture, in texels.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexStorage2D")]
public static
void TexStorage2D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexStorage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture
///
///
///
/// Specify the target of the operation. target must be one of GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, or GL_PROXY_TEXTURE_CUBE_MAP.
///
///
///
///
/// Specify the number of texture levels.
///
///
///
///
/// Specifies the sized internal format to be used to store texture image data.
///
///
///
///
/// Specifies the width of the texture, in texels.
///
///
///
///
/// Specifies the height of the texture, in texels.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexStorage2D")]
public static
void TexStorage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexStorage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture
///
///
///
/// Specify the target of the operation. target must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY, GL_PROXY_TEXTURE_2D_ARRAY, GL_TEXTURE_CUBE_ARRAY, or GL_PROXY_TEXTURE_CUBE_ARRAY.
///
///
///
///
/// Specify the number of texture levels.
///
///
///
///
/// Specifies the sized internal format to be used to store texture image data.
///
///
///
///
/// Specifies the width of the texture, in texels.
///
///
///
///
/// Specifies the height of the texture, in texels.
///
///
///
///
/// Specifies the depth of the texture, in texels.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexStorage3D")]
public static
void TexStorage3D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexStorage3D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture
///
///
///
/// Specify the target of the operation. target must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY, GL_PROXY_TEXTURE_2D_ARRAY, GL_TEXTURE_CUBE_ARRAY, or GL_PROXY_TEXTURE_CUBE_ARRAY.
///
///
///
///
/// Specify the number of texture levels.
///
///
///
///
/// Specifies the sized internal format to be used to store texture image data.
///
///
///
///
/// Specifies the width of the texture, in texels.
///
///
///
///
/// Specifies the height of the texture, in texels.
///
///
///
///
/// Specifies the depth of the texture, in texels.
///
///
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexStorage3D")]
public static
void TexStorage3D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexStorage3D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture subimage
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_TEXTURE_1D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_DEPTH_COMPONENT, and GL_STENCIL_INDEX.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
public static
void TexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture subimage
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_TEXTURE_1D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_DEPTH_COMPONENT, and GL_STENCIL_INDEX.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
public static
void TexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T8[] pixels)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture subimage
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_TEXTURE_1D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_DEPTH_COMPONENT, and GL_STENCIL_INDEX.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
public static
void TexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T8[,] pixels)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture subimage
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_TEXTURE_1D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_DEPTH_COMPONENT, and GL_STENCIL_INDEX.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
public static
void TexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T8[,,] pixels)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture subimage
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_TEXTURE_1D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_DEPTH_COMPONENT, and GL_STENCIL_INDEX.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
public static
void TexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T8 pixels)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
pixels = (T8)pixels_ptr.Target;
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture subimage
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_TEXTURE_1D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_DEPTH_COMPONENT, and GL_STENCIL_INDEX.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
public static
void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels);
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture subimage
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_TEXTURE_1D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_DEPTH_COMPONENT, and GL_STENCIL_INDEX.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
public static
void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T8[] pixels)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture subimage
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_TEXTURE_1D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_DEPTH_COMPONENT, and GL_STENCIL_INDEX.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
public static
void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T8[,] pixels)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture subimage
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_TEXTURE_1D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_DEPTH_COMPONENT, and GL_STENCIL_INDEX.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
public static
void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v2.0 and ES_VERSION_2_0]
/// Specify a two-dimensional texture subimage
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_TEXTURE_1D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_DEPTH_COMPONENT, and GL_STENCIL_INDEX.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
public static
void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] ref T8 pixels)
where T8 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
pixels = (T8)pixels_ptr.Target;
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture subimage
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D or GL_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the z direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the depth of the texture subimage.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_DEPTH_COMPONENT, and GL_STENCIL_INDEX.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")]
public static
void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels);
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture subimage
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D or GL_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the z direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the depth of the texture subimage.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_DEPTH_COMPONENT, and GL_STENCIL_INDEX.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")]
public static
void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[] pixels)
where T10 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
/// [requires: v3.0 and ES_VERSION_3_0]
/// Specify a three-dimensional texture subimage
///
///
///
/// Specifies the target texture. Must be GL_TEXTURE_3D or GL_TEXTURE_2D_ARRAY.
///
///
///
///
/// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
///
///
///
///
/// Specifies a texel offset in the x direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the y direction within the texture array.
///
///
///
///
/// Specifies a texel offset in the z direction within the texture array.
///
///
///
///
/// Specifies the width of the texture subimage.
///
///
///
///
/// Specifies the height of the texture subimage.
///
///
///
///
/// Specifies the depth of the texture subimage.
///
///
///
///
/// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_DEPTH_COMPONENT, and GL_STENCIL_INDEX.
///
///
///
///
/// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
///
///
///
///
/// Specifies a pointer to the image data in memory.
///
///
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")]
public static
void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[,] pixels)
where T10 : struct
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
pixels_ptr.Free();
}
#if DEBUG
}
#endif
}
///