Show / Hide Table of Contents

Class GL

Provides access to OpenGL ES 2.0 methods.

Inheritance
Object
BindingsBase
GraphicsBindingsBase
GL
Inherited Members
GraphicsBindingsBase.GetAddress(String)
BindingsBase.RebuildExtensionList
BindingsBase.MarshalPtrToString(IntPtr)
BindingsBase.MarshalStringToPtr(String)
BindingsBase.FreeStringPtr(IntPtr)
BindingsBase.MarshalStringArrayToPtr(String[])
BindingsBase.FreeStringArrayPtr(IntPtr, Int32)
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: OpenTK.Graphics.ES20
Assembly: OpenTK.dll
Syntax
public sealed class GL : GraphicsBindingsBase

Constructors

GL()

Constructs a new instance.

Declaration
public GL()

Properties

SyncRoot

Returns a synchronization token unique for the GL class.

Declaration
protected override object SyncRoot { get; }
Property Value
Type Description
Object
Overrides
BindingsBase.SyncRoot

Methods

ActiveTexture(All)

[requires: v2.0 or ES_VERSION_2_0] Select active texture unit

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glActiveTexture")]
public static void ActiveTexture(All texture)
Parameters
Type Name Description
All texture

Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 8. texture must be one of Texture, where i ranges from 0 to (MaxCombinedTextureImageUnits - 1). The initial value is Texture0.

ActiveTexture(TextureUnit)

[requires: v2.0 or ES_VERSION_2_0] Select active texture unit

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glActiveTexture")]
public static void ActiveTexture(TextureUnit texture)
Parameters
Type Name Description
TextureUnit texture

Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 8. texture must be one of Texture, where i ranges from 0 to (MaxCombinedTextureImageUnits - 1). The initial value is Texture0.

AttachShader(Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Attach a shader object to a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")]
[CLSCompliant(false)]
public static void AttachShader(int program, int shader)
Parameters
Type Name Description
Int32 program

Specifies the program object to which a shader object will be attached.

Int32 shader

Specifies the shader object that is to be attached.

AttachShader(UInt32, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Attach a shader object to a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")]
[CLSCompliant(false)]
public static void AttachShader(uint program, uint shader)
Parameters
Type Name Description
UInt32 program

Specifies the program object to which a shader object will be attached.

UInt32 shader

Specifies the shader object that is to be attached.

BindAttribLocation(Int32, Int32, String)

[requires: v2.0 or ES_VERSION_2_0] Associate a generic vertex attribute index with a named attribute variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")]
[CLSCompliant(false)]
public static void BindAttribLocation(int program, int index, string name)
Parameters
Type Name Description
Int32 program

Specifies the handle of the program object in which the association is to be made.

Int32 index

Specifies the index of the generic vertex attribute to be bound.

String name

Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound.

BindAttribLocation(UInt32, UInt32, String)

[requires: v2.0 or ES_VERSION_2_0] Associate a generic vertex attribute index with a named attribute variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")]
[CLSCompliant(false)]
public static void BindAttribLocation(uint program, uint index, string name)
Parameters
Type Name Description
UInt32 program

Specifies the handle of the program object in which the association is to be made.

UInt32 index

Specifies the index of the generic vertex attribute to be bound.

String name

Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound.

BindBuffer(All, Int32)

[requires: v2.0 or ES_VERSION_2_0] Bind a named buffer object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")]
[CLSCompliant(false)]
public static void BindBuffer(All target, int buffer)
Parameters
Type Name Description
All target

Specifies the target to which the buffer object is bound. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

Int32 buffer

Specifies the name of a buffer object.

BindBuffer(All, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Bind a named buffer object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")]
[CLSCompliant(false)]
public static void BindBuffer(All target, uint buffer)
Parameters
Type Name Description
All target

Specifies the target to which the buffer object is bound. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

UInt32 buffer

Specifies the name of a buffer object.

BindBuffer(BufferTarget, Int32)

[requires: v2.0 or ES_VERSION_2_0] Bind a named buffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")]
[CLSCompliant(false)]
public static void BindBuffer(BufferTarget target, int buffer)
Parameters
Type Name Description
BufferTarget target

Specifies the target to which the buffer object is bound. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

Int32 buffer

Specifies the name of a buffer object.

BindBuffer(BufferTarget, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Bind a named buffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")]
[CLSCompliant(false)]
public static void BindBuffer(BufferTarget target, uint buffer)
Parameters
Type Name Description
BufferTarget target

Specifies the target to which the buffer object is bound. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

UInt32 buffer

Specifies the name of a buffer object.

BindFramebuffer(All, Int32)

[requires: v2.0 or ES_VERSION_2_0] Bind a named framebuffer object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")]
[CLSCompliant(false)]
public static void BindFramebuffer(All target, int framebuffer)
Parameters
Type Name Description
All target

Specifies the target to which the framebuffer object is bound. The symbolic constant must be Framebuffer.

Int32 framebuffer

Specifies the name of a framebuffer object.

BindFramebuffer(All, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Bind a named framebuffer object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")]
[CLSCompliant(false)]
public static void BindFramebuffer(All target, uint framebuffer)
Parameters
Type Name Description
All target

Specifies the target to which the framebuffer object is bound. The symbolic constant must be Framebuffer.

UInt32 framebuffer

Specifies the name of a framebuffer object.

BindFramebuffer(FramebufferTarget, Int32)

[requires: v2.0 or ES_VERSION_2_0] Bind a named framebuffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")]
[CLSCompliant(false)]
public static void BindFramebuffer(FramebufferTarget target, int framebuffer)
Parameters
Type Name Description
FramebufferTarget target

Specifies the target to which the framebuffer object is bound. The symbolic constant must be Framebuffer.

Int32 framebuffer

Specifies the name of a framebuffer object.

BindFramebuffer(FramebufferTarget, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Bind a named framebuffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")]
[CLSCompliant(false)]
public static void BindFramebuffer(FramebufferTarget target, uint framebuffer)
Parameters
Type Name Description
FramebufferTarget target

Specifies the target to which the framebuffer object is bound. The symbolic constant must be Framebuffer.

UInt32 framebuffer

Specifies the name of a framebuffer object.

BindRenderbuffer(All, Int32)

[requires: v2.0 or ES_VERSION_2_0] Bind a named renderbuffer object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")]
[CLSCompliant(false)]
public static void BindRenderbuffer(All target, int renderbuffer)
Parameters
Type Name Description
All target

Specifies the target to which the renderbuffer object is bound. The symbolic constant must be Renderbuffer.

Int32 renderbuffer

Specifies the name of a renderbuffer object.

BindRenderbuffer(All, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Bind a named renderbuffer object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")]
[CLSCompliant(false)]
public static void BindRenderbuffer(All target, uint renderbuffer)
Parameters
Type Name Description
All target

Specifies the target to which the renderbuffer object is bound. The symbolic constant must be Renderbuffer.

UInt32 renderbuffer

Specifies the name of a renderbuffer object.

BindRenderbuffer(RenderbufferTarget, Int32)

[requires: v2.0 or ES_VERSION_2_0] Bind a named renderbuffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")]
[CLSCompliant(false)]
public static void BindRenderbuffer(RenderbufferTarget target, int renderbuffer)
Parameters
Type Name Description
RenderbufferTarget target

Specifies the target to which the renderbuffer object is bound. The symbolic constant must be Renderbuffer.

Int32 renderbuffer

Specifies the name of a renderbuffer object.

BindRenderbuffer(RenderbufferTarget, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Bind a named renderbuffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")]
[CLSCompliant(false)]
public static void BindRenderbuffer(RenderbufferTarget target, uint renderbuffer)
Parameters
Type Name Description
RenderbufferTarget target

Specifies the target to which the renderbuffer object is bound. The symbolic constant must be Renderbuffer.

UInt32 renderbuffer

Specifies the name of a renderbuffer object.

BindTexture(All, Int32)

[requires: v2.0 or ES_VERSION_2_0] Bind a named texture to a texturing target

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")]
[CLSCompliant(false)]
public static void BindTexture(All target, int texture)
Parameters
Type Name Description
All target

Specifies the target of the active texture unit to which the texture is bound. Must be either Texture2D or TextureCubeMap.

Int32 texture

Specifies the name of a texture.

BindTexture(All, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Bind a named texture to a texturing target

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")]
[CLSCompliant(false)]
public static void BindTexture(All target, uint texture)
Parameters
Type Name Description
All target

Specifies the target of the active texture unit to which the texture is bound. Must be either Texture2D or TextureCubeMap.

UInt32 texture

Specifies the name of a texture.

BindTexture(TextureTarget, Int32)

[requires: v2.0 or ES_VERSION_2_0] Bind a named texture to a texturing target

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")]
[CLSCompliant(false)]
public static void BindTexture(TextureTarget target, int texture)
Parameters
Type Name Description
TextureTarget target

Specifies the target of the active texture unit to which the texture is bound. Must be either Texture2D or TextureCubeMap.

Int32 texture

Specifies the name of a texture.

BindTexture(TextureTarget, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Bind a named texture to a texturing target

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")]
[CLSCompliant(false)]
public static void BindTexture(TextureTarget target, uint texture)
Parameters
Type Name Description
TextureTarget target

Specifies the target of the active texture unit to which the texture is bound. Must be either Texture2D or TextureCubeMap.

UInt32 texture

Specifies the name of a texture.

BlendColor(Color4)

Declaration
public static void BlendColor(Color4 color)
Parameters
Type Name Description
Color4 color

BlendColor(Color)

Declaration
public static void BlendColor(Color color)
Parameters
Type Name Description
Color color

BlendColor(Single, Single, Single, Single)

[requires: v2.0 or ES_VERSION_2_0] Set the blend color

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendColor")]
public static void BlendColor(float red, float green, float blue, float alpha)
Parameters
Type Name Description
Single red

specify the components of BlendColor

Single green

specify the components of BlendColor

Single blue

specify the components of BlendColor

Single alpha

specify the components of BlendColor

BlendEquation(All)

[requires: v2.0 or ES_VERSION_2_0] Specify the equation used for both the RGB blend equation and the Alpha blend equation

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquation")]
public static void BlendEquation(All mode)
Parameters
Type Name Description
All mode

specifies how source and destination colors are combined. It must be FuncAdd, FuncSubtract, or FuncReverseSubtract.

BlendEquation(BlendEquationMode)

[requires: v2.0 or ES_VERSION_2_0] Specify the equation used for both the RGB blend equation and the Alpha blend equation

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquation")]
public static void BlendEquation(BlendEquationMode mode)
Parameters
Type Name Description
BlendEquationMode mode

specifies how source and destination colors are combined. It must be FuncAdd, FuncSubtract, or FuncReverseSubtract.

BlendEquationSeparate(All, All)

[requires: v2.0 or ES_VERSION_2_0] Set the RGB blend equation and the alpha blend equation separately

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquationSeparate")]
public static void BlendEquationSeparate(All modeRGB, All modeAlpha)
Parameters
Type Name Description
All modeRGB

specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be FuncAdd, FuncSubtract, or FuncReverseSubtract.

All modeAlpha

specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be FuncAdd, FuncSubtract, or FuncReverseSubtract.

BlendEquationSeparate(BlendEquationMode, BlendEquationMode)

[requires: v2.0 or ES_VERSION_2_0] Set the RGB blend equation and the alpha blend equation separately

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquationSeparate")]
public static void BlendEquationSeparate(BlendEquationMode modeRGB, BlendEquationMode modeAlpha)
Parameters
Type Name Description
BlendEquationMode modeRGB

specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be FuncAdd, FuncSubtract, or FuncReverseSubtract.

BlendEquationMode modeAlpha

specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be FuncAdd, FuncSubtract, or FuncReverseSubtract.

BlendFunc(All, All)

[requires: v2.0 or ES_VERSION_2_0] Specify pixel arithmetic

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFunc")]
public static void BlendFunc(All sfactor, All dfactor)
Parameters
Type Name Description
All sfactor

Specifies how the red, green, blue, and alpha source blending factors are computed. The following symbolic constants are accepted: Zero, One, SrcColor, OneMinusSrcColor, DstColor, OneMinusDstColor, SrcAlpha, OneMinusSrcAlpha, DstAlpha, OneMinusDstAlpha, ConstantColor, OneMinusConstantColor, ConstantAlpha, OneMinusConstantAlpha, and SrcAlphaSaturate. The initial value is One.

All dfactor

Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: Zero, One, SrcColor, OneMinusSrcColor, DstColor, OneMinusDstColor, SrcAlpha, OneMinusSrcAlpha, DstAlpha, OneMinusDstAlpha. ConstantColor, OneMinusConstantColor, ConstantAlpha, and OneMinusConstantAlpha. The initial value is Zero.

BlendFunc(BlendingFactorSrc, BlendingFactorDest)

[requires: v2.0 or ES_VERSION_2_0] Specify pixel arithmetic

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFunc")]
public static void BlendFunc(BlendingFactorSrc sfactor, BlendingFactorDest dfactor)
Parameters
Type Name Description
BlendingFactorSrc sfactor

Specifies how the red, green, blue, and alpha source blending factors are computed. The following symbolic constants are accepted: Zero, One, SrcColor, OneMinusSrcColor, DstColor, OneMinusDstColor, SrcAlpha, OneMinusSrcAlpha, DstAlpha, OneMinusDstAlpha, ConstantColor, OneMinusConstantColor, ConstantAlpha, OneMinusConstantAlpha, and SrcAlphaSaturate. The initial value is One.

BlendingFactorDest dfactor

Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: Zero, One, SrcColor, OneMinusSrcColor, DstColor, OneMinusDstColor, SrcAlpha, OneMinusSrcAlpha, DstAlpha, OneMinusDstAlpha. ConstantColor, OneMinusConstantColor, ConstantAlpha, and OneMinusConstantAlpha. The initial value is Zero.

BlendFuncSeparate(All, All, All, All)

[requires: v2.0 or ES_VERSION_2_0] Specify pixel arithmetic for RGB and alpha components separately

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFuncSeparate")]
public static void BlendFuncSeparate(All sfactorRGB, All dfactorRGB, All sfactorAlpha, All dfactorAlpha)
Parameters
Type Name Description
All sfactorRGB

Specifies how the red, green, and blue blending factors are computed. The following symbolic constants are accepted: Zero, One, SrcColor, OneMinusSrcColor, DstColor, OneMinusDstColor, SrcAlpha, OneMinusSrcAlpha, DstAlpha, OneMinusDstAlpha, ConstantColor, OneMinusConstantColor, ConstantAlpha, OneMinusConstantAlpha, and SrcAlphaSaturate. The initial value is One.

All dfactorRGB

Specifies how the red, green, and blue destination blending factors are computed. The following symbolic constants are accepted: Zero, One, SrcColor, OneMinusSrcColor, DstColor, OneMinusDstColor, SrcAlpha, OneMinusSrcAlpha, DstAlpha, OneMinusDstAlpha. ConstantColor, OneMinusConstantColor, ConstantAlpha, and OneMinusConstantAlpha. The initial value is Zero.

All sfactorAlpha

Specified how the alpha source blending factor is computed. The same symbolic constants are accepted as for srcRGB. The initial value is One.

All dfactorAlpha

Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is Zero.

BlendFuncSeparate(BlendingFactorSrc, BlendingFactorDest, BlendingFactorSrc, BlendingFactorDest)

[requires: v2.0 or ES_VERSION_2_0] Specify pixel arithmetic for RGB and alpha components separately

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFuncSeparate")]
public static void BlendFuncSeparate(BlendingFactorSrc sfactorRGB, BlendingFactorDest dfactorRGB, BlendingFactorSrc sfactorAlpha, BlendingFactorDest dfactorAlpha)
Parameters
Type Name Description
BlendingFactorSrc sfactorRGB

Specifies how the red, green, and blue blending factors are computed. The following symbolic constants are accepted: Zero, One, SrcColor, OneMinusSrcColor, DstColor, OneMinusDstColor, SrcAlpha, OneMinusSrcAlpha, DstAlpha, OneMinusDstAlpha, ConstantColor, OneMinusConstantColor, ConstantAlpha, OneMinusConstantAlpha, and SrcAlphaSaturate. The initial value is One.

BlendingFactorDest dfactorRGB

Specifies how the red, green, and blue destination blending factors are computed. The following symbolic constants are accepted: Zero, One, SrcColor, OneMinusSrcColor, DstColor, OneMinusDstColor, SrcAlpha, OneMinusSrcAlpha, DstAlpha, OneMinusDstAlpha. ConstantColor, OneMinusConstantColor, ConstantAlpha, and OneMinusConstantAlpha. The initial value is Zero.

BlendingFactorSrc sfactorAlpha

Specified how the alpha source blending factor is computed. The same symbolic constants are accepted as for srcRGB. The initial value is One.

BlendingFactorDest dfactorAlpha

Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is Zero.

BufferData(All, Int32, IntPtr, All)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static void BufferData(All target, int size, [Count(Parameter = "size")] IntPtr data, All usage)
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

Int32 size

Specifies the size in bytes of the buffer object's new data store.

IntPtr data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

All usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

BufferData(All, IntPtr, IntPtr, All)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static void BufferData(All target, IntPtr size, [Count(Parameter = "size")] IntPtr data, All usage)
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr size

Specifies the size in bytes of the buffer object's new data store.

IntPtr data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

All usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

BufferData(BufferTarget, Int32, IntPtr, BufferUsage)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[Obsolete("Use BufferUsageHint overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static void BufferData(BufferTarget target, int size, [Count(Parameter = "size")] IntPtr data, BufferUsage usage)
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

Int32 size

Specifies the size in bytes of the buffer object's new data store.

IntPtr data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

BufferUsage usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

BufferData(BufferTarget, Int32, IntPtr, BufferUsageHint)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static void BufferData(BufferTarget target, int size, [Count(Parameter = "size")] IntPtr data, BufferUsageHint usage)
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

Int32 size

Specifies the size in bytes of the buffer object's new data store.

IntPtr data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

BufferUsageHint usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

BufferData(BufferTarget, IntPtr, IntPtr, BufferUsage)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[Obsolete("Use BufferUsageHint overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static void BufferData(BufferTarget target, IntPtr size, [Count(Parameter = "size")] IntPtr data, BufferUsage usage)
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr size

Specifies the size in bytes of the buffer object's new data store.

IntPtr data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

BufferUsage usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

BufferData(BufferTarget, IntPtr, IntPtr, BufferUsageHint)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static void BufferData(BufferTarget target, IntPtr size, [Count(Parameter = "size")] IntPtr data, BufferUsageHint usage)
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr size

Specifies the size in bytes of the buffer object's new data store.

IntPtr data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

BufferUsageHint usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

BufferData<T2>(All, Int32, ref T2, All)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static void BufferData<T2>(All target, int size, [Count(Parameter = "size")] ref T2 data, All usage)
    where T2 : struct
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

Int32 size

Specifies the size in bytes of the buffer object's new data store.

T2 data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

All usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(All, Int32, T2[], All)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
[CLSCompliant(false)]
public static void BufferData<T2>(All target, int size, [Count(Parameter = "size")] T2[] data, All usage)
    where T2 : struct
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

Int32 size

Specifies the size in bytes of the buffer object's new data store.

T2[] data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

All usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(All, Int32, T2[,,], All)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
[CLSCompliant(false)]
public static void BufferData<T2>(All target, int size, [Count(Parameter = "size")] T2[,, ] data, All usage)
    where T2 : struct
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

Int32 size

Specifies the size in bytes of the buffer object's new data store.

T2[,,] data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

All usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(All, Int32, T2[,], All)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
[CLSCompliant(false)]
public static void BufferData<T2>(All target, int size, [Count(Parameter = "size")] T2[, ] data, All usage)
    where T2 : struct
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

Int32 size

Specifies the size in bytes of the buffer object's new data store.

T2[,] data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

All usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(All, IntPtr, ref T2, All)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static void BufferData<T2>(All target, IntPtr size, [Count(Parameter = "size")] ref T2 data, All usage)
    where T2 : struct
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr size

Specifies the size in bytes of the buffer object's new data store.

T2 data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

All usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(All, IntPtr, T2[], All)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
[CLSCompliant(false)]
public static void BufferData<T2>(All target, IntPtr size, [Count(Parameter = "size")] T2[] data, All usage)
    where T2 : struct
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr size

Specifies the size in bytes of the buffer object's new data store.

T2[] data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

All usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(All, IntPtr, T2[,,], All)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
[CLSCompliant(false)]
public static void BufferData<T2>(All target, IntPtr size, [Count(Parameter = "size")] T2[,, ] data, All usage)
    where T2 : struct
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr size

Specifies the size in bytes of the buffer object's new data store.

T2[,,] data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

All usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(All, IntPtr, T2[,], All)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
[CLSCompliant(false)]
public static void BufferData<T2>(All target, IntPtr size, [Count(Parameter = "size")] T2[, ] data, All usage)
    where T2 : struct
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr size

Specifies the size in bytes of the buffer object's new data store.

T2[,] data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

All usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(BufferTarget, Int32, ref T2, BufferUsage)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[Obsolete("Use BufferUsageHint overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static void BufferData<T2>(BufferTarget target, int size, [Count(Parameter = "size")] ref T2 data, BufferUsage usage)
    where T2 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

Int32 size

Specifies the size in bytes of the buffer object's new data store.

T2 data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

BufferUsage usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(BufferTarget, Int32, ref T2, BufferUsageHint)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static void BufferData<T2>(BufferTarget target, int size, [Count(Parameter = "size")] ref T2 data, BufferUsageHint usage)
    where T2 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

Int32 size

Specifies the size in bytes of the buffer object's new data store.

T2 data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

BufferUsageHint usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(BufferTarget, Int32, T2[], BufferUsage)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[Obsolete("Use BufferUsageHint overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
[CLSCompliant(false)]
public static void BufferData<T2>(BufferTarget target, int size, [Count(Parameter = "size")] T2[] data, BufferUsage usage)
    where T2 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

Int32 size

Specifies the size in bytes of the buffer object's new data store.

T2[] data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

BufferUsage usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(BufferTarget, Int32, T2[], BufferUsageHint)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
[CLSCompliant(false)]
public static void BufferData<T2>(BufferTarget target, int size, [Count(Parameter = "size")] T2[] data, BufferUsageHint usage)
    where T2 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

Int32 size

Specifies the size in bytes of the buffer object's new data store.

T2[] data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

BufferUsageHint usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(BufferTarget, Int32, T2[,,], BufferUsage)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[Obsolete("Use BufferUsageHint overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
[CLSCompliant(false)]
public static void BufferData<T2>(BufferTarget target, int size, [Count(Parameter = "size")] T2[,, ] data, BufferUsage usage)
    where T2 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

Int32 size

Specifies the size in bytes of the buffer object's new data store.

T2[,,] data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

BufferUsage usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(BufferTarget, Int32, T2[,,], BufferUsageHint)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
[CLSCompliant(false)]
public static void BufferData<T2>(BufferTarget target, int size, [Count(Parameter = "size")] T2[,, ] data, BufferUsageHint usage)
    where T2 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

Int32 size

Specifies the size in bytes of the buffer object's new data store.

T2[,,] data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

BufferUsageHint usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(BufferTarget, Int32, T2[,], BufferUsage)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[Obsolete("Use BufferUsageHint overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
[CLSCompliant(false)]
public static void BufferData<T2>(BufferTarget target, int size, [Count(Parameter = "size")] T2[, ] data, BufferUsage usage)
    where T2 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

Int32 size

Specifies the size in bytes of the buffer object's new data store.

T2[,] data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

BufferUsage usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(BufferTarget, Int32, T2[,], BufferUsageHint)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
[CLSCompliant(false)]
public static void BufferData<T2>(BufferTarget target, int size, [Count(Parameter = "size")] T2[, ] data, BufferUsageHint usage)
    where T2 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

Int32 size

Specifies the size in bytes of the buffer object's new data store.

T2[,] data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

BufferUsageHint usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(BufferTarget, IntPtr, ref T2, BufferUsage)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[Obsolete("Use BufferUsageHint overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static void BufferData<T2>(BufferTarget target, IntPtr size, [Count(Parameter = "size")] ref T2 data, BufferUsage usage)
    where T2 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr size

Specifies the size in bytes of the buffer object's new data store.

T2 data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

BufferUsage usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(BufferTarget, IntPtr, ref T2, BufferUsageHint)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
public static void BufferData<T2>(BufferTarget target, IntPtr size, [Count(Parameter = "size")] ref T2 data, BufferUsageHint usage)
    where T2 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr size

Specifies the size in bytes of the buffer object's new data store.

T2 data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

BufferUsageHint usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(BufferTarget, IntPtr, T2[], BufferUsage)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[Obsolete("Use BufferUsageHint overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
[CLSCompliant(false)]
public static void BufferData<T2>(BufferTarget target, IntPtr size, [Count(Parameter = "size")] T2[] data, BufferUsage usage)
    where T2 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr size

Specifies the size in bytes of the buffer object's new data store.

T2[] data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

BufferUsage usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(BufferTarget, IntPtr, T2[], BufferUsageHint)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
[CLSCompliant(false)]
public static void BufferData<T2>(BufferTarget target, IntPtr size, [Count(Parameter = "size")] T2[] data, BufferUsageHint usage)
    where T2 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr size

Specifies the size in bytes of the buffer object's new data store.

T2[] data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

BufferUsageHint usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(BufferTarget, IntPtr, T2[,,], BufferUsage)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[Obsolete("Use BufferUsageHint overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
[CLSCompliant(false)]
public static void BufferData<T2>(BufferTarget target, IntPtr size, [Count(Parameter = "size")] T2[,, ] data, BufferUsage usage)
    where T2 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr size

Specifies the size in bytes of the buffer object's new data store.

T2[,,] data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

BufferUsage usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(BufferTarget, IntPtr, T2[,,], BufferUsageHint)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
[CLSCompliant(false)]
public static void BufferData<T2>(BufferTarget target, IntPtr size, [Count(Parameter = "size")] T2[,, ] data, BufferUsageHint usage)
    where T2 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr size

Specifies the size in bytes of the buffer object's new data store.

T2[,,] data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

BufferUsageHint usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(BufferTarget, IntPtr, T2[,], BufferUsage)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[Obsolete("Use BufferUsageHint overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
[CLSCompliant(false)]
public static void BufferData<T2>(BufferTarget target, IntPtr size, [Count(Parameter = "size")] T2[, ] data, BufferUsage usage)
    where T2 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr size

Specifies the size in bytes of the buffer object's new data store.

T2[,] data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

BufferUsage usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferData<T2>(BufferTarget, IntPtr, T2[,], BufferUsageHint)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a buffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")]
[CLSCompliant(false)]
public static void BufferData<T2>(BufferTarget target, IntPtr size, [Count(Parameter = "size")] T2[, ] data, BufferUsageHint usage)
    where T2 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr size

Specifies the size in bytes of the buffer object's new data store.

T2[,] data

[length: size] Specifies a pointer to data that will be copied into the data store for initialization, or Null if no data is to be copied.

BufferUsageHint usage

Specifies the expected usage pattern of the data store. The symbolic constant must be StreamDraw, StaticDraw, or DynamicDraw.

Type Parameters
Name Description
T2

BufferSubData(All, IntPtr, Int32, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Update a subset of a buffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
public static void BufferSubData(All target, IntPtr offset, int size, [Count(Parameter = "size")] IntPtr data)
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr offset

Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.

Int32 size

Specifies the size in bytes of the data store region being replaced.

IntPtr data

[length: size] Specifies a pointer to the new data that will be copied into the data store.

BufferSubData(All, IntPtr, IntPtr, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Update a subset of a buffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
public static void BufferSubData(All target, IntPtr offset, IntPtr size, [Count(Parameter = "size")] IntPtr data)
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr offset

Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.

IntPtr size

Specifies the size in bytes of the data store region being replaced.

IntPtr data

[length: size] Specifies a pointer to the new data that will be copied into the data store.

BufferSubData(BufferTarget, IntPtr, Int32, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Update a subset of a buffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
public static void BufferSubData(BufferTarget target, IntPtr offset, int size, [Count(Parameter = "size")] IntPtr data)
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr offset

Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.

Int32 size

Specifies the size in bytes of the data store region being replaced.

IntPtr data

[length: size] Specifies a pointer to the new data that will be copied into the data store.

BufferSubData(BufferTarget, IntPtr, IntPtr, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Update a subset of a buffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
public static void BufferSubData(BufferTarget target, IntPtr offset, IntPtr size, [Count(Parameter = "size")] IntPtr data)
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr offset

Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.

IntPtr size

Specifies the size in bytes of the data store region being replaced.

IntPtr data

[length: size] Specifies a pointer to the new data that will be copied into the data store.

BufferSubData<T3>(All, IntPtr, Int32, ref T3)

[requires: v2.0 or ES_VERSION_2_0] Update a subset of a buffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
public static void BufferSubData<T3>(All target, IntPtr offset, int size, [Count(Parameter = "size")] ref T3 data)
    where T3 : struct
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr offset

Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.

Int32 size

Specifies the size in bytes of the data store region being replaced.

T3 data

[length: size] Specifies a pointer to the new data that will be copied into the data store.

Type Parameters
Name Description
T3

BufferSubData<T3>(All, IntPtr, Int32, T3[])

[requires: v2.0 or ES_VERSION_2_0] Update a subset of a buffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
[CLSCompliant(false)]
public static void BufferSubData<T3>(All target, IntPtr offset, int size, [Count(Parameter = "size")] T3[] data)
    where T3 : struct
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr offset

Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.

Int32 size

Specifies the size in bytes of the data store region being replaced.

T3[] data

[length: size] Specifies a pointer to the new data that will be copied into the data store.

Type Parameters
Name Description
T3

BufferSubData<T3>(All, IntPtr, Int32, T3[,,])

[requires: v2.0 or ES_VERSION_2_0] Update a subset of a buffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
[CLSCompliant(false)]
public static void BufferSubData<T3>(All target, IntPtr offset, int size, [Count(Parameter = "size")] T3[,, ] data)
    where T3 : struct
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr offset

Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.

Int32 size

Specifies the size in bytes of the data store region being replaced.

T3[,,] data

[length: size] Specifies a pointer to the new data that will be copied into the data store.

Type Parameters
Name Description
T3

BufferSubData<T3>(All, IntPtr, Int32, T3[,])

[requires: v2.0 or ES_VERSION_2_0] Update a subset of a buffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
[CLSCompliant(false)]
public static void BufferSubData<T3>(All target, IntPtr offset, int size, [Count(Parameter = "size")] T3[, ] data)
    where T3 : struct
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr offset

Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.

Int32 size

Specifies the size in bytes of the data store region being replaced.

T3[,] data

[length: size] Specifies a pointer to the new data that will be copied into the data store.

Type Parameters
Name Description
T3

BufferSubData<T3>(All, IntPtr, IntPtr, ref T3)

[requires: v2.0 or ES_VERSION_2_0] Update a subset of a buffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
public static void BufferSubData<T3>(All target, IntPtr offset, IntPtr size, [Count(Parameter = "size")] ref T3 data)
    where T3 : struct
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr offset

Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.

IntPtr size

Specifies the size in bytes of the data store region being replaced.

T3 data

[length: size] Specifies a pointer to the new data that will be copied into the data store.

Type Parameters
Name Description
T3

BufferSubData<T3>(All, IntPtr, IntPtr, T3[])

[requires: v2.0 or ES_VERSION_2_0] Update a subset of a buffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
[CLSCompliant(false)]
public static void BufferSubData<T3>(All target, IntPtr offset, IntPtr size, [Count(Parameter = "size")] T3[] data)
    where T3 : struct
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr offset

Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.

IntPtr size

Specifies the size in bytes of the data store region being replaced.

T3[] data

[length: size] Specifies a pointer to the new data that will be copied into the data store.

Type Parameters
Name Description
T3

BufferSubData<T3>(All, IntPtr, IntPtr, T3[,,])

[requires: v2.0 or ES_VERSION_2_0] Update a subset of a buffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
[CLSCompliant(false)]
public static void BufferSubData<T3>(All target, IntPtr offset, IntPtr size, [Count(Parameter = "size")] T3[,, ] data)
    where T3 : struct
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr offset

Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.

IntPtr size

Specifies the size in bytes of the data store region being replaced.

T3[,,] data

[length: size] Specifies a pointer to the new data that will be copied into the data store.

Type Parameters
Name Description
T3

BufferSubData<T3>(All, IntPtr, IntPtr, T3[,])

[requires: v2.0 or ES_VERSION_2_0] Update a subset of a buffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
[CLSCompliant(false)]
public static void BufferSubData<T3>(All target, IntPtr offset, IntPtr size, [Count(Parameter = "size")] T3[, ] data)
    where T3 : struct
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr offset

Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.

IntPtr size

Specifies the size in bytes of the data store region being replaced.

T3[,] data

[length: size] Specifies a pointer to the new data that will be copied into the data store.

Type Parameters
Name Description
T3

BufferSubData<T3>(BufferTarget, IntPtr, Int32, ref T3)

[requires: v2.0 or ES_VERSION_2_0] Update a subset of a buffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
public static void BufferSubData<T3>(BufferTarget target, IntPtr offset, int size, [Count(Parameter = "size")] ref T3 data)
    where T3 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr offset

Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.

Int32 size

Specifies the size in bytes of the data store region being replaced.

T3 data

[length: size] Specifies a pointer to the new data that will be copied into the data store.

Type Parameters
Name Description
T3

BufferSubData<T3>(BufferTarget, IntPtr, Int32, T3[])

[requires: v2.0 or ES_VERSION_2_0] Update a subset of a buffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
[CLSCompliant(false)]
public static void BufferSubData<T3>(BufferTarget target, IntPtr offset, int size, [Count(Parameter = "size")] T3[] data)
    where T3 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr offset

Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.

Int32 size

Specifies the size in bytes of the data store region being replaced.

T3[] data

[length: size] Specifies a pointer to the new data that will be copied into the data store.

Type Parameters
Name Description
T3

BufferSubData<T3>(BufferTarget, IntPtr, Int32, T3[,,])

[requires: v2.0 or ES_VERSION_2_0] Update a subset of a buffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
[CLSCompliant(false)]
public static void BufferSubData<T3>(BufferTarget target, IntPtr offset, int size, [Count(Parameter = "size")] T3[,, ] data)
    where T3 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr offset

Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.

Int32 size

Specifies the size in bytes of the data store region being replaced.

T3[,,] data

[length: size] Specifies a pointer to the new data that will be copied into the data store.

Type Parameters
Name Description
T3

BufferSubData<T3>(BufferTarget, IntPtr, Int32, T3[,])

[requires: v2.0 or ES_VERSION_2_0] Update a subset of a buffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
[CLSCompliant(false)]
public static void BufferSubData<T3>(BufferTarget target, IntPtr offset, int size, [Count(Parameter = "size")] T3[, ] data)
    where T3 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr offset

Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.

Int32 size

Specifies the size in bytes of the data store region being replaced.

T3[,] data

[length: size] Specifies a pointer to the new data that will be copied into the data store.

Type Parameters
Name Description
T3

BufferSubData<T3>(BufferTarget, IntPtr, IntPtr, ref T3)

[requires: v2.0 or ES_VERSION_2_0] Update a subset of a buffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
public static void BufferSubData<T3>(BufferTarget target, IntPtr offset, IntPtr size, [Count(Parameter = "size")] ref T3 data)
    where T3 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr offset

Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.

IntPtr size

Specifies the size in bytes of the data store region being replaced.

T3 data

[length: size] Specifies a pointer to the new data that will be copied into the data store.

Type Parameters
Name Description
T3

BufferSubData<T3>(BufferTarget, IntPtr, IntPtr, T3[])

[requires: v2.0 or ES_VERSION_2_0] Update a subset of a buffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
[CLSCompliant(false)]
public static void BufferSubData<T3>(BufferTarget target, IntPtr offset, IntPtr size, [Count(Parameter = "size")] T3[] data)
    where T3 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr offset

Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.

IntPtr size

Specifies the size in bytes of the data store region being replaced.

T3[] data

[length: size] Specifies a pointer to the new data that will be copied into the data store.

Type Parameters
Name Description
T3

BufferSubData<T3>(BufferTarget, IntPtr, IntPtr, T3[,,])

[requires: v2.0 or ES_VERSION_2_0] Update a subset of a buffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
[CLSCompliant(false)]
public static void BufferSubData<T3>(BufferTarget target, IntPtr offset, IntPtr size, [Count(Parameter = "size")] T3[,, ] data)
    where T3 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr offset

Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.

IntPtr size

Specifies the size in bytes of the data store region being replaced.

T3[,,] data

[length: size] Specifies a pointer to the new data that will be copied into the data store.

Type Parameters
Name Description
T3

BufferSubData<T3>(BufferTarget, IntPtr, IntPtr, T3[,])

[requires: v2.0 or ES_VERSION_2_0] Update a subset of a buffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")]
[CLSCompliant(false)]
public static void BufferSubData<T3>(BufferTarget target, IntPtr offset, IntPtr size, [Count(Parameter = "size")] T3[, ] data)
    where T3 : struct
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

IntPtr offset

Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.

IntPtr size

Specifies the size in bytes of the data store region being replaced.

T3[,] data

[length: size] Specifies a pointer to the new data that will be copied into the data store.

Type Parameters
Name Description
T3

CheckFramebufferStatus(All)

[requires: v2.0 or ES_VERSION_2_0] Return the framebuffer completeness status of a framebuffer object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCheckFramebufferStatus")]
public static FramebufferErrorCode CheckFramebufferStatus(All target)
Parameters
Type Name Description
All target

Specifies the target framebuffer object. The symbolic constant must be Framebuffer.

Returns
Type Description
FramebufferErrorCode

CheckFramebufferStatus(FramebufferTarget)

[requires: v2.0 or ES_VERSION_2_0] Return the framebuffer completeness status of a framebuffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCheckFramebufferStatus")]
public static FramebufferErrorCode CheckFramebufferStatus(FramebufferTarget target)
Parameters
Type Name Description
FramebufferTarget target

Specifies the target framebuffer object. The symbolic constant must be Framebuffer.

Returns
Type Description
FramebufferErrorCode

Clear(All)

[requires: v2.0 or ES_VERSION_2_0] Clear buffers to preset values

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClear")]
public static void Clear(All mask)
Parameters
Type Name Description
All mask

Bitwise OR of masks that indicate the buffers to be cleared. The three masks are ColorBufferBit, DepthBufferBit, and StencilBufferBit.

Clear(ClearBufferMask)

[requires: v2.0 or ES_VERSION_2_0] Clear buffers to preset values

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClear")]
public static void Clear(ClearBufferMask mask)
Parameters
Type Name Description
ClearBufferMask mask

Bitwise OR of masks that indicate the buffers to be cleared. The three masks are ColorBufferBit, DepthBufferBit, and StencilBufferBit.

ClearColor(Color4)

Declaration
public static void ClearColor(Color4 color)
Parameters
Type Name Description
Color4 color

ClearColor(Color)

Declaration
public static void ClearColor(Color color)
Parameters
Type Name Description
Color color

ClearColor(Single, Single, Single, Single)

[requires: v2.0 or ES_VERSION_2_0] Specify clear values for the color buffers

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClearColor")]
public static void ClearColor(float red, float green, float blue, float alpha)
Parameters
Type Name Description
Single red

Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0.

Single green

Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0.

Single blue

Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0.

Single alpha

Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0.

ClearDepth(Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the clear value for the depth buffer

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClearDepthf")]
public static void ClearDepth(float d)
Parameters
Type Name Description
Single d

Specifies the depth value used when the depth buffer is cleared. The initial value is 1.

ClearStencil(Int32)

[requires: v2.0 or ES_VERSION_2_0] Specify the clear value for the stencil buffer

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClearStencil")]
public static void ClearStencil(int s)
Parameters
Type Name Description
Int32 s

Specifies the index used when the stencil buffer is cleared. The initial value is 0.

ColorMask(Boolean, Boolean, Boolean, Boolean)

[requires: v2.0 or ES_VERSION_2_0] Enable and disable writing of frame buffer color components

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glColorMask")]
public static void ColorMask(bool red, bool green, bool blue, bool alpha)
Parameters
Type Name Description
Boolean red

Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all True, indicating that the color components can be written.

Boolean green

Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all True, indicating that the color components can be written.

Boolean blue

Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all True, indicating that the color components can be written.

Boolean alpha

Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all True, indicating that the color components can be written.

CompileShader(Int32)

[requires: v2.0 or ES_VERSION_2_0] Compile a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")]
[CLSCompliant(false)]
public static void CompileShader(int shader)
Parameters
Type Name Description
Int32 shader

Specifies the shader object to be compiled.

CompileShader(UInt32)

[requires: v2.0 or ES_VERSION_2_0] Compile a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")]
[CLSCompliant(false)]
public static void CompileShader(uint shader)
Parameters
Type Name Description
UInt32 shader

Specifies the shader object to be compiled.

CompressedTexImage2D(All, Int32, All, Int32, Int32, Int32, Int32, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image in a compressed format

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
public static void CompressedTexImage2D(All target, int level, All internalformat, int width, int height, int border, int imageSize, [Count(Parameter = "imageSize")] IntPtr data)
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

All internalformat

Specifies the format of the compressed image data stored at address data.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

IntPtr data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

CompressedTexImage2D(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, Int32, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image in a compressed format

Declaration
[Obsolete("Use TextureTarget2d overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
public static void CompressedTexImage2D(TextureTarget target, int level, PixelInternalFormat internalformat, int width, int height, int border, int imageSize, [Count(Parameter = "imageSize")] IntPtr data)
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

PixelInternalFormat internalformat

Specifies the format of the compressed image data stored at address data.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

IntPtr data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

CompressedTexImage2D(TextureTarget2d, Int32, CompressedInternalFormat, Int32, Int32, Int32, Int32, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image in a compressed format

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
public static void CompressedTexImage2D(TextureTarget2d target, int level, CompressedInternalFormat internalformat, int width, int height, int border, int imageSize, [Count(Parameter = "imageSize")] IntPtr data)
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

CompressedInternalFormat internalformat

Specifies the format of the compressed image data stored at address data.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

IntPtr data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

CompressedTexImage2D<T7>(All, Int32, All, Int32, Int32, Int32, Int32, ref T7)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image in a compressed format

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
public static void CompressedTexImage2D<T7>(All target, int level, All internalformat, int width, int height, int border, int imageSize, [Count(Parameter = "imageSize")] ref T7 data)
    where T7 : struct
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

All internalformat

Specifies the format of the compressed image data stored at address data.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T7 data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T7

CompressedTexImage2D<T7>(All, Int32, All, Int32, Int32, Int32, Int32, T7[])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image in a compressed format

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
[CLSCompliant(false)]
public static void CompressedTexImage2D<T7>(All target, int level, All internalformat, int width, int height, int border, int imageSize, [Count(Parameter = "imageSize")] T7[] data)
    where T7 : struct
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

All internalformat

Specifies the format of the compressed image data stored at address data.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T7[] data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T7

CompressedTexImage2D<T7>(All, Int32, All, Int32, Int32, Int32, Int32, T7[,,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image in a compressed format

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
[CLSCompliant(false)]
public static void CompressedTexImage2D<T7>(All target, int level, All internalformat, int width, int height, int border, int imageSize, [Count(Parameter = "imageSize")] T7[,, ] data)
    where T7 : struct
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

All internalformat

Specifies the format of the compressed image data stored at address data.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T7[,,] data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T7

CompressedTexImage2D<T7>(All, Int32, All, Int32, Int32, Int32, Int32, T7[,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image in a compressed format

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
[CLSCompliant(false)]
public static void CompressedTexImage2D<T7>(All target, int level, All internalformat, int width, int height, int border, int imageSize, [Count(Parameter = "imageSize")] T7[, ] data)
    where T7 : struct
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

All internalformat

Specifies the format of the compressed image data stored at address data.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T7[,] data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T7

CompressedTexImage2D<T7>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, Int32, ref T7)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image in a compressed format

Declaration
[Obsolete("Use TextureTarget2d overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
public static void CompressedTexImage2D<T7>(TextureTarget target, int level, PixelInternalFormat internalformat, int width, int height, int border, int imageSize, [Count(Parameter = "imageSize")] ref T7 data)
    where T7 : struct
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

PixelInternalFormat internalformat

Specifies the format of the compressed image data stored at address data.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T7 data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T7

CompressedTexImage2D<T7>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, Int32, T7[])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image in a compressed format

Declaration
[Obsolete("Use TextureTarget2d overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
[CLSCompliant(false)]
public static void CompressedTexImage2D<T7>(TextureTarget target, int level, PixelInternalFormat internalformat, int width, int height, int border, int imageSize, [Count(Parameter = "imageSize")] T7[] data)
    where T7 : struct
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

PixelInternalFormat internalformat

Specifies the format of the compressed image data stored at address data.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T7[] data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T7

CompressedTexImage2D<T7>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, Int32, T7[,,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image in a compressed format

Declaration
[Obsolete("Use TextureTarget2d overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
[CLSCompliant(false)]
public static void CompressedTexImage2D<T7>(TextureTarget target, int level, PixelInternalFormat internalformat, int width, int height, int border, int imageSize, [Count(Parameter = "imageSize")] T7[,, ] data)
    where T7 : struct
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

PixelInternalFormat internalformat

Specifies the format of the compressed image data stored at address data.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T7[,,] data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T7

CompressedTexImage2D<T7>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, Int32, T7[,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image in a compressed format

Declaration
[Obsolete("Use TextureTarget2d overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
[CLSCompliant(false)]
public static void CompressedTexImage2D<T7>(TextureTarget target, int level, PixelInternalFormat internalformat, int width, int height, int border, int imageSize, [Count(Parameter = "imageSize")] T7[, ] data)
    where T7 : struct
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

PixelInternalFormat internalformat

Specifies the format of the compressed image data stored at address data.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T7[,] data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T7

CompressedTexImage2D<T7>(TextureTarget2d, Int32, CompressedInternalFormat, Int32, Int32, Int32, Int32, ref T7)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image in a compressed format

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
public static void CompressedTexImage2D<T7>(TextureTarget2d target, int level, CompressedInternalFormat internalformat, int width, int height, int border, int imageSize, [Count(Parameter = "imageSize")] ref T7 data)
    where T7 : struct
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

CompressedInternalFormat internalformat

Specifies the format of the compressed image data stored at address data.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T7 data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T7

CompressedTexImage2D<T7>(TextureTarget2d, Int32, CompressedInternalFormat, Int32, Int32, Int32, Int32, T7[])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image in a compressed format

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
[CLSCompliant(false)]
public static void CompressedTexImage2D<T7>(TextureTarget2d target, int level, CompressedInternalFormat internalformat, int width, int height, int border, int imageSize, [Count(Parameter = "imageSize")] T7[] data)
    where T7 : struct
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

CompressedInternalFormat internalformat

Specifies the format of the compressed image data stored at address data.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T7[] data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T7

CompressedTexImage2D<T7>(TextureTarget2d, Int32, CompressedInternalFormat, Int32, Int32, Int32, Int32, T7[,,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image in a compressed format

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
[CLSCompliant(false)]
public static void CompressedTexImage2D<T7>(TextureTarget2d target, int level, CompressedInternalFormat internalformat, int width, int height, int border, int imageSize, [Count(Parameter = "imageSize")] T7[,, ] data)
    where T7 : struct
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

CompressedInternalFormat internalformat

Specifies the format of the compressed image data stored at address data.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T7[,,] data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T7

CompressedTexImage2D<T7>(TextureTarget2d, Int32, CompressedInternalFormat, Int32, Int32, Int32, Int32, T7[,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image in a compressed format

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
[CLSCompliant(false)]
public static void CompressedTexImage2D<T7>(TextureTarget2d target, int level, CompressedInternalFormat internalformat, int width, int height, int border, int imageSize, [Count(Parameter = "imageSize")] T7[, ] data)
    where T7 : struct
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

CompressedInternalFormat internalformat

Specifies the format of the compressed image data stored at address data.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T7[,] data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T7

CompressedTexSubImage2D(All, Int32, Int32, Int32, Int32, Int32, All, Int32, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage in a compressed format

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
public static void CompressedTexSubImage2D(All target, int level, int xoffset, int yoffset, int width, int height, All format, int imageSize, [Count(Parameter = "imageSize")] IntPtr data)
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

All format

Specifies the format of the compressed image data stored at address data.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

IntPtr data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

CompressedTexSubImage2D(TextureTarget, Int32, Int32, Int32, Int32, Int32, PixelFormat, Int32, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage in a compressed format

Declaration
[Obsolete("Use TextureTarget2d and CompressedInternalFormat overloads instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
public static void CompressedTexSubImage2D(TextureTarget target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, int imageSize, [Count(Parameter = "imageSize")] IntPtr data)
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

PixelFormat format

Specifies the format of the compressed image data stored at address data.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

IntPtr data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

CompressedTexSubImage2D(TextureTarget2d, Int32, Int32, Int32, Int32, Int32, PixelFormat, Int32, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage in a compressed format

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
public static void CompressedTexSubImage2D(TextureTarget2d target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, int imageSize, [Count(Parameter = "imageSize")] IntPtr data)
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

PixelFormat format

Specifies the format of the compressed image data stored at address data.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

IntPtr data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

CompressedTexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, Int32, ref T8)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage in a compressed format

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
public static void CompressedTexSubImage2D<T8>(All target, int level, int xoffset, int yoffset, int width, int height, All format, int imageSize, [Count(Parameter = "imageSize")] ref T8 data)
    where T8 : struct
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

All format

Specifies the format of the compressed image data stored at address data.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T8 data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T8

CompressedTexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, Int32, T8[])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage in a compressed format

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
[CLSCompliant(false)]
public static void CompressedTexSubImage2D<T8>(All target, int level, int xoffset, int yoffset, int width, int height, All format, int imageSize, [Count(Parameter = "imageSize")] T8[] data)
    where T8 : struct
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

All format

Specifies the format of the compressed image data stored at address data.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T8[] data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T8

CompressedTexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, Int32, T8[,,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage in a compressed format

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
[CLSCompliant(false)]
public static void CompressedTexSubImage2D<T8>(All target, int level, int xoffset, int yoffset, int width, int height, All format, int imageSize, [Count(Parameter = "imageSize")] T8[,, ] data)
    where T8 : struct
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

All format

Specifies the format of the compressed image data stored at address data.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T8[,,] data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T8

CompressedTexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, Int32, T8[,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage in a compressed format

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
[CLSCompliant(false)]
public static void CompressedTexSubImage2D<T8>(All target, int level, int xoffset, int yoffset, int width, int height, All format, int imageSize, [Count(Parameter = "imageSize")] T8[, ] data)
    where T8 : struct
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

All format

Specifies the format of the compressed image data stored at address data.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T8[,] data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T8

CompressedTexSubImage2D<T8>(TextureTarget, Int32, Int32, Int32, Int32, Int32, PixelFormat, Int32, ref T8)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage in a compressed format

Declaration
[Obsolete("Use TextureTarget2d and CompressedInternalFormat overloads instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
public static void CompressedTexSubImage2D<T8>(TextureTarget target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, int imageSize, [Count(Parameter = "imageSize")] ref T8 data)
    where T8 : struct
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

PixelFormat format

Specifies the format of the compressed image data stored at address data.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T8 data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T8

CompressedTexSubImage2D<T8>(TextureTarget, Int32, Int32, Int32, Int32, Int32, PixelFormat, Int32, T8[])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage in a compressed format

Declaration
[Obsolete("Use TextureTarget2d and CompressedInternalFormat overloads instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
[CLSCompliant(false)]
public static void CompressedTexSubImage2D<T8>(TextureTarget target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, int imageSize, [Count(Parameter = "imageSize")] T8[] data)
    where T8 : struct
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

PixelFormat format

Specifies the format of the compressed image data stored at address data.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T8[] data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T8

CompressedTexSubImage2D<T8>(TextureTarget, Int32, Int32, Int32, Int32, Int32, PixelFormat, Int32, T8[,,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage in a compressed format

Declaration
[Obsolete("Use TextureTarget2d and CompressedInternalFormat overloads instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
[CLSCompliant(false)]
public static void CompressedTexSubImage2D<T8>(TextureTarget target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, int imageSize, [Count(Parameter = "imageSize")] T8[,, ] data)
    where T8 : struct
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

PixelFormat format

Specifies the format of the compressed image data stored at address data.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T8[,,] data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T8

CompressedTexSubImage2D<T8>(TextureTarget, Int32, Int32, Int32, Int32, Int32, PixelFormat, Int32, T8[,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage in a compressed format

Declaration
[Obsolete("Use TextureTarget2d and CompressedInternalFormat overloads instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
[CLSCompliant(false)]
public static void CompressedTexSubImage2D<T8>(TextureTarget target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, int imageSize, [Count(Parameter = "imageSize")] T8[, ] data)
    where T8 : struct
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

PixelFormat format

Specifies the format of the compressed image data stored at address data.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T8[,] data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T8

CompressedTexSubImage2D<T8>(TextureTarget2d, Int32, Int32, Int32, Int32, Int32, PixelFormat, Int32, ref T8)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage in a compressed format

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
public static void CompressedTexSubImage2D<T8>(TextureTarget2d target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, int imageSize, [Count(Parameter = "imageSize")] ref T8 data)
    where T8 : struct
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

PixelFormat format

Specifies the format of the compressed image data stored at address data.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T8 data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T8

CompressedTexSubImage2D<T8>(TextureTarget2d, Int32, Int32, Int32, Int32, Int32, PixelFormat, Int32, T8[])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage in a compressed format

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
[CLSCompliant(false)]
public static void CompressedTexSubImage2D<T8>(TextureTarget2d target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, int imageSize, [Count(Parameter = "imageSize")] T8[] data)
    where T8 : struct
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

PixelFormat format

Specifies the format of the compressed image data stored at address data.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T8[] data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T8

CompressedTexSubImage2D<T8>(TextureTarget2d, Int32, Int32, Int32, Int32, Int32, PixelFormat, Int32, T8[,,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage in a compressed format

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
[CLSCompliant(false)]
public static void CompressedTexSubImage2D<T8>(TextureTarget2d target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, int imageSize, [Count(Parameter = "imageSize")] T8[,, ] data)
    where T8 : struct
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

PixelFormat format

Specifies the format of the compressed image data stored at address data.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T8[,,] data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T8

CompressedTexSubImage2D<T8>(TextureTarget2d, Int32, Int32, Int32, Int32, Int32, PixelFormat, Int32, T8[,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage in a compressed format

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
[CLSCompliant(false)]
public static void CompressedTexSubImage2D<T8>(TextureTarget2d target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, int imageSize, [Count(Parameter = "imageSize")] T8[, ] data)
    where T8 : struct
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

PixelFormat format

Specifies the format of the compressed image data stored at address data.

Int32 imageSize

Specifies the number of unsigned bytes of image data starting at the address specified by data.

T8[,] data

[length: imageSize] Specifies a pointer to the compressed image data in memory.

Type Parameters
Name Description
T8

CopyTexImage2D(All, Int32, All, Int32, Int32, Int32, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Copy pixels into a 2D texture image

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexImage2D")]
public static void CopyTexImage2D(All target, int level, All internalformat, int x, int y, int width, int height, int border)
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

All internalformat

Specifies the internal format of the texture. Must be one of the following symbolic constants: Alpha, Luminance, LuminanceAlpha, Rgb, or Rgba.

Int32 x

Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.

Int32 y

Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

CopyTexImage2D(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Copy pixels into a 2D texture image

Declaration
[Obsolete("Use TextureTarget2d and TextureCopyComponentCount overloads instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexImage2D")]
public static void CopyTexImage2D(TextureTarget target, int level, PixelInternalFormat internalformat, int x, int y, int width, int height, int border)
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

PixelInternalFormat internalformat

Specifies the internal format of the texture. Must be one of the following symbolic constants: Alpha, Luminance, LuminanceAlpha, Rgb, or Rgba.

Int32 x

Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.

Int32 y

Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

CopyTexImage2D(TextureTarget2d, Int32, TextureCopyComponentCount, Int32, Int32, Int32, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Copy pixels into a 2D texture image

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexImage2D")]
public static void CopyTexImage2D(TextureTarget2d target, int level, TextureCopyComponentCount internalformat, int x, int y, int width, int height, int border)
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

TextureCopyComponentCount internalformat

Specifies the internal format of the texture. Must be one of the following symbolic constants: Alpha, Luminance, LuminanceAlpha, Rgb, or Rgba.

Int32 x

Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.

Int32 y

Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

CopyTexSubImage2D(All, Int32, Int32, Int32, Int32, Int32, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Copy a two-dimensional texture subimage

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexSubImage2D")]
public static void CopyTexSubImage2D(All target, int level, int xoffset, int yoffset, int x, int y, int width, int height)
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 x

Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.

Int32 y

Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

CopyTexSubImage2D(TextureTarget, Int32, Int32, Int32, Int32, Int32, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Copy a two-dimensional texture subimage

Declaration
[Obsolete("Use TextureTarget2d overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexSubImage2D")]
public static void CopyTexSubImage2D(TextureTarget target, int level, int xoffset, int yoffset, int x, int y, int width, int height)
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 x

Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.

Int32 y

Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

CopyTexSubImage2D(TextureTarget2d, Int32, Int32, Int32, Int32, Int32, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Copy a two-dimensional texture subimage

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexSubImage2D")]
public static void CopyTexSubImage2D(TextureTarget2d target, int level, int xoffset, int yoffset, int x, int y, int width, int height)
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 x

Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.

Int32 y

Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

CreateProgram()

[requires: v2.0 or ES_VERSION_2_0] Create a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCreateProgram")]
public static int CreateProgram()
Returns
Type Description
Int32

CreateShader(All)

[requires: v2.0 or ES_VERSION_2_0] Create a shader object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCreateShader")]
public static int CreateShader(All type)
Parameters
Type Name Description
All type

Specifies the type of shader to be created. Must be either VertexShader or FragmentShader.

Returns
Type Description
Int32

CreateShader(ShaderType)

[requires: v2.0 or ES_VERSION_2_0] Create a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCreateShader")]
public static int CreateShader(ShaderType type)
Parameters
Type Name Description
ShaderType type

Specifies the type of shader to be created. Must be either VertexShader or FragmentShader.

Returns
Type Description
Int32

CullFace(All)

[requires: v2.0 or ES_VERSION_2_0] Specify whether front- or back-facing polygons can be culled

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCullFace")]
public static void CullFace(All mode)
Parameters
Type Name Description
All mode

Specifies whether front- or back-facing polygons are candidates for culling. Symbolic constants Front, Back, and FrontAndBack are accepted. The initial value is Back.

CullFace(CullFaceMode)

[requires: v2.0 or ES_VERSION_2_0] Specify whether front- or back-facing polygons can be culled

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCullFace")]
public static void CullFace(CullFaceMode mode)
Parameters
Type Name Description
CullFaceMode mode

Specifies whether front- or back-facing polygons are candidates for culling. Symbolic constants Front, Back, and FrontAndBack are accepted. The initial value is Back.

DebugMessageCallback(DebugProc, IntPtr)

Specify a callback to receive debugging messages from the GL

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")]
public static void DebugMessageCallback(DebugProc callback, IntPtr userParam)
Parameters
Type Name Description
DebugProc callback

The address of a callback function that will be called when a debug message is generated.

IntPtr userParam

A user supplied pointer that will be passed on each invocation of callback.

DebugMessageCallback<T1>(DebugProc, ref T1)

Specify a callback to receive debugging messages from the GL

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")]
public static void DebugMessageCallback<T1>(DebugProc callback, ref T1 userParam)
    where T1 : struct
Parameters
Type Name Description
DebugProc callback

The address of a callback function that will be called when a debug message is generated.

T1 userParam

A user supplied pointer that will be passed on each invocation of callback.

Type Parameters
Name Description
T1

DebugMessageCallback<T1>(DebugProc, T1[])

Specify a callback to receive debugging messages from the GL

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")]
[CLSCompliant(false)]
public static void DebugMessageCallback<T1>(DebugProc callback, T1[] userParam)
    where T1 : struct
Parameters
Type Name Description
DebugProc callback

The address of a callback function that will be called when a debug message is generated.

T1[] userParam

A user supplied pointer that will be passed on each invocation of callback.

Type Parameters
Name Description
T1

DebugMessageCallback<T1>(DebugProc, T1[,,])

Specify a callback to receive debugging messages from the GL

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")]
[CLSCompliant(false)]
public static void DebugMessageCallback<T1>(DebugProc callback, T1[,, ] userParam)
    where T1 : struct
Parameters
Type Name Description
DebugProc callback

The address of a callback function that will be called when a debug message is generated.

T1[,,] userParam

A user supplied pointer that will be passed on each invocation of callback.

Type Parameters
Name Description
T1

DebugMessageCallback<T1>(DebugProc, T1[,])

Specify a callback to receive debugging messages from the GL

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")]
[CLSCompliant(false)]
public static void DebugMessageCallback<T1>(DebugProc callback, T1[, ] userParam)
    where T1 : struct
Parameters
Type Name Description
DebugProc callback

The address of a callback function that will be called when a debug message is generated.

T1[,] userParam

A user supplied pointer that will be passed on each invocation of callback.

Type Parameters
Name Description
T1

DebugMessageControl(All, All, All, Int32, Int32*, Boolean)

Control the reporting of debug messages in a debug context

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
[CLSCompliant(false)]
public static void DebugMessageControl(All source, All type, All severity, int count, [Count(Parameter = "count")] int *ids, bool enabled)
Parameters
Type Name Description
All source

The source of debug messages to enable or disable.

All type

The type of debug messages to enable or disable.

All severity

The severity of debug messages to enable or disable.

Int32 count

The length of the array ids.

Int32* ids

[length: count] The address of an array of unsigned integers contianing the ids of the messages to enable or disable.

Boolean enabled

A Boolean flag determining whether the selected messages should be enabled or disabled.

DebugMessageControl(All, All, All, Int32, ref Int32, Boolean)

Control the reporting of debug messages in a debug context

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
[CLSCompliant(false)]
public static void DebugMessageControl(All source, All type, All severity, int count, [Count(Parameter = "count")] ref int ids, bool enabled)
Parameters
Type Name Description
All source

The source of debug messages to enable or disable.

All type

The type of debug messages to enable or disable.

All severity

The severity of debug messages to enable or disable.

Int32 count

The length of the array ids.

Int32 ids

[length: count] The address of an array of unsigned integers contianing the ids of the messages to enable or disable.

Boolean enabled

A Boolean flag determining whether the selected messages should be enabled or disabled.

DebugMessageControl(All, All, All, Int32, Int32[], Boolean)

Control the reporting of debug messages in a debug context

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
[CLSCompliant(false)]
public static void DebugMessageControl(All source, All type, All severity, int count, [Count(Parameter = "count")] int[] ids, bool enabled)
Parameters
Type Name Description
All source

The source of debug messages to enable or disable.

All type

The type of debug messages to enable or disable.

All severity

The severity of debug messages to enable or disable.

Int32 count

The length of the array ids.

Int32[] ids

[length: count] The address of an array of unsigned integers contianing the ids of the messages to enable or disable.

Boolean enabled

A Boolean flag determining whether the selected messages should be enabled or disabled.

DebugMessageControl(All, All, All, Int32, UInt32*, Boolean)

Control the reporting of debug messages in a debug context

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
[CLSCompliant(false)]
public static void DebugMessageControl(All source, All type, All severity, int count, [Count(Parameter = "count")] uint *ids, bool enabled)
Parameters
Type Name Description
All source

The source of debug messages to enable or disable.

All type

The type of debug messages to enable or disable.

All severity

The severity of debug messages to enable or disable.

Int32 count

The length of the array ids.

UInt32* ids

[length: count] The address of an array of unsigned integers contianing the ids of the messages to enable or disable.

Boolean enabled

A Boolean flag determining whether the selected messages should be enabled or disabled.

DebugMessageControl(All, All, All, Int32, ref UInt32, Boolean)

Control the reporting of debug messages in a debug context

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
[CLSCompliant(false)]
public static void DebugMessageControl(All source, All type, All severity, int count, [Count(Parameter = "count")] ref uint ids, bool enabled)
Parameters
Type Name Description
All source

The source of debug messages to enable or disable.

All type

The type of debug messages to enable or disable.

All severity

The severity of debug messages to enable or disable.

Int32 count

The length of the array ids.

UInt32 ids

[length: count] The address of an array of unsigned integers contianing the ids of the messages to enable or disable.

Boolean enabled

A Boolean flag determining whether the selected messages should be enabled or disabled.

DebugMessageControl(All, All, All, Int32, UInt32[], Boolean)

Control the reporting of debug messages in a debug context

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
[CLSCompliant(false)]
public static void DebugMessageControl(All source, All type, All severity, int count, [Count(Parameter = "count")] uint[] ids, bool enabled)
Parameters
Type Name Description
All source

The source of debug messages to enable or disable.

All type

The type of debug messages to enable or disable.

All severity

The severity of debug messages to enable or disable.

Int32 count

The length of the array ids.

UInt32[] ids

[length: count] The address of an array of unsigned integers contianing the ids of the messages to enable or disable.

Boolean enabled

A Boolean flag determining whether the selected messages should be enabled or disabled.

DebugMessageControl(DebugSourceControl, DebugTypeControl, DebugSeverityControl, Int32, Int32*, Boolean)

Control the reporting of debug messages in a debug context

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
[CLSCompliant(false)]
public static void DebugMessageControl(DebugSourceControl source, DebugTypeControl type, DebugSeverityControl severity, int count, [Count(Parameter = "count")] int *ids, bool enabled)
Parameters
Type Name Description
DebugSourceControl source

The source of debug messages to enable or disable.

DebugTypeControl type

The type of debug messages to enable or disable.

DebugSeverityControl severity

The severity of debug messages to enable or disable.

Int32 count

The length of the array ids.

Int32* ids

[length: count] The address of an array of unsigned integers contianing the ids of the messages to enable or disable.

Boolean enabled

A Boolean flag determining whether the selected messages should be enabled or disabled.

DebugMessageControl(DebugSourceControl, DebugTypeControl, DebugSeverityControl, Int32, ref Int32, Boolean)

Control the reporting of debug messages in a debug context

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
[CLSCompliant(false)]
public static void DebugMessageControl(DebugSourceControl source, DebugTypeControl type, DebugSeverityControl severity, int count, [Count(Parameter = "count")] ref int ids, bool enabled)
Parameters
Type Name Description
DebugSourceControl source

The source of debug messages to enable or disable.

DebugTypeControl type

The type of debug messages to enable or disable.

DebugSeverityControl severity

The severity of debug messages to enable or disable.

Int32 count

The length of the array ids.

Int32 ids

[length: count] The address of an array of unsigned integers contianing the ids of the messages to enable or disable.

Boolean enabled

A Boolean flag determining whether the selected messages should be enabled or disabled.

DebugMessageControl(DebugSourceControl, DebugTypeControl, DebugSeverityControl, Int32, Int32[], Boolean)

Control the reporting of debug messages in a debug context

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
[CLSCompliant(false)]
public static void DebugMessageControl(DebugSourceControl source, DebugTypeControl type, DebugSeverityControl severity, int count, [Count(Parameter = "count")] int[] ids, bool enabled)
Parameters
Type Name Description
DebugSourceControl source

The source of debug messages to enable or disable.

DebugTypeControl type

The type of debug messages to enable or disable.

DebugSeverityControl severity

The severity of debug messages to enable or disable.

Int32 count

The length of the array ids.

Int32[] ids

[length: count] The address of an array of unsigned integers contianing the ids of the messages to enable or disable.

Boolean enabled

A Boolean flag determining whether the selected messages should be enabled or disabled.

DebugMessageControl(DebugSourceControl, DebugTypeControl, DebugSeverityControl, Int32, UInt32*, Boolean)

Control the reporting of debug messages in a debug context

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
[CLSCompliant(false)]
public static void DebugMessageControl(DebugSourceControl source, DebugTypeControl type, DebugSeverityControl severity, int count, [Count(Parameter = "count")] uint *ids, bool enabled)
Parameters
Type Name Description
DebugSourceControl source

The source of debug messages to enable or disable.

DebugTypeControl type

The type of debug messages to enable or disable.

DebugSeverityControl severity

The severity of debug messages to enable or disable.

Int32 count

The length of the array ids.

UInt32* ids

[length: count] The address of an array of unsigned integers contianing the ids of the messages to enable or disable.

Boolean enabled

A Boolean flag determining whether the selected messages should be enabled or disabled.

DebugMessageControl(DebugSourceControl, DebugTypeControl, DebugSeverityControl, Int32, ref UInt32, Boolean)

Control the reporting of debug messages in a debug context

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
[CLSCompliant(false)]
public static void DebugMessageControl(DebugSourceControl source, DebugTypeControl type, DebugSeverityControl severity, int count, [Count(Parameter = "count")] ref uint ids, bool enabled)
Parameters
Type Name Description
DebugSourceControl source

The source of debug messages to enable or disable.

DebugTypeControl type

The type of debug messages to enable or disable.

DebugSeverityControl severity

The severity of debug messages to enable or disable.

Int32 count

The length of the array ids.

UInt32 ids

[length: count] The address of an array of unsigned integers contianing the ids of the messages to enable or disable.

Boolean enabled

A Boolean flag determining whether the selected messages should be enabled or disabled.

DebugMessageControl(DebugSourceControl, DebugTypeControl, DebugSeverityControl, Int32, UInt32[], Boolean)

Control the reporting of debug messages in a debug context

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
[CLSCompliant(false)]
public static void DebugMessageControl(DebugSourceControl source, DebugTypeControl type, DebugSeverityControl severity, int count, [Count(Parameter = "count")] uint[] ids, bool enabled)
Parameters
Type Name Description
DebugSourceControl source

The source of debug messages to enable or disable.

DebugTypeControl type

The type of debug messages to enable or disable.

DebugSeverityControl severity

The severity of debug messages to enable or disable.

Int32 count

The length of the array ids.

UInt32[] ids

[length: count] The address of an array of unsigned integers contianing the ids of the messages to enable or disable.

Boolean enabled

A Boolean flag determining whether the selected messages should be enabled or disabled.

DebugMessageInsert(All, All, Int32, All, Int32, String)

Inject an application-supplied message into the debug message queue

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")]
[CLSCompliant(false)]
public static void DebugMessageInsert(All source, All type, int id, All severity, int length, [Count(Computed = "buf,length")] string buf)
Parameters
Type Name Description
All source

The source of the debug message to insert.

All type

The type of the debug message insert.

Int32 id

The user-supplied identifier of the message to insert.

All severity

The severity of the debug messages to insert.

Int32 length

The length string contained in the character array whose address is given by message.

String buf

[length: COMPSIZE(buf,length)] The address of a character array containing the message to insert.

DebugMessageInsert(All, All, UInt32, All, Int32, String)

Inject an application-supplied message into the debug message queue

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")]
[CLSCompliant(false)]
public static void DebugMessageInsert(All source, All type, uint id, All severity, int length, [Count(Computed = "buf,length")] string buf)
Parameters
Type Name Description
All source

The source of the debug message to insert.

All type

The type of the debug message insert.

UInt32 id

The user-supplied identifier of the message to insert.

All severity

The severity of the debug messages to insert.

Int32 length

The length string contained in the character array whose address is given by message.

String buf

[length: COMPSIZE(buf,length)] The address of a character array containing the message to insert.

DebugMessageInsert(DebugSourceExternal, DebugType, Int32, DebugSeverity, Int32, String)

Inject an application-supplied message into the debug message queue

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")]
[CLSCompliant(false)]
public static void DebugMessageInsert(DebugSourceExternal source, DebugType type, int id, DebugSeverity severity, int length, [Count(Computed = "buf,length")] string buf)
Parameters
Type Name Description
DebugSourceExternal source

The source of the debug message to insert.

DebugType type

The type of the debug message insert.

Int32 id

The user-supplied identifier of the message to insert.

DebugSeverity severity

The severity of the debug messages to insert.

Int32 length

The length string contained in the character array whose address is given by message.

String buf

[length: COMPSIZE(buf,length)] The address of a character array containing the message to insert.

DebugMessageInsert(DebugSourceExternal, DebugType, UInt32, DebugSeverity, Int32, String)

Inject an application-supplied message into the debug message queue

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")]
[CLSCompliant(false)]
public static void DebugMessageInsert(DebugSourceExternal source, DebugType type, uint id, DebugSeverity severity, int length, [Count(Computed = "buf,length")] string buf)
Parameters
Type Name Description
DebugSourceExternal source

The source of the debug message to insert.

DebugType type

The type of the debug message insert.

UInt32 id

The user-supplied identifier of the message to insert.

DebugSeverity severity

The severity of the debug messages to insert.

Int32 length

The length string contained in the character array whose address is given by message.

String buf

[length: COMPSIZE(buf,length)] The address of a character array containing the message to insert.

DeleteBuffer(Int32)

[requires: v2.0 or ES_VERSION_2_0] Delete named buffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
[CLSCompliant(false)]
public static void DeleteBuffer([Count(Parameter = "n")] int buffers)
Parameters
Type Name Description
Int32 buffers

[length: n] Specifies an array of buffer objects to be deleted.

DeleteBuffer(UInt32)

[requires: v2.0 or ES_VERSION_2_0] Delete named buffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
[CLSCompliant(false)]
public static void DeleteBuffer([Count(Parameter = "n")] uint buffers)
Parameters
Type Name Description
UInt32 buffers

[length: n] Specifies an array of buffer objects to be deleted.

DeleteBuffers(Int32, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Delete named buffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
[CLSCompliant(false)]
public static void DeleteBuffers(int n, [Count(Parameter = "n")] int *buffers)
Parameters
Type Name Description
Int32 n

Specifies the number of buffer objects to be deleted.

Int32* buffers

[length: n] Specifies an array of buffer objects to be deleted.

DeleteBuffers(Int32, ref Int32)

[requires: v2.0 or ES_VERSION_2_0] Delete named buffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
[CLSCompliant(false)]
public static void DeleteBuffers(int n, [Count(Parameter = "n")] ref int buffers)
Parameters
Type Name Description
Int32 n

Specifies the number of buffer objects to be deleted.

Int32 buffers

[length: n] Specifies an array of buffer objects to be deleted.

DeleteBuffers(Int32, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Delete named buffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
[CLSCompliant(false)]
public static void DeleteBuffers(int n, [Count(Parameter = "n")] int[] buffers)
Parameters
Type Name Description
Int32 n

Specifies the number of buffer objects to be deleted.

Int32[] buffers

[length: n] Specifies an array of buffer objects to be deleted.

DeleteBuffers(Int32, UInt32*)

[requires: v2.0 or ES_VERSION_2_0] Delete named buffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
[CLSCompliant(false)]
public static void DeleteBuffers(int n, [Count(Parameter = "n")] uint *buffers)
Parameters
Type Name Description
Int32 n

Specifies the number of buffer objects to be deleted.

UInt32* buffers

[length: n] Specifies an array of buffer objects to be deleted.

DeleteBuffers(Int32, ref UInt32)

[requires: v2.0 or ES_VERSION_2_0] Delete named buffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
[CLSCompliant(false)]
public static void DeleteBuffers(int n, [Count(Parameter = "n")] ref uint buffers)
Parameters
Type Name Description
Int32 n

Specifies the number of buffer objects to be deleted.

UInt32 buffers

[length: n] Specifies an array of buffer objects to be deleted.

DeleteBuffers(Int32, UInt32[])

[requires: v2.0 or ES_VERSION_2_0] Delete named buffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
[CLSCompliant(false)]
public static void DeleteBuffers(int n, [Count(Parameter = "n")] uint[] buffers)
Parameters
Type Name Description
Int32 n

Specifies the number of buffer objects to be deleted.

UInt32[] buffers

[length: n] Specifies an array of buffer objects to be deleted.

DeleteFramebuffer(Int32)

[requires: v2.0 or ES_VERSION_2_0] Delete named framebuffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
[CLSCompliant(false)]
public static void DeleteFramebuffer([Count(Parameter = "n")] int framebuffers)
Parameters
Type Name Description
Int32 framebuffers

[length: n] Specifies an array of framebuffer objects to be deleted.

DeleteFramebuffer(UInt32)

[requires: v2.0 or ES_VERSION_2_0] Delete named framebuffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
[CLSCompliant(false)]
public static void DeleteFramebuffer([Count(Parameter = "n")] uint framebuffers)
Parameters
Type Name Description
UInt32 framebuffers

[length: n] Specifies an array of framebuffer objects to be deleted.

DeleteFramebuffers(Int32, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Delete named framebuffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
[CLSCompliant(false)]
public static void DeleteFramebuffers(int n, [Count(Parameter = "n")] int *framebuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of framebuffer objects to be deleted.

Int32* framebuffers

[length: n] Specifies an array of framebuffer objects to be deleted.

DeleteFramebuffers(Int32, ref Int32)

[requires: v2.0 or ES_VERSION_2_0] Delete named framebuffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
[CLSCompliant(false)]
public static void DeleteFramebuffers(int n, [Count(Parameter = "n")] ref int framebuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of framebuffer objects to be deleted.

Int32 framebuffers

[length: n] Specifies an array of framebuffer objects to be deleted.

DeleteFramebuffers(Int32, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Delete named framebuffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
[CLSCompliant(false)]
public static void DeleteFramebuffers(int n, [Count(Parameter = "n")] int[] framebuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of framebuffer objects to be deleted.

Int32[] framebuffers

[length: n] Specifies an array of framebuffer objects to be deleted.

DeleteFramebuffers(Int32, UInt32*)

[requires: v2.0 or ES_VERSION_2_0] Delete named framebuffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
[CLSCompliant(false)]
public static void DeleteFramebuffers(int n, [Count(Parameter = "n")] uint *framebuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of framebuffer objects to be deleted.

UInt32* framebuffers

[length: n] Specifies an array of framebuffer objects to be deleted.

DeleteFramebuffers(Int32, ref UInt32)

[requires: v2.0 or ES_VERSION_2_0] Delete named framebuffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
[CLSCompliant(false)]
public static void DeleteFramebuffers(int n, [Count(Parameter = "n")] ref uint framebuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of framebuffer objects to be deleted.

UInt32 framebuffers

[length: n] Specifies an array of framebuffer objects to be deleted.

DeleteFramebuffers(Int32, UInt32[])

[requires: v2.0 or ES_VERSION_2_0] Delete named framebuffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
[CLSCompliant(false)]
public static void DeleteFramebuffers(int n, [Count(Parameter = "n")] uint[] framebuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of framebuffer objects to be deleted.

UInt32[] framebuffers

[length: n] Specifies an array of framebuffer objects to be deleted.

DeleteProgram(Int32)

[requires: v2.0 or ES_VERSION_2_0] Delete a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")]
[CLSCompliant(false)]
public static void DeleteProgram(int program)
Parameters
Type Name Description
Int32 program

Specifies the program object to be deleted.

DeleteProgram(UInt32)

[requires: v2.0 or ES_VERSION_2_0] Delete a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")]
[CLSCompliant(false)]
public static void DeleteProgram(uint program)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be deleted.

DeleteRenderbuffer(Int32)

[requires: v2.0 or ES_VERSION_2_0] Delete named renderbuffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
[CLSCompliant(false)]
public static void DeleteRenderbuffer([Count(Parameter = "n")] int renderbuffers)
Parameters
Type Name Description
Int32 renderbuffers

[length: n] Specifies an array of renderbuffer objects to be deleted.

DeleteRenderbuffer(UInt32)

[requires: v2.0 or ES_VERSION_2_0] Delete named renderbuffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
[CLSCompliant(false)]
public static void DeleteRenderbuffer([Count(Parameter = "n")] uint renderbuffers)
Parameters
Type Name Description
UInt32 renderbuffers

[length: n] Specifies an array of renderbuffer objects to be deleted.

DeleteRenderbuffers(Int32, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Delete named renderbuffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
[CLSCompliant(false)]
public static void DeleteRenderbuffers(int n, [Count(Parameter = "n")] int *renderbuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of renderbuffer objects to be deleted.

Int32* renderbuffers

[length: n] Specifies an array of renderbuffer objects to be deleted.

DeleteRenderbuffers(Int32, ref Int32)

[requires: v2.0 or ES_VERSION_2_0] Delete named renderbuffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
[CLSCompliant(false)]
public static void DeleteRenderbuffers(int n, [Count(Parameter = "n")] ref int renderbuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of renderbuffer objects to be deleted.

Int32 renderbuffers

[length: n] Specifies an array of renderbuffer objects to be deleted.

DeleteRenderbuffers(Int32, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Delete named renderbuffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
[CLSCompliant(false)]
public static void DeleteRenderbuffers(int n, [Count(Parameter = "n")] int[] renderbuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of renderbuffer objects to be deleted.

Int32[] renderbuffers

[length: n] Specifies an array of renderbuffer objects to be deleted.

DeleteRenderbuffers(Int32, UInt32*)

[requires: v2.0 or ES_VERSION_2_0] Delete named renderbuffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
[CLSCompliant(false)]
public static void DeleteRenderbuffers(int n, [Count(Parameter = "n")] uint *renderbuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of renderbuffer objects to be deleted.

UInt32* renderbuffers

[length: n] Specifies an array of renderbuffer objects to be deleted.

DeleteRenderbuffers(Int32, ref UInt32)

[requires: v2.0 or ES_VERSION_2_0] Delete named renderbuffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
[CLSCompliant(false)]
public static void DeleteRenderbuffers(int n, [Count(Parameter = "n")] ref uint renderbuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of renderbuffer objects to be deleted.

UInt32 renderbuffers

[length: n] Specifies an array of renderbuffer objects to be deleted.

DeleteRenderbuffers(Int32, UInt32[])

[requires: v2.0 or ES_VERSION_2_0] Delete named renderbuffer objects

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
[CLSCompliant(false)]
public static void DeleteRenderbuffers(int n, [Count(Parameter = "n")] uint[] renderbuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of renderbuffer objects to be deleted.

UInt32[] renderbuffers

[length: n] Specifies an array of renderbuffer objects to be deleted.

DeleteShader(Int32)

[requires: v2.0 or ES_VERSION_2_0] Delete a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")]
[CLSCompliant(false)]
public static void DeleteShader(int shader)
Parameters
Type Name Description
Int32 shader

Specifies the shader object to be deleted.

DeleteShader(UInt32)

[requires: v2.0 or ES_VERSION_2_0] Delete a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")]
[CLSCompliant(false)]
public static void DeleteShader(uint shader)
Parameters
Type Name Description
UInt32 shader

Specifies the shader object to be deleted.

DeleteTexture(Int32)

[requires: v2.0 or ES_VERSION_2_0] Delete named textures

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")]
[CLSCompliant(false)]
public static void DeleteTexture([Count(Parameter = "n")] int textures)
Parameters
Type Name Description
Int32 textures

[length: n] Specifies an array of textures to be deleted.

DeleteTexture(UInt32)

[requires: v2.0 or ES_VERSION_2_0] Delete named textures

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")]
[CLSCompliant(false)]
public static void DeleteTexture([Count(Parameter = "n")] uint textures)
Parameters
Type Name Description
UInt32 textures

[length: n] Specifies an array of textures to be deleted.

DeleteTextures(Int32, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Delete named textures

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")]
[CLSCompliant(false)]
public static void DeleteTextures(int n, [Count(Parameter = "n")] int *textures)
Parameters
Type Name Description
Int32 n

Specifies the number of textures to be deleted.

Int32* textures

[length: n] Specifies an array of textures to be deleted.

DeleteTextures(Int32, ref Int32)

[requires: v2.0 or ES_VERSION_2_0] Delete named textures

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")]
[CLSCompliant(false)]
public static void DeleteTextures(int n, [Count(Parameter = "n")] ref int textures)
Parameters
Type Name Description
Int32 n

Specifies the number of textures to be deleted.

Int32 textures

[length: n] Specifies an array of textures to be deleted.

DeleteTextures(Int32, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Delete named textures

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")]
[CLSCompliant(false)]
public static void DeleteTextures(int n, [Count(Parameter = "n")] int[] textures)
Parameters
Type Name Description
Int32 n

Specifies the number of textures to be deleted.

Int32[] textures

[length: n] Specifies an array of textures to be deleted.

DeleteTextures(Int32, UInt32*)

[requires: v2.0 or ES_VERSION_2_0] Delete named textures

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")]
[CLSCompliant(false)]
public static void DeleteTextures(int n, [Count(Parameter = "n")] uint *textures)
Parameters
Type Name Description
Int32 n

Specifies the number of textures to be deleted.

UInt32* textures

[length: n] Specifies an array of textures to be deleted.

DeleteTextures(Int32, ref UInt32)

[requires: v2.0 or ES_VERSION_2_0] Delete named textures

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")]
[CLSCompliant(false)]
public static void DeleteTextures(int n, [Count(Parameter = "n")] ref uint textures)
Parameters
Type Name Description
Int32 n

Specifies the number of textures to be deleted.

UInt32 textures

[length: n] Specifies an array of textures to be deleted.

DeleteTextures(Int32, UInt32[])

[requires: v2.0 or ES_VERSION_2_0] Delete named textures

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")]
[CLSCompliant(false)]
public static void DeleteTextures(int n, [Count(Parameter = "n")] uint[] textures)
Parameters
Type Name Description
Int32 n

Specifies the number of textures to be deleted.

UInt32[] textures

[length: n] Specifies an array of textures to be deleted.

DepthFunc(All)

[requires: v2.0 or ES_VERSION_2_0] Specify the value used for depth buffer comparisons

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthFunc")]
public static void DepthFunc(All func)
Parameters
Type Name Description
All func

Specifies the depth comparison function. Symbolic constants Never, Less, Equal, Lequal, Greater, Notequal, Gequal, and Always are accepted. The initial value is Less.

DepthFunc(DepthFunction)

[requires: v2.0 or ES_VERSION_2_0] Specify the value used for depth buffer comparisons

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthFunc")]
public static void DepthFunc(DepthFunction func)
Parameters
Type Name Description
DepthFunction func

Specifies the depth comparison function. Symbolic constants Never, Less, Equal, Lequal, Greater, Notequal, Gequal, and Always are accepted. The initial value is Less.

DepthMask(Boolean)

[requires: v2.0 or ES_VERSION_2_0] Enable or disable writing into the depth buffer

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthMask")]
public static void DepthMask(bool flag)
Parameters
Type Name Description
Boolean flag

Specifies whether the depth buffer is enabled for writing. If flag is False, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled.

DepthRange(Single, Single)

[requires: v2.0 or ES_VERSION_2_0] Specify mapping of depth values from normalized device coordinates to window coordinates

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthRangef")]
public static void DepthRange(float n, float f)
Parameters
Type Name Description
Single n

Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0.

Single f

Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1.

DetachShader(Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Detach a shader object from a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")]
[CLSCompliant(false)]
public static void DetachShader(int program, int shader)
Parameters
Type Name Description
Int32 program

Specifies the program object from which to detach the shader object.

Int32 shader

Specifies the shader object to be detached.

DetachShader(UInt32, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Detach a shader object from a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")]
[CLSCompliant(false)]
public static void DetachShader(uint program, uint shader)
Parameters
Type Name Description
UInt32 program

Specifies the program object from which to detach the shader object.

UInt32 shader

Specifies the shader object to be detached.

Disable(All)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisable")]
public static void Disable(All cap)
Parameters
Type Name Description
All cap

Disable(EnableCap)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisable")]
public static void Disable(EnableCap cap)
Parameters
Type Name Description
EnableCap cap

DisableVertexAttribArray(Int32)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")]
[CLSCompliant(false)]
public static void DisableVertexAttribArray(int index)
Parameters
Type Name Description
Int32 index

DisableVertexAttribArray(UInt32)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")]
[CLSCompliant(false)]
public static void DisableVertexAttribArray(uint index)
Parameters
Type Name Description
UInt32 index

DrawArrays(All, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Render primitives from array data

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawArrays")]
public static void DrawArrays(All mode, int first, int count)
Parameters
Type Name Description
All mode

Specifies what kind of primitives to render. Symbolic constants Points, LineStrip, LineLoop, Lines, TriangleStrip, TriangleFan, and Triangles are accepted.

Int32 first

Specifies the starting index in the enabled arrays.

Int32 count

Specifies the number of indices to be rendered.

DrawArrays(BeginMode, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Render primitives from array data

Declaration
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawArrays")]
public static void DrawArrays(BeginMode mode, int first, int count)
Parameters
Type Name Description
BeginMode mode

Specifies what kind of primitives to render. Symbolic constants Points, LineStrip, LineLoop, Lines, TriangleStrip, TriangleFan, and Triangles are accepted.

Int32 first

Specifies the starting index in the enabled arrays.

Int32 count

Specifies the number of indices to be rendered.

DrawArrays(PrimitiveType, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Render primitives from array data

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawArrays")]
public static void DrawArrays(PrimitiveType mode, int first, int count)
Parameters
Type Name Description
PrimitiveType mode

Specifies what kind of primitives to render. Symbolic constants Points, LineStrip, LineLoop, Lines, TriangleStrip, TriangleFan, and Triangles are accepted.

Int32 first

Specifies the starting index in the enabled arrays.

Int32 count

Specifies the number of indices to be rendered.

DrawElements(All, Int32, All, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Render primitives from array data

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
public static void DrawElements(All mode, int count, All type, [Count(Computed = "count,type")] IntPtr indices)
Parameters
Type Name Description
All mode

Specifies what kind of primitives to render. Symbolic constants Points, LineStrip, LineLoop, Lines, TriangleStrip, TriangleFan, and Triangles are accepted.

Int32 count

Specifies the number of elements to be rendered.

All type

Specifies the type of the values in indices. Must be UnsignedByte or UnsignedShort.

IntPtr indices

[length: COMPSIZE(count,type)] Specifies a pointer to the location where the indices are stored.

DrawElements(BeginMode, Int32, DrawElementsType, Int32)

Declaration
public static void DrawElements(BeginMode mode, int count, DrawElementsType type, int offset)
Parameters
Type Name Description
BeginMode mode
Int32 count
DrawElementsType type
Int32 offset

DrawElements(BeginMode, Int32, DrawElementsType, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Render primitives from array data

Declaration
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
public static void DrawElements(BeginMode mode, int count, DrawElementsType type, [Count(Computed = "count,type")] IntPtr indices)
Parameters
Type Name Description
BeginMode mode

Specifies what kind of primitives to render. Symbolic constants Points, LineStrip, LineLoop, Lines, TriangleStrip, TriangleFan, and Triangles are accepted.

Int32 count

Specifies the number of elements to be rendered.

DrawElementsType type

Specifies the type of the values in indices. Must be UnsignedByte or UnsignedShort.

IntPtr indices

[length: COMPSIZE(count,type)] Specifies a pointer to the location where the indices are stored.

DrawElements(PrimitiveType, Int32, DrawElementsType, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Render primitives from array data

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
public static void DrawElements(PrimitiveType mode, int count, DrawElementsType type, [Count(Computed = "count,type")] IntPtr indices)
Parameters
Type Name Description
PrimitiveType mode

Specifies what kind of primitives to render. Symbolic constants Points, LineStrip, LineLoop, Lines, TriangleStrip, TriangleFan, and Triangles are accepted.

Int32 count

Specifies the number of elements to be rendered.

DrawElementsType type

Specifies the type of the values in indices. Must be UnsignedByte or UnsignedShort.

IntPtr indices

[length: COMPSIZE(count,type)] Specifies a pointer to the location where the indices are stored.

DrawElements<T3>(All, Int32, All, ref T3)

[requires: v2.0 or ES_VERSION_2_0] Render primitives from array data

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
public static void DrawElements<T3>(All mode, int count, All type, [Count(Computed = "count,type")] ref T3 indices)
    where T3 : struct
Parameters
Type Name Description
All mode

Specifies what kind of primitives to render. Symbolic constants Points, LineStrip, LineLoop, Lines, TriangleStrip, TriangleFan, and Triangles are accepted.

Int32 count

Specifies the number of elements to be rendered.

All type

Specifies the type of the values in indices. Must be UnsignedByte or UnsignedShort.

T3 indices

[length: COMPSIZE(count,type)] Specifies a pointer to the location where the indices are stored.

Type Parameters
Name Description
T3

DrawElements<T3>(All, Int32, All, T3[])

[requires: v2.0 or ES_VERSION_2_0] Render primitives from array data

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
[CLSCompliant(false)]
public static void DrawElements<T3>(All mode, int count, All type, [Count(Computed = "count,type")] T3[] indices)
    where T3 : struct
Parameters
Type Name Description
All mode

Specifies what kind of primitives to render. Symbolic constants Points, LineStrip, LineLoop, Lines, TriangleStrip, TriangleFan, and Triangles are accepted.

Int32 count

Specifies the number of elements to be rendered.

All type

Specifies the type of the values in indices. Must be UnsignedByte or UnsignedShort.

T3[] indices

[length: COMPSIZE(count,type)] Specifies a pointer to the location where the indices are stored.

Type Parameters
Name Description
T3

DrawElements<T3>(All, Int32, All, T3[,,])

[requires: v2.0 or ES_VERSION_2_0] Render primitives from array data

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
[CLSCompliant(false)]
public static void DrawElements<T3>(All mode, int count, All type, [Count(Computed = "count,type")] T3[,, ] indices)
    where T3 : struct
Parameters
Type Name Description
All mode

Specifies what kind of primitives to render. Symbolic constants Points, LineStrip, LineLoop, Lines, TriangleStrip, TriangleFan, and Triangles are accepted.

Int32 count

Specifies the number of elements to be rendered.

All type

Specifies the type of the values in indices. Must be UnsignedByte or UnsignedShort.

T3[,,] indices

[length: COMPSIZE(count,type)] Specifies a pointer to the location where the indices are stored.

Type Parameters
Name Description
T3

DrawElements<T3>(All, Int32, All, T3[,])

[requires: v2.0 or ES_VERSION_2_0] Render primitives from array data

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
[CLSCompliant(false)]
public static void DrawElements<T3>(All mode, int count, All type, [Count(Computed = "count,type")] T3[, ] indices)
    where T3 : struct
Parameters
Type Name Description
All mode

Specifies what kind of primitives to render. Symbolic constants Points, LineStrip, LineLoop, Lines, TriangleStrip, TriangleFan, and Triangles are accepted.

Int32 count

Specifies the number of elements to be rendered.

All type

Specifies the type of the values in indices. Must be UnsignedByte or UnsignedShort.

T3[,] indices

[length: COMPSIZE(count,type)] Specifies a pointer to the location where the indices are stored.

Type Parameters
Name Description
T3

DrawElements<T3>(BeginMode, Int32, DrawElementsType, ref T3)

[requires: v2.0 or ES_VERSION_2_0] Render primitives from array data

Declaration
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
public static void DrawElements<T3>(BeginMode mode, int count, DrawElementsType type, [Count(Computed = "count,type")] ref T3 indices)
    where T3 : struct
Parameters
Type Name Description
BeginMode mode

Specifies what kind of primitives to render. Symbolic constants Points, LineStrip, LineLoop, Lines, TriangleStrip, TriangleFan, and Triangles are accepted.

Int32 count

Specifies the number of elements to be rendered.

DrawElementsType type

Specifies the type of the values in indices. Must be UnsignedByte or UnsignedShort.

T3 indices

[length: COMPSIZE(count,type)] Specifies a pointer to the location where the indices are stored.

Type Parameters
Name Description
T3

DrawElements<T3>(BeginMode, Int32, DrawElementsType, T3[])

[requires: v2.0 or ES_VERSION_2_0] Render primitives from array data

Declaration
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
[CLSCompliant(false)]
public static void DrawElements<T3>(BeginMode mode, int count, DrawElementsType type, [Count(Computed = "count,type")] T3[] indices)
    where T3 : struct
Parameters
Type Name Description
BeginMode mode

Specifies what kind of primitives to render. Symbolic constants Points, LineStrip, LineLoop, Lines, TriangleStrip, TriangleFan, and Triangles are accepted.

Int32 count

Specifies the number of elements to be rendered.

DrawElementsType type

Specifies the type of the values in indices. Must be UnsignedByte or UnsignedShort.

T3[] indices

[length: COMPSIZE(count,type)] Specifies a pointer to the location where the indices are stored.

Type Parameters
Name Description
T3

DrawElements<T3>(BeginMode, Int32, DrawElementsType, T3[,,])

[requires: v2.0 or ES_VERSION_2_0] Render primitives from array data

Declaration
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
[CLSCompliant(false)]
public static void DrawElements<T3>(BeginMode mode, int count, DrawElementsType type, [Count(Computed = "count,type")] T3[,, ] indices)
    where T3 : struct
Parameters
Type Name Description
BeginMode mode

Specifies what kind of primitives to render. Symbolic constants Points, LineStrip, LineLoop, Lines, TriangleStrip, TriangleFan, and Triangles are accepted.

Int32 count

Specifies the number of elements to be rendered.

DrawElementsType type

Specifies the type of the values in indices. Must be UnsignedByte or UnsignedShort.

T3[,,] indices

[length: COMPSIZE(count,type)] Specifies a pointer to the location where the indices are stored.

Type Parameters
Name Description
T3

DrawElements<T3>(BeginMode, Int32, DrawElementsType, T3[,])

[requires: v2.0 or ES_VERSION_2_0] Render primitives from array data

Declaration
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
[CLSCompliant(false)]
public static void DrawElements<T3>(BeginMode mode, int count, DrawElementsType type, [Count(Computed = "count,type")] T3[, ] indices)
    where T3 : struct
Parameters
Type Name Description
BeginMode mode

Specifies what kind of primitives to render. Symbolic constants Points, LineStrip, LineLoop, Lines, TriangleStrip, TriangleFan, and Triangles are accepted.

Int32 count

Specifies the number of elements to be rendered.

DrawElementsType type

Specifies the type of the values in indices. Must be UnsignedByte or UnsignedShort.

T3[,] indices

[length: COMPSIZE(count,type)] Specifies a pointer to the location where the indices are stored.

Type Parameters
Name Description
T3

DrawElements<T3>(PrimitiveType, Int32, DrawElementsType, ref T3)

[requires: v2.0 or ES_VERSION_2_0] Render primitives from array data

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
public static void DrawElements<T3>(PrimitiveType mode, int count, DrawElementsType type, [Count(Computed = "count,type")] ref T3 indices)
    where T3 : struct
Parameters
Type Name Description
PrimitiveType mode

Specifies what kind of primitives to render. Symbolic constants Points, LineStrip, LineLoop, Lines, TriangleStrip, TriangleFan, and Triangles are accepted.

Int32 count

Specifies the number of elements to be rendered.

DrawElementsType type

Specifies the type of the values in indices. Must be UnsignedByte or UnsignedShort.

T3 indices

[length: COMPSIZE(count,type)] Specifies a pointer to the location where the indices are stored.

Type Parameters
Name Description
T3

DrawElements<T3>(PrimitiveType, Int32, DrawElementsType, T3[])

[requires: v2.0 or ES_VERSION_2_0] Render primitives from array data

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
[CLSCompliant(false)]
public static void DrawElements<T3>(PrimitiveType mode, int count, DrawElementsType type, [Count(Computed = "count,type")] T3[] indices)
    where T3 : struct
Parameters
Type Name Description
PrimitiveType mode

Specifies what kind of primitives to render. Symbolic constants Points, LineStrip, LineLoop, Lines, TriangleStrip, TriangleFan, and Triangles are accepted.

Int32 count

Specifies the number of elements to be rendered.

DrawElementsType type

Specifies the type of the values in indices. Must be UnsignedByte or UnsignedShort.

T3[] indices

[length: COMPSIZE(count,type)] Specifies a pointer to the location where the indices are stored.

Type Parameters
Name Description
T3

DrawElements<T3>(PrimitiveType, Int32, DrawElementsType, T3[,,])

[requires: v2.0 or ES_VERSION_2_0] Render primitives from array data

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
[CLSCompliant(false)]
public static void DrawElements<T3>(PrimitiveType mode, int count, DrawElementsType type, [Count(Computed = "count,type")] T3[,, ] indices)
    where T3 : struct
Parameters
Type Name Description
PrimitiveType mode

Specifies what kind of primitives to render. Symbolic constants Points, LineStrip, LineLoop, Lines, TriangleStrip, TriangleFan, and Triangles are accepted.

Int32 count

Specifies the number of elements to be rendered.

DrawElementsType type

Specifies the type of the values in indices. Must be UnsignedByte or UnsignedShort.

T3[,,] indices

[length: COMPSIZE(count,type)] Specifies a pointer to the location where the indices are stored.

Type Parameters
Name Description
T3

DrawElements<T3>(PrimitiveType, Int32, DrawElementsType, T3[,])

[requires: v2.0 or ES_VERSION_2_0] Render primitives from array data

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")]
[CLSCompliant(false)]
public static void DrawElements<T3>(PrimitiveType mode, int count, DrawElementsType type, [Count(Computed = "count,type")] T3[, ] indices)
    where T3 : struct
Parameters
Type Name Description
PrimitiveType mode

Specifies what kind of primitives to render. Symbolic constants Points, LineStrip, LineLoop, Lines, TriangleStrip, TriangleFan, and Triangles are accepted.

Int32 count

Specifies the number of elements to be rendered.

DrawElementsType type

Specifies the type of the values in indices. Must be UnsignedByte or UnsignedShort.

T3[,] indices

[length: COMPSIZE(count,type)] Specifies a pointer to the location where the indices are stored.

Type Parameters
Name Description
T3

Enable(All)

[requires: v2.0 or ES_VERSION_2_0] Enable or disable server-side GL capabilities

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnable")]
public static void Enable(All cap)
Parameters
Type Name Description
All cap

Specifies a symbolic constant indicating a GL capability.

Enable(EnableCap)

[requires: v2.0 or ES_VERSION_2_0] Enable or disable server-side GL capabilities

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnable")]
public static void Enable(EnableCap cap)
Parameters
Type Name Description
EnableCap cap

Specifies a symbolic constant indicating a GL capability.

EnableVertexAttribArray(Int32)

[requires: v2.0 or ES_VERSION_2_0] Enable or disable a generic vertex attribute array

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")]
[CLSCompliant(false)]
public static void EnableVertexAttribArray(int index)
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be enabled or disabled.

EnableVertexAttribArray(UInt32)

[requires: v2.0 or ES_VERSION_2_0] Enable or disable a generic vertex attribute array

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")]
[CLSCompliant(false)]
public static void EnableVertexAttribArray(uint index)
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be enabled or disabled.

Finish()

[requires: v2.0 or ES_VERSION_2_0] Block until all GL execution is complete

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFinish")]
public static void Finish()

Flush()

[requires: v2.0 or ES_VERSION_2_0] Force execution of GL commands in finite time

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFlush")]
public static void Flush()

FramebufferRenderbuffer(All, All, All, Int32)

[requires: v2.0 or ES_VERSION_2_0] Attach a renderbuffer object to a framebuffer object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")]
[CLSCompliant(false)]
public static void FramebufferRenderbuffer(All target, All attachment, All renderbuffertarget, int renderbuffer)
Parameters
Type Name Description
All target

Specifies the framebuffer target. The symbolic constant must be Framebuffer.

All attachment

Specifies the attachment point to which renderbuffer should be attached. Must be one of the following symbolic constants: ColorAttachment0, DepthAttachment, or StencilAttachment.

All renderbuffertarget

Specifies the renderbuffer target. The symbolic constant must be Renderbuffer.

Int32 renderbuffer

Specifies the renderbuffer object that is to be attached.

FramebufferRenderbuffer(All, All, All, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Attach a renderbuffer object to a framebuffer object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")]
[CLSCompliant(false)]
public static void FramebufferRenderbuffer(All target, All attachment, All renderbuffertarget, uint renderbuffer)
Parameters
Type Name Description
All target

Specifies the framebuffer target. The symbolic constant must be Framebuffer.

All attachment

Specifies the attachment point to which renderbuffer should be attached. Must be one of the following symbolic constants: ColorAttachment0, DepthAttachment, or StencilAttachment.

All renderbuffertarget

Specifies the renderbuffer target. The symbolic constant must be Renderbuffer.

UInt32 renderbuffer

Specifies the renderbuffer object that is to be attached.

FramebufferRenderbuffer(FramebufferTarget, FramebufferAttachment, RenderbufferTarget, Int32)

[requires: v2.0 or ES_VERSION_2_0] Attach a renderbuffer object to a framebuffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")]
[CLSCompliant(false)]
public static void FramebufferRenderbuffer(FramebufferTarget target, FramebufferAttachment attachment, RenderbufferTarget renderbuffertarget, int renderbuffer)
Parameters
Type Name Description
FramebufferTarget target

Specifies the framebuffer target. The symbolic constant must be Framebuffer.

FramebufferAttachment attachment

Specifies the attachment point to which renderbuffer should be attached. Must be one of the following symbolic constants: ColorAttachment0, DepthAttachment, or StencilAttachment.

RenderbufferTarget renderbuffertarget

Specifies the renderbuffer target. The symbolic constant must be Renderbuffer.

Int32 renderbuffer

Specifies the renderbuffer object that is to be attached.

FramebufferRenderbuffer(FramebufferTarget, FramebufferAttachment, RenderbufferTarget, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Attach a renderbuffer object to a framebuffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")]
[CLSCompliant(false)]
public static void FramebufferRenderbuffer(FramebufferTarget target, FramebufferAttachment attachment, RenderbufferTarget renderbuffertarget, uint renderbuffer)
Parameters
Type Name Description
FramebufferTarget target

Specifies the framebuffer target. The symbolic constant must be Framebuffer.

FramebufferAttachment attachment

Specifies the attachment point to which renderbuffer should be attached. Must be one of the following symbolic constants: ColorAttachment0, DepthAttachment, or StencilAttachment.

RenderbufferTarget renderbuffertarget

Specifies the renderbuffer target. The symbolic constant must be Renderbuffer.

UInt32 renderbuffer

Specifies the renderbuffer object that is to be attached.

FramebufferRenderbuffer(FramebufferTarget, FramebufferSlot, RenderbufferTarget, Int32)

[requires: v2.0 or ES_VERSION_2_0] Attach a renderbuffer object to a framebuffer object

Declaration
[Obsolete("Use FramebufferAttachment overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")]
[CLSCompliant(false)]
public static void FramebufferRenderbuffer(FramebufferTarget target, FramebufferSlot attachment, RenderbufferTarget renderbuffertarget, int renderbuffer)
Parameters
Type Name Description
FramebufferTarget target

Specifies the framebuffer target. The symbolic constant must be Framebuffer.

FramebufferSlot attachment

Specifies the attachment point to which renderbuffer should be attached. Must be one of the following symbolic constants: ColorAttachment0, DepthAttachment, or StencilAttachment.

RenderbufferTarget renderbuffertarget

Specifies the renderbuffer target. The symbolic constant must be Renderbuffer.

Int32 renderbuffer

Specifies the renderbuffer object that is to be attached.

FramebufferRenderbuffer(FramebufferTarget, FramebufferSlot, RenderbufferTarget, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Attach a renderbuffer object to a framebuffer object

Declaration
[Obsolete("Use FramebufferAttachment overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")]
[CLSCompliant(false)]
public static void FramebufferRenderbuffer(FramebufferTarget target, FramebufferSlot attachment, RenderbufferTarget renderbuffertarget, uint renderbuffer)
Parameters
Type Name Description
FramebufferTarget target

Specifies the framebuffer target. The symbolic constant must be Framebuffer.

FramebufferSlot attachment

Specifies the attachment point to which renderbuffer should be attached. Must be one of the following symbolic constants: ColorAttachment0, DepthAttachment, or StencilAttachment.

RenderbufferTarget renderbuffertarget

Specifies the renderbuffer target. The symbolic constant must be Renderbuffer.

UInt32 renderbuffer

Specifies the renderbuffer object that is to be attached.

FramebufferTexture2D(All, All, All, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Attach a texture image to a framebuffer object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
[CLSCompliant(false)]
public static void FramebufferTexture2D(All target, All attachment, All textarget, int texture, int level)
Parameters
Type Name Description
All target

Specifies the framebuffer target. The symbolic constant must be Framebuffer.

All attachment

Specifies the attachment point to which an image from texture should be attached. Must be one of the following symbolic constants: ColorAttachment0, DepthAttachment, or StencilAttachment.

All textarget

Specifies the texture target. Must be one of the following symbolic constants: Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 texture

Specifies the texture object whose image is to be attached.

Int32 level

Specifies the mipmap level of the texture image to be attached, which must be 0.

FramebufferTexture2D(All, All, All, UInt32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Attach a texture image to a framebuffer object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
[CLSCompliant(false)]
public static void FramebufferTexture2D(All target, All attachment, All textarget, uint texture, int level)
Parameters
Type Name Description
All target

Specifies the framebuffer target. The symbolic constant must be Framebuffer.

All attachment

Specifies the attachment point to which an image from texture should be attached. Must be one of the following symbolic constants: ColorAttachment0, DepthAttachment, or StencilAttachment.

All textarget

Specifies the texture target. Must be one of the following symbolic constants: Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

UInt32 texture

Specifies the texture object whose image is to be attached.

Int32 level

Specifies the mipmap level of the texture image to be attached, which must be 0.

FramebufferTexture2D(FramebufferTarget, FramebufferAttachment, TextureTarget, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Attach a texture image to a framebuffer object

Declaration
[Obsolete("Use TextureTarget2d overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
[CLSCompliant(false)]
public static void FramebufferTexture2D(FramebufferTarget target, FramebufferAttachment attachment, TextureTarget textarget, int texture, int level)
Parameters
Type Name Description
FramebufferTarget target

Specifies the framebuffer target. The symbolic constant must be Framebuffer.

FramebufferAttachment attachment

Specifies the attachment point to which an image from texture should be attached. Must be one of the following symbolic constants: ColorAttachment0, DepthAttachment, or StencilAttachment.

TextureTarget textarget

Specifies the texture target. Must be one of the following symbolic constants: Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 texture

Specifies the texture object whose image is to be attached.

Int32 level

Specifies the mipmap level of the texture image to be attached, which must be 0.

FramebufferTexture2D(FramebufferTarget, FramebufferAttachment, TextureTarget, UInt32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Attach a texture image to a framebuffer object

Declaration
[Obsolete("Use TextureTarget2d overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
[CLSCompliant(false)]
public static void FramebufferTexture2D(FramebufferTarget target, FramebufferAttachment attachment, TextureTarget textarget, uint texture, int level)
Parameters
Type Name Description
FramebufferTarget target

Specifies the framebuffer target. The symbolic constant must be Framebuffer.

FramebufferAttachment attachment

Specifies the attachment point to which an image from texture should be attached. Must be one of the following symbolic constants: ColorAttachment0, DepthAttachment, or StencilAttachment.

TextureTarget textarget

Specifies the texture target. Must be one of the following symbolic constants: Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

UInt32 texture

Specifies the texture object whose image is to be attached.

Int32 level

Specifies the mipmap level of the texture image to be attached, which must be 0.

FramebufferTexture2D(FramebufferTarget, FramebufferAttachment, TextureTarget2d, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Attach a texture image to a framebuffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
[CLSCompliant(false)]
public static void FramebufferTexture2D(FramebufferTarget target, FramebufferAttachment attachment, TextureTarget2d textarget, int texture, int level)
Parameters
Type Name Description
FramebufferTarget target

Specifies the framebuffer target. The symbolic constant must be Framebuffer.

FramebufferAttachment attachment

Specifies the attachment point to which an image from texture should be attached. Must be one of the following symbolic constants: ColorAttachment0, DepthAttachment, or StencilAttachment.

TextureTarget2d textarget

Specifies the texture target. Must be one of the following symbolic constants: Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 texture

Specifies the texture object whose image is to be attached.

Int32 level

Specifies the mipmap level of the texture image to be attached, which must be 0.

FramebufferTexture2D(FramebufferTarget, FramebufferAttachment, TextureTarget2d, UInt32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Attach a texture image to a framebuffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
[CLSCompliant(false)]
public static void FramebufferTexture2D(FramebufferTarget target, FramebufferAttachment attachment, TextureTarget2d textarget, uint texture, int level)
Parameters
Type Name Description
FramebufferTarget target

Specifies the framebuffer target. The symbolic constant must be Framebuffer.

FramebufferAttachment attachment

Specifies the attachment point to which an image from texture should be attached. Must be one of the following symbolic constants: ColorAttachment0, DepthAttachment, or StencilAttachment.

TextureTarget2d textarget

Specifies the texture target. Must be one of the following symbolic constants: Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

UInt32 texture

Specifies the texture object whose image is to be attached.

Int32 level

Specifies the mipmap level of the texture image to be attached, which must be 0.

FramebufferTexture2D(FramebufferTarget, FramebufferSlot, TextureTarget, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Attach a texture image to a framebuffer object

Declaration
[Obsolete("Use TextureTarget2d overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
[CLSCompliant(false)]
public static void FramebufferTexture2D(FramebufferTarget target, FramebufferSlot attachment, TextureTarget textarget, int texture, int level)
Parameters
Type Name Description
FramebufferTarget target

Specifies the framebuffer target. The symbolic constant must be Framebuffer.

FramebufferSlot attachment

Specifies the attachment point to which an image from texture should be attached. Must be one of the following symbolic constants: ColorAttachment0, DepthAttachment, or StencilAttachment.

TextureTarget textarget

Specifies the texture target. Must be one of the following symbolic constants: Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 texture

Specifies the texture object whose image is to be attached.

Int32 level

Specifies the mipmap level of the texture image to be attached, which must be 0.

FramebufferTexture2D(FramebufferTarget, FramebufferSlot, TextureTarget, UInt32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Attach a texture image to a framebuffer object

Declaration
[Obsolete("Use TextureTarget2d overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
[CLSCompliant(false)]
public static void FramebufferTexture2D(FramebufferTarget target, FramebufferSlot attachment, TextureTarget textarget, uint texture, int level)
Parameters
Type Name Description
FramebufferTarget target

Specifies the framebuffer target. The symbolic constant must be Framebuffer.

FramebufferSlot attachment

Specifies the attachment point to which an image from texture should be attached. Must be one of the following symbolic constants: ColorAttachment0, DepthAttachment, or StencilAttachment.

TextureTarget textarget

Specifies the texture target. Must be one of the following symbolic constants: Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

UInt32 texture

Specifies the texture object whose image is to be attached.

Int32 level

Specifies the mipmap level of the texture image to be attached, which must be 0.

FrontFace(All)

[requires: v2.0 or ES_VERSION_2_0] Define front- and back-facing polygons

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFrontFace")]
public static void FrontFace(All mode)
Parameters
Type Name Description
All mode

Specifies the orientation of front-facing polygons. Cw and Ccw are accepted. The initial value is Ccw.

FrontFace(FrontFaceDirection)

[requires: v2.0 or ES_VERSION_2_0] Define front- and back-facing polygons

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFrontFace")]
public static void FrontFace(FrontFaceDirection mode)
Parameters
Type Name Description
FrontFaceDirection mode

Specifies the orientation of front-facing polygons. Cw and Ccw are accepted. The initial value is Ccw.

GenBuffer()

[requires: v2.0 or ES_VERSION_2_0] Generate buffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")]
[CLSCompliant(false)]
public static int GenBuffer()
Returns
Type Description
Int32

GenBuffers(Int32, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Generate buffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")]
[CLSCompliant(false)]
public static void GenBuffers(int n, [Count(Parameter = "n")] int *buffers)
Parameters
Type Name Description
Int32 n

Specifies the number of buffer object names to be generated.

Int32* buffers

[length: n] Specifies an array in which the generated buffer object names are stored.

GenBuffers(Int32, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Generate buffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")]
[CLSCompliant(false)]
public static void GenBuffers(int n, [Count(Parameter = "n")] out int buffers)
Parameters
Type Name Description
Int32 n

Specifies the number of buffer object names to be generated.

Int32 buffers

[length: n] Specifies an array in which the generated buffer object names are stored.

GenBuffers(Int32, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Generate buffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")]
[CLSCompliant(false)]
public static void GenBuffers(int n, [Count(Parameter = "n")] int[] buffers)
Parameters
Type Name Description
Int32 n

Specifies the number of buffer object names to be generated.

Int32[] buffers

[length: n] Specifies an array in which the generated buffer object names are stored.

GenBuffers(Int32, UInt32*)

[requires: v2.0 or ES_VERSION_2_0] Generate buffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")]
[CLSCompliant(false)]
public static void GenBuffers(int n, [Count(Parameter = "n")] uint *buffers)
Parameters
Type Name Description
Int32 n

Specifies the number of buffer object names to be generated.

UInt32* buffers

[length: n] Specifies an array in which the generated buffer object names are stored.

GenBuffers(Int32, out UInt32)

[requires: v2.0 or ES_VERSION_2_0] Generate buffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")]
[CLSCompliant(false)]
public static void GenBuffers(int n, [Count(Parameter = "n")] out uint buffers)
Parameters
Type Name Description
Int32 n

Specifies the number of buffer object names to be generated.

UInt32 buffers

[length: n] Specifies an array in which the generated buffer object names are stored.

GenBuffers(Int32, UInt32[])

[requires: v2.0 or ES_VERSION_2_0] Generate buffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")]
[CLSCompliant(false)]
public static void GenBuffers(int n, [Count(Parameter = "n")] uint[] buffers)
Parameters
Type Name Description
Int32 n

Specifies the number of buffer object names to be generated.

UInt32[] buffers

[length: n] Specifies an array in which the generated buffer object names are stored.

GenerateMipmap(All)

[requires: v2.0 or ES_VERSION_2_0] Generate a complete set of mipmaps for a texture object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenerateMipmap")]
public static void GenerateMipmap(All target)
Parameters
Type Name Description
All target

Specifies the texture target of the active texture unit to which the texture object is bound whose mipmaps will be generated. Must be one of the following symbolic constants: Texture2D or TextureCubeMap.

GenerateMipmap(TextureTarget)

[requires: v2.0 or ES_VERSION_2_0] Generate a complete set of mipmaps for a texture object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenerateMipmap")]
public static void GenerateMipmap(TextureTarget target)
Parameters
Type Name Description
TextureTarget target

Specifies the texture target of the active texture unit to which the texture object is bound whose mipmaps will be generated. Must be one of the following symbolic constants: Texture2D or TextureCubeMap.

GenFramebuffer()

[requires: v2.0 or ES_VERSION_2_0] Generate framebuffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
[CLSCompliant(false)]
public static int GenFramebuffer()
Returns
Type Description
Int32

GenFramebuffers(Int32, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Generate framebuffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
[CLSCompliant(false)]
public static void GenFramebuffers(int n, [Count(Parameter = "n")] int *framebuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of framebuffer object names to be generated.

Int32* framebuffers

[length: n] Specifies an array in which the generated framebuffer object names are stored.

GenFramebuffers(Int32, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Generate framebuffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
[CLSCompliant(false)]
public static void GenFramebuffers(int n, [Count(Parameter = "n")] out int framebuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of framebuffer object names to be generated.

Int32 framebuffers

[length: n] Specifies an array in which the generated framebuffer object names are stored.

GenFramebuffers(Int32, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Generate framebuffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
[CLSCompliant(false)]
public static void GenFramebuffers(int n, [Count(Parameter = "n")] int[] framebuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of framebuffer object names to be generated.

Int32[] framebuffers

[length: n] Specifies an array in which the generated framebuffer object names are stored.

GenFramebuffers(Int32, UInt32*)

[requires: v2.0 or ES_VERSION_2_0] Generate framebuffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
[CLSCompliant(false)]
public static void GenFramebuffers(int n, [Count(Parameter = "n")] uint *framebuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of framebuffer object names to be generated.

UInt32* framebuffers

[length: n] Specifies an array in which the generated framebuffer object names are stored.

GenFramebuffers(Int32, out UInt32)

[requires: v2.0 or ES_VERSION_2_0] Generate framebuffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
[CLSCompliant(false)]
public static void GenFramebuffers(int n, [Count(Parameter = "n")] out uint framebuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of framebuffer object names to be generated.

UInt32 framebuffers

[length: n] Specifies an array in which the generated framebuffer object names are stored.

GenFramebuffers(Int32, UInt32[])

[requires: v2.0 or ES_VERSION_2_0] Generate framebuffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
[CLSCompliant(false)]
public static void GenFramebuffers(int n, [Count(Parameter = "n")] uint[] framebuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of framebuffer object names to be generated.

UInt32[] framebuffers

[length: n] Specifies an array in which the generated framebuffer object names are stored.

GenRenderbuffer()

[requires: v2.0 or ES_VERSION_2_0] Generate renderbuffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
[CLSCompliant(false)]
public static int GenRenderbuffer()
Returns
Type Description
Int32

GenRenderbuffers(Int32, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Generate renderbuffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
[CLSCompliant(false)]
public static void GenRenderbuffers(int n, [Count(Parameter = "n")] int *renderbuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of renderbuffer object names to be generated.

Int32* renderbuffers

[length: n] Specifies an array in which the generated renderbuffer object names are stored.

GenRenderbuffers(Int32, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Generate renderbuffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
[CLSCompliant(false)]
public static void GenRenderbuffers(int n, [Count(Parameter = "n")] out int renderbuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of renderbuffer object names to be generated.

Int32 renderbuffers

[length: n] Specifies an array in which the generated renderbuffer object names are stored.

GenRenderbuffers(Int32, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Generate renderbuffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
[CLSCompliant(false)]
public static void GenRenderbuffers(int n, [Count(Parameter = "n")] int[] renderbuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of renderbuffer object names to be generated.

Int32[] renderbuffers

[length: n] Specifies an array in which the generated renderbuffer object names are stored.

GenRenderbuffers(Int32, UInt32*)

[requires: v2.0 or ES_VERSION_2_0] Generate renderbuffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
[CLSCompliant(false)]
public static void GenRenderbuffers(int n, [Count(Parameter = "n")] uint *renderbuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of renderbuffer object names to be generated.

UInt32* renderbuffers

[length: n] Specifies an array in which the generated renderbuffer object names are stored.

GenRenderbuffers(Int32, out UInt32)

[requires: v2.0 or ES_VERSION_2_0] Generate renderbuffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
[CLSCompliant(false)]
public static void GenRenderbuffers(int n, [Count(Parameter = "n")] out uint renderbuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of renderbuffer object names to be generated.

UInt32 renderbuffers

[length: n] Specifies an array in which the generated renderbuffer object names are stored.

GenRenderbuffers(Int32, UInt32[])

[requires: v2.0 or ES_VERSION_2_0] Generate renderbuffer object names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
[CLSCompliant(false)]
public static void GenRenderbuffers(int n, [Count(Parameter = "n")] uint[] renderbuffers)
Parameters
Type Name Description
Int32 n

Specifies the number of renderbuffer object names to be generated.

UInt32[] renderbuffers

[length: n] Specifies an array in which the generated renderbuffer object names are stored.

GenTexture()

[requires: v2.0 or ES_VERSION_2_0] Generate texture names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")]
[CLSCompliant(false)]
public static int GenTexture()
Returns
Type Description
Int32

GenTextures(Int32, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Generate texture names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")]
[CLSCompliant(false)]
public static void GenTextures(int n, [Count(Parameter = "n")] int *textures)
Parameters
Type Name Description
Int32 n

Specifies the number of texture names to be generated.

Int32* textures

[length: n] Specifies an array in which the generated texture names are stored.

GenTextures(Int32, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Generate texture names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")]
[CLSCompliant(false)]
public static void GenTextures(int n, [Count(Parameter = "n")] out int textures)
Parameters
Type Name Description
Int32 n

Specifies the number of texture names to be generated.

Int32 textures

[length: n] Specifies an array in which the generated texture names are stored.

GenTextures(Int32, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Generate texture names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")]
[CLSCompliant(false)]
public static void GenTextures(int n, [Count(Parameter = "n")] int[] textures)
Parameters
Type Name Description
Int32 n

Specifies the number of texture names to be generated.

Int32[] textures

[length: n] Specifies an array in which the generated texture names are stored.

GenTextures(Int32, UInt32*)

[requires: v2.0 or ES_VERSION_2_0] Generate texture names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")]
[CLSCompliant(false)]
public static void GenTextures(int n, [Count(Parameter = "n")] uint *textures)
Parameters
Type Name Description
Int32 n

Specifies the number of texture names to be generated.

UInt32* textures

[length: n] Specifies an array in which the generated texture names are stored.

GenTextures(Int32, out UInt32)

[requires: v2.0 or ES_VERSION_2_0] Generate texture names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")]
[CLSCompliant(false)]
public static void GenTextures(int n, [Count(Parameter = "n")] out uint textures)
Parameters
Type Name Description
Int32 n

Specifies the number of texture names to be generated.

UInt32 textures

[length: n] Specifies an array in which the generated texture names are stored.

GenTextures(Int32, UInt32[])

[requires: v2.0 or ES_VERSION_2_0] Generate texture names

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")]
[CLSCompliant(false)]
public static void GenTextures(int n, [Count(Parameter = "n")] uint[] textures)
Parameters
Type Name Description
Int32 n

Specifies the number of texture names to be generated.

UInt32[] textures

[length: n] Specifies an array in which the generated texture names are stored.

GetActiveAttrib(Int32, Int32, Int32, Int32*, Int32*, ActiveAttribType*, out String)

[requires: v2.0 or ES_VERSION_2_0] Return information about an active attribute variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
[CLSCompliant(false)]
public static void GetActiveAttrib(int program, int index, int bufSize, [Count(Count = 1)] int *length, [Count(Count = 1)] int *size, [Count(Count = 1)] ActiveAttribType*type, [Count(Parameter = "bufSize")] out string name)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

Int32 index

Specifies the index of the attribute variable to be queried.

Int32 bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.

Int32* length

[length: 1] 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.

Int32* size

[length: 1] Returns the size of the attribute variable.

ActiveAttribType* type

[length: 1] Returns the data type of the attribute variable.

String name

[length: bufSize] Returns a null terminated string containing the name of the attribute variable.

GetActiveAttrib(Int32, Int32, Int32, Int32*, Int32*, All*, out String)

[requires: v2.0 or ES_VERSION_2_0] Return information about an active attribute variable

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
[CLSCompliant(false)]
public static void GetActiveAttrib(int program, int index, int bufSize, [Count(Count = 1)] int *length, [Count(Count = 1)] int *size, [Count(Count = 1)] All*type, [Count(Parameter = "bufSize")] out string name)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

Int32 index

Specifies the index of the attribute variable to be queried.

Int32 bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.

Int32* length

[length: 1] 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.

Int32* size

[length: 1] Returns the size of the attribute variable.

All* type

[length: 1] Returns the data type of the attribute variable.

String name

[length: bufSize] Returns a null terminated string containing the name of the attribute variable.

GetActiveAttrib(Int32, Int32, Int32, out Int32, out Int32, out ActiveAttribType, out String)

[requires: v2.0 or ES_VERSION_2_0] Return information about an active attribute variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
[CLSCompliant(false)]
public static void GetActiveAttrib(int program, int index, int bufSize, [Count(Count = 1)] out int length, [Count(Count = 1)] out int size, [Count(Count = 1)] out ActiveAttribType type, [Count(Parameter = "bufSize")] out string name)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

Int32 index

Specifies the index of the attribute variable to be queried.

Int32 bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.

Int32 length

[length: 1] 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.

Int32 size

[length: 1] Returns the size of the attribute variable.

ActiveAttribType type

[length: 1] Returns the data type of the attribute variable.

String name

[length: bufSize] Returns a null terminated string containing the name of the attribute variable.

GetActiveAttrib(Int32, Int32, Int32, out Int32, out Int32, out All, out String)

[requires: v2.0 or ES_VERSION_2_0] Return information about an active attribute variable

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
[CLSCompliant(false)]
public static void GetActiveAttrib(int program, int index, int bufSize, [Count(Count = 1)] out int length, [Count(Count = 1)] out int size, [Count(Count = 1)] out All type, [Count(Parameter = "bufSize")] out string name)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

Int32 index

Specifies the index of the attribute variable to be queried.

Int32 bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.

Int32 length

[length: 1] 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.

Int32 size

[length: 1] Returns the size of the attribute variable.

All type

[length: 1] Returns the data type of the attribute variable.

String name

[length: bufSize] Returns a null terminated string containing the name of the attribute variable.

GetActiveAttrib(Int32, Int32, out Int32, out ActiveAttribType)

Declaration
public static string GetActiveAttrib(int program, int index, out int size, out ActiveAttribType type)
Parameters
Type Name Description
Int32 program
Int32 index
Int32 size
ActiveAttribType type
Returns
Type Description
String

GetActiveAttrib(UInt32, UInt32, Int32, Int32*, Int32*, ActiveAttribType*, out String)

[requires: v2.0 or ES_VERSION_2_0] Return information about an active attribute variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
[CLSCompliant(false)]
public static void GetActiveAttrib(uint program, uint index, int bufSize, [Count(Count = 1)] int *length, [Count(Count = 1)] int *size, [Count(Count = 1)] ActiveAttribType*type, [Count(Parameter = "bufSize")] out string name)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

UInt32 index

Specifies the index of the attribute variable to be queried.

Int32 bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.

Int32* length

[length: 1] 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.

Int32* size

[length: 1] Returns the size of the attribute variable.

ActiveAttribType* type

[length: 1] Returns the data type of the attribute variable.

String name

[length: bufSize] Returns a null terminated string containing the name of the attribute variable.

GetActiveAttrib(UInt32, UInt32, Int32, Int32*, Int32*, All*, out String)

[requires: v2.0 or ES_VERSION_2_0] Return information about an active attribute variable

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
[CLSCompliant(false)]
public static void GetActiveAttrib(uint program, uint index, int bufSize, [Count(Count = 1)] int *length, [Count(Count = 1)] int *size, [Count(Count = 1)] All*type, [Count(Parameter = "bufSize")] out string name)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

UInt32 index

Specifies the index of the attribute variable to be queried.

Int32 bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.

Int32* length

[length: 1] 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.

Int32* size

[length: 1] Returns the size of the attribute variable.

All* type

[length: 1] Returns the data type of the attribute variable.

String name

[length: bufSize] Returns a null terminated string containing the name of the attribute variable.

GetActiveAttrib(UInt32, UInt32, Int32, out Int32, out Int32, out ActiveAttribType, out String)

[requires: v2.0 or ES_VERSION_2_0] Return information about an active attribute variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
[CLSCompliant(false)]
public static void GetActiveAttrib(uint program, uint index, int bufSize, [Count(Count = 1)] out int length, [Count(Count = 1)] out int size, [Count(Count = 1)] out ActiveAttribType type, [Count(Parameter = "bufSize")] out string name)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

UInt32 index

Specifies the index of the attribute variable to be queried.

Int32 bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.

Int32 length

[length: 1] 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.

Int32 size

[length: 1] Returns the size of the attribute variable.

ActiveAttribType type

[length: 1] Returns the data type of the attribute variable.

String name

[length: bufSize] Returns a null terminated string containing the name of the attribute variable.

GetActiveAttrib(UInt32, UInt32, Int32, out Int32, out Int32, out All, out String)

[requires: v2.0 or ES_VERSION_2_0] Return information about an active attribute variable

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
[CLSCompliant(false)]
public static void GetActiveAttrib(uint program, uint index, int bufSize, [Count(Count = 1)] out int length, [Count(Count = 1)] out int size, [Count(Count = 1)] out All type, [Count(Parameter = "bufSize")] out string name)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

UInt32 index

Specifies the index of the attribute variable to be queried.

Int32 bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.

Int32 length

[length: 1] 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.

Int32 size

[length: 1] Returns the size of the attribute variable.

All type

[length: 1] Returns the data type of the attribute variable.

String name

[length: bufSize] Returns a null terminated string containing the name of the attribute variable.

GetActiveUniform(Int32, Int32, Int32, Int32*, Int32*, ActiveUniformType*, out String)

[requires: v2.0 or ES_VERSION_2_0] Return information about an active uniform variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
[CLSCompliant(false)]
public static void GetActiveUniform(int program, int index, int bufSize, [Count(Count = 1)] int *length, [Count(Count = 1)] int *size, [Count(Count = 1)] ActiveUniformType*type, [Count(Parameter = "bufSize")] out string name)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

Int32 index

Specifies the index of the uniform variable to be queried.

Int32 bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.

Int32* length

[length: 1] 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.

Int32* size

[length: 1] Returns the size of the uniform variable.

ActiveUniformType* type

[length: 1] Returns the data type of the uniform variable.

String name

[length: bufSize] Returns a null terminated string containing the name of the uniform variable.

GetActiveUniform(Int32, Int32, Int32, Int32*, Int32*, All*, out String)

[requires: v2.0 or ES_VERSION_2_0] Return information about an active uniform variable

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
[CLSCompliant(false)]
public static void GetActiveUniform(int program, int index, int bufSize, [Count(Count = 1)] int *length, [Count(Count = 1)] int *size, [Count(Count = 1)] All*type, [Count(Parameter = "bufSize")] out string name)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

Int32 index

Specifies the index of the uniform variable to be queried.

Int32 bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.

Int32* length

[length: 1] 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.

Int32* size

[length: 1] Returns the size of the uniform variable.

All* type

[length: 1] Returns the data type of the uniform variable.

String name

[length: bufSize] Returns a null terminated string containing the name of the uniform variable.

GetActiveUniform(Int32, Int32, Int32, out Int32, out Int32, out ActiveUniformType, out String)

[requires: v2.0 or ES_VERSION_2_0] Return information about an active uniform variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
[CLSCompliant(false)]
public static void GetActiveUniform(int program, int index, int bufSize, [Count(Count = 1)] out int length, [Count(Count = 1)] out int size, [Count(Count = 1)] out ActiveUniformType type, [Count(Parameter = "bufSize")] out string name)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

Int32 index

Specifies the index of the uniform variable to be queried.

Int32 bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.

Int32 length

[length: 1] 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.

Int32 size

[length: 1] Returns the size of the uniform variable.

ActiveUniformType type

[length: 1] Returns the data type of the uniform variable.

String name

[length: bufSize] Returns a null terminated string containing the name of the uniform variable.

GetActiveUniform(Int32, Int32, Int32, out Int32, out Int32, out All, out String)

[requires: v2.0 or ES_VERSION_2_0] Return information about an active uniform variable

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
[CLSCompliant(false)]
public static void GetActiveUniform(int program, int index, int bufSize, [Count(Count = 1)] out int length, [Count(Count = 1)] out int size, [Count(Count = 1)] out All type, [Count(Parameter = "bufSize")] out string name)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

Int32 index

Specifies the index of the uniform variable to be queried.

Int32 bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.

Int32 length

[length: 1] 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.

Int32 size

[length: 1] Returns the size of the uniform variable.

All type

[length: 1] Returns the data type of the uniform variable.

String name

[length: bufSize] Returns a null terminated string containing the name of the uniform variable.

GetActiveUniform(Int32, Int32, out Int32, out ActiveUniformType)

Declaration
public static string GetActiveUniform(int program, int uniformIndex, out int size, out ActiveUniformType type)
Parameters
Type Name Description
Int32 program
Int32 uniformIndex
Int32 size
ActiveUniformType type
Returns
Type Description
String

GetActiveUniform(UInt32, UInt32, Int32, Int32*, Int32*, ActiveUniformType*, out String)

[requires: v2.0 or ES_VERSION_2_0] Return information about an active uniform variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
[CLSCompliant(false)]
public static void GetActiveUniform(uint program, uint index, int bufSize, [Count(Count = 1)] int *length, [Count(Count = 1)] int *size, [Count(Count = 1)] ActiveUniformType*type, [Count(Parameter = "bufSize")] out string name)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

UInt32 index

Specifies the index of the uniform variable to be queried.

Int32 bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.

Int32* length

[length: 1] 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.

Int32* size

[length: 1] Returns the size of the uniform variable.

ActiveUniformType* type

[length: 1] Returns the data type of the uniform variable.

String name

[length: bufSize] Returns a null terminated string containing the name of the uniform variable.

GetActiveUniform(UInt32, UInt32, Int32, Int32*, Int32*, All*, out String)

[requires: v2.0 or ES_VERSION_2_0] Return information about an active uniform variable

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
[CLSCompliant(false)]
public static void GetActiveUniform(uint program, uint index, int bufSize, [Count(Count = 1)] int *length, [Count(Count = 1)] int *size, [Count(Count = 1)] All*type, [Count(Parameter = "bufSize")] out string name)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

UInt32 index

Specifies the index of the uniform variable to be queried.

Int32 bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.

Int32* length

[length: 1] 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.

Int32* size

[length: 1] Returns the size of the uniform variable.

All* type

[length: 1] Returns the data type of the uniform variable.

String name

[length: bufSize] Returns a null terminated string containing the name of the uniform variable.

GetActiveUniform(UInt32, UInt32, Int32, out Int32, out Int32, out ActiveUniformType, out String)

[requires: v2.0 or ES_VERSION_2_0] Return information about an active uniform variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
[CLSCompliant(false)]
public static void GetActiveUniform(uint program, uint index, int bufSize, [Count(Count = 1)] out int length, [Count(Count = 1)] out int size, [Count(Count = 1)] out ActiveUniformType type, [Count(Parameter = "bufSize")] out string name)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

UInt32 index

Specifies the index of the uniform variable to be queried.

Int32 bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.

Int32 length

[length: 1] 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.

Int32 size

[length: 1] Returns the size of the uniform variable.

ActiveUniformType type

[length: 1] Returns the data type of the uniform variable.

String name

[length: bufSize] Returns a null terminated string containing the name of the uniform variable.

GetActiveUniform(UInt32, UInt32, Int32, out Int32, out Int32, out All, out String)

[requires: v2.0 or ES_VERSION_2_0] Return information about an active uniform variable

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
[CLSCompliant(false)]
public static void GetActiveUniform(uint program, uint index, int bufSize, [Count(Count = 1)] out int length, [Count(Count = 1)] out int size, [Count(Count = 1)] out All type, [Count(Parameter = "bufSize")] out string name)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

UInt32 index

Specifies the index of the uniform variable to be queried.

Int32 bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.

Int32 length

[length: 1] 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.

Int32 size

[length: 1] Returns the size of the uniform variable.

All type

[length: 1] Returns the data type of the uniform variable.

String name

[length: bufSize] Returns a null terminated string containing the name of the uniform variable.

GetAttachedShaders(Int32, Int32, Int32*, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return the handles of the shader objects attached to a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
[CLSCompliant(false)]
public static void GetAttachedShaders(int program, int maxCount, [Count(Count = 1)] int *count, [Count(Parameter = "maxCount")] int *shaders)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

Int32 maxCount

Specifies the size of the array for storing the returned object names.

Int32* count

[length: 1] Returns the number of names actually returned in shaders.

Int32* shaders

[length: maxCount] Specifies an array that is used to return the names of attached shader objects.

GetAttachedShaders(Int32, Int32, out Int32, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return the handles of the shader objects attached to a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
[CLSCompliant(false)]
public static void GetAttachedShaders(int program, int maxCount, [Count(Count = 1)] out int count, [Count(Parameter = "maxCount")] out int shaders)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

Int32 maxCount

Specifies the size of the array for storing the returned object names.

Int32 count

[length: 1] Returns the number of names actually returned in shaders.

Int32 shaders

[length: maxCount] Specifies an array that is used to return the names of attached shader objects.

GetAttachedShaders(Int32, Int32, out Int32, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return the handles of the shader objects attached to a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
[CLSCompliant(false)]
public static void GetAttachedShaders(int program, int maxCount, [Count(Count = 1)] out int count, [Count(Parameter = "maxCount")] int[] shaders)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

Int32 maxCount

Specifies the size of the array for storing the returned object names.

Int32 count

[length: 1] Returns the number of names actually returned in shaders.

Int32[] shaders

[length: maxCount] Specifies an array that is used to return the names of attached shader objects.

GetAttachedShaders(UInt32, Int32, Int32*, UInt32*)

[requires: v2.0 or ES_VERSION_2_0] Return the handles of the shader objects attached to a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
[CLSCompliant(false)]
public static void GetAttachedShaders(uint program, int maxCount, [Count(Count = 1)] int *count, [Count(Parameter = "maxCount")] uint *shaders)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

Int32 maxCount

Specifies the size of the array for storing the returned object names.

Int32* count

[length: 1] Returns the number of names actually returned in shaders.

UInt32* shaders

[length: maxCount] Specifies an array that is used to return the names of attached shader objects.

GetAttachedShaders(UInt32, Int32, out Int32, out UInt32)

[requires: v2.0 or ES_VERSION_2_0] Return the handles of the shader objects attached to a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
[CLSCompliant(false)]
public static void GetAttachedShaders(uint program, int maxCount, [Count(Count = 1)] out int count, [Count(Parameter = "maxCount")] out uint shaders)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

Int32 maxCount

Specifies the size of the array for storing the returned object names.

Int32 count

[length: 1] Returns the number of names actually returned in shaders.

UInt32 shaders

[length: maxCount] Specifies an array that is used to return the names of attached shader objects.

GetAttachedShaders(UInt32, Int32, out Int32, UInt32[])

[requires: v2.0 or ES_VERSION_2_0] Return the handles of the shader objects attached to a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
[CLSCompliant(false)]
public static void GetAttachedShaders(uint program, int maxCount, [Count(Count = 1)] out int count, [Count(Parameter = "maxCount")] uint[] shaders)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

Int32 maxCount

Specifies the size of the array for storing the returned object names.

Int32 count

[length: 1] Returns the number of names actually returned in shaders.

UInt32[] shaders

[length: maxCount] Specifies an array that is used to return the names of attached shader objects.

GetAttribLocation(Int32, String)

[requires: v2.0 or ES_VERSION_2_0] Return the location of an attribute variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")]
[CLSCompliant(false)]
public static int GetAttribLocation(int program, string name)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

String name

Points to a null terminated string containing the name of the attribute variable whose location is to be queried.

Returns
Type Description
Int32

GetAttribLocation(UInt32, String)

[requires: v2.0 or ES_VERSION_2_0] Return the location of an attribute variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")]
[CLSCompliant(false)]
public static int GetAttribLocation(uint program, string name)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

String name

Points to a null terminated string containing the name of the attribute variable whose location is to be queried.

Returns
Type Description
Int32

GetBoolean(All)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")]
[CLSCompliant(false)]
public static bool GetBoolean(All pname)
Parameters
Type Name Description
All pname
Returns
Type Description
Boolean

GetBoolean(All, Boolean*)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")]
[CLSCompliant(false)]
public static void GetBoolean(All pname, [Count(Computed = "pname")] bool *data)
Parameters
Type Name Description
All pname
Boolean* data

[length: COMPSIZE(pname)]

GetBoolean(All, out Boolean)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")]
[CLSCompliant(false)]
public static void GetBoolean(All pname, [Count(Computed = "pname")] out bool data)
Parameters
Type Name Description
All pname
Boolean data

[length: COMPSIZE(pname)]

GetBoolean(All, Boolean[])

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")]
[CLSCompliant(false)]
public static void GetBoolean(All pname, [Count(Computed = "pname")] bool[] data)
Parameters
Type Name Description
All pname
Boolean[] data

[length: COMPSIZE(pname)]

GetBoolean(GetPName)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")]
[CLSCompliant(false)]
public static bool GetBoolean(GetPName pname)
Parameters
Type Name Description
GetPName pname
Returns
Type Description
Boolean

GetBoolean(GetPName, Boolean*)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")]
[CLSCompliant(false)]
public static void GetBoolean(GetPName pname, [Count(Computed = "pname")] bool *data)
Parameters
Type Name Description
GetPName pname
Boolean* data

[length: COMPSIZE(pname)]

GetBoolean(GetPName, out Boolean)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")]
[CLSCompliant(false)]
public static void GetBoolean(GetPName pname, [Count(Computed = "pname")] out bool data)
Parameters
Type Name Description
GetPName pname
Boolean data

[length: COMPSIZE(pname)]

GetBoolean(GetPName, Boolean[])

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")]
[CLSCompliant(false)]
public static void GetBoolean(GetPName pname, [Count(Computed = "pname")] bool[] data)
Parameters
Type Name Description
GetPName pname
Boolean[] data

[length: COMPSIZE(pname)]

GetBufferParameter(All, All, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return parameters of a buffer object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")]
[CLSCompliant(false)]
public static void GetBufferParameter(All target, All pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

All pname

Specifies the symbolic name of a buffer object parameter. Accepted values are BufferSize or BufferUsage.

Int32* params

GetBufferParameter(All, All, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return parameters of a buffer object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")]
[CLSCompliant(false)]
public static void GetBufferParameter(All target, All pname, [Count(Computed = "pname")] out int params)
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

All pname

Specifies the symbolic name of a buffer object parameter. Accepted values are BufferSize or BufferUsage.

Int32 params

GetBufferParameter(All, All, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return parameters of a buffer object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")]
[CLSCompliant(false)]
public static void GetBufferParameter(All target, All pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
All target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

All pname

Specifies the symbolic name of a buffer object parameter. Accepted values are BufferSize or BufferUsage.

Int32[] params

GetBufferParameter(BufferTarget, BufferParameterName, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return parameters of a buffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")]
[CLSCompliant(false)]
public static void GetBufferParameter(BufferTarget target, BufferParameterName pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

BufferParameterName pname

Specifies the symbolic name of a buffer object parameter. Accepted values are BufferSize or BufferUsage.

Int32* params

GetBufferParameter(BufferTarget, BufferParameterName, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return parameters of a buffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")]
[CLSCompliant(false)]
public static void GetBufferParameter(BufferTarget target, BufferParameterName pname, [Count(Computed = "pname")] out int params)
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

BufferParameterName pname

Specifies the symbolic name of a buffer object parameter. Accepted values are BufferSize or BufferUsage.

Int32 params

GetBufferParameter(BufferTarget, BufferParameterName, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return parameters of a buffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")]
[CLSCompliant(false)]
public static void GetBufferParameter(BufferTarget target, BufferParameterName pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
BufferTarget target

Specifies the target buffer object. The symbolic constant must be ArrayBuffer or ElementArrayBuffer.

BufferParameterName pname

Specifies the symbolic name of a buffer object parameter. Accepted values are BufferSize or BufferUsage.

Int32[] params

GetDebugMessageLog(Int32, Int32, All*, All*, Int32*, All*, Int32*, out String)

Retrieve messages from the debug message log

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
[CLSCompliant(false)]
public static int GetDebugMessageLog(int count, int bufSize, [Count(Parameter = "count")] All*sources, [Count(Parameter = "count")] All*types, [Count(Parameter = "count")] int *ids, [Count(Parameter = "count")] All*severities, [Count(Parameter = "count")] int *lengths, [Count(Parameter = "bufSize")] out string messageLog)
Parameters
Type Name Description
Int32 count

The number of debug messages to retrieve from the log.

Int32 bufSize

The size of the buffer whose address is given by messageLog.

All* sources

[length: count] The address of an array of variables to receive the sources of the retrieved messages.

All* types

[length: count] The address of an array of variables to receive the types of the retrieved messages.

Int32* ids

[length: count] The address of an array of unsigned integers to receive the ids of the retrieved messages.

All* severities

[length: count] The address of an array of variables to receive the severites of the retrieved messages.

Int32* lengths

[length: count] The address of an array of variables to receive the lengths of the received messages.

String messageLog

[length: bufSize] The address of an array of characters that will receive the messages.

Returns
Type Description
Int32

GetDebugMessageLog(Int32, Int32, out All, out All, out Int32, out All, out Int32, out String)

Retrieve messages from the debug message log

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
[CLSCompliant(false)]
public static int GetDebugMessageLog(int count, int bufSize, [Count(Parameter = "count")] out All sources, [Count(Parameter = "count")] out All types, [Count(Parameter = "count")] out int ids, [Count(Parameter = "count")] out All severities, [Count(Parameter = "count")] out int lengths, [Count(Parameter = "bufSize")] out string messageLog)
Parameters
Type Name Description
Int32 count

The number of debug messages to retrieve from the log.

Int32 bufSize

The size of the buffer whose address is given by messageLog.

All sources

[length: count] The address of an array of variables to receive the sources of the retrieved messages.

All types

[length: count] The address of an array of variables to receive the types of the retrieved messages.

Int32 ids

[length: count] The address of an array of unsigned integers to receive the ids of the retrieved messages.

All severities

[length: count] The address of an array of variables to receive the severites of the retrieved messages.

Int32 lengths

[length: count] The address of an array of variables to receive the lengths of the received messages.

String messageLog

[length: bufSize] The address of an array of characters that will receive the messages.

Returns
Type Description
Int32

GetDebugMessageLog(Int32, Int32, All[], All[], Int32[], All[], Int32[], out String)

Retrieve messages from the debug message log

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
[CLSCompliant(false)]
public static int GetDebugMessageLog(int count, int bufSize, [Count(Parameter = "count")] All[] sources, [Count(Parameter = "count")] All[] types, [Count(Parameter = "count")] int[] ids, [Count(Parameter = "count")] All[] severities, [Count(Parameter = "count")] int[] lengths, [Count(Parameter = "bufSize")] out string messageLog)
Parameters
Type Name Description
Int32 count

The number of debug messages to retrieve from the log.

Int32 bufSize

The size of the buffer whose address is given by messageLog.

All[] sources

[length: count] The address of an array of variables to receive the sources of the retrieved messages.

All[] types

[length: count] The address of an array of variables to receive the types of the retrieved messages.

Int32[] ids

[length: count] The address of an array of unsigned integers to receive the ids of the retrieved messages.

All[] severities

[length: count] The address of an array of variables to receive the severites of the retrieved messages.

Int32[] lengths

[length: count] The address of an array of variables to receive the lengths of the received messages.

String messageLog

[length: bufSize] The address of an array of characters that will receive the messages.

Returns
Type Description
Int32

GetDebugMessageLog(Int32, Int32, DebugSourceExternal*, DebugType*, Int32*, DebugSeverity*, Int32*, out String)

Retrieve messages from the debug message log

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
[CLSCompliant(false)]
public static int GetDebugMessageLog(int count, int bufSize, [Count(Parameter = "count")] DebugSourceExternal*sources, [Count(Parameter = "count")] DebugType*types, [Count(Parameter = "count")] int *ids, [Count(Parameter = "count")] DebugSeverity*severities, [Count(Parameter = "count")] int *lengths, [Count(Parameter = "bufSize")] out string messageLog)
Parameters
Type Name Description
Int32 count

The number of debug messages to retrieve from the log.

Int32 bufSize

The size of the buffer whose address is given by messageLog.

DebugSourceExternal* sources

[length: count] The address of an array of variables to receive the sources of the retrieved messages.

DebugType* types

[length: count] The address of an array of variables to receive the types of the retrieved messages.

Int32* ids

[length: count] The address of an array of unsigned integers to receive the ids of the retrieved messages.

DebugSeverity* severities

[length: count] The address of an array of variables to receive the severites of the retrieved messages.

Int32* lengths

[length: count] The address of an array of variables to receive the lengths of the received messages.

String messageLog

[length: bufSize] The address of an array of characters that will receive the messages.

Returns
Type Description
Int32

GetDebugMessageLog(Int32, Int32, out DebugSourceExternal, out DebugType, out Int32, out DebugSeverity, out Int32, out String)

Retrieve messages from the debug message log

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
[CLSCompliant(false)]
public static int GetDebugMessageLog(int count, int bufSize, [Count(Parameter = "count")] out DebugSourceExternal sources, [Count(Parameter = "count")] out DebugType types, [Count(Parameter = "count")] out int ids, [Count(Parameter = "count")] out DebugSeverity severities, [Count(Parameter = "count")] out int lengths, [Count(Parameter = "bufSize")] out string messageLog)
Parameters
Type Name Description
Int32 count

The number of debug messages to retrieve from the log.

Int32 bufSize

The size of the buffer whose address is given by messageLog.

DebugSourceExternal sources

[length: count] The address of an array of variables to receive the sources of the retrieved messages.

DebugType types

[length: count] The address of an array of variables to receive the types of the retrieved messages.

Int32 ids

[length: count] The address of an array of unsigned integers to receive the ids of the retrieved messages.

DebugSeverity severities

[length: count] The address of an array of variables to receive the severites of the retrieved messages.

Int32 lengths

[length: count] The address of an array of variables to receive the lengths of the received messages.

String messageLog

[length: bufSize] The address of an array of characters that will receive the messages.

Returns
Type Description
Int32

GetDebugMessageLog(Int32, Int32, DebugSourceExternal[], DebugType[], Int32[], DebugSeverity[], Int32[], out String)

Retrieve messages from the debug message log

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
[CLSCompliant(false)]
public static int GetDebugMessageLog(int count, int bufSize, [Count(Parameter = "count")] DebugSourceExternal[] sources, [Count(Parameter = "count")] DebugType[] types, [Count(Parameter = "count")] int[] ids, [Count(Parameter = "count")] DebugSeverity[] severities, [Count(Parameter = "count")] int[] lengths, [Count(Parameter = "bufSize")] out string messageLog)
Parameters
Type Name Description
Int32 count

The number of debug messages to retrieve from the log.

Int32 bufSize

The size of the buffer whose address is given by messageLog.

DebugSourceExternal[] sources

[length: count] The address of an array of variables to receive the sources of the retrieved messages.

DebugType[] types

[length: count] The address of an array of variables to receive the types of the retrieved messages.

Int32[] ids

[length: count] The address of an array of unsigned integers to receive the ids of the retrieved messages.

DebugSeverity[] severities

[length: count] The address of an array of variables to receive the severites of the retrieved messages.

Int32[] lengths

[length: count] The address of an array of variables to receive the lengths of the received messages.

String messageLog

[length: bufSize] The address of an array of characters that will receive the messages.

Returns
Type Description
Int32

GetDebugMessageLog(UInt32, Int32, All*, All*, UInt32*, All*, Int32*, out String)

Retrieve messages from the debug message log

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
[CLSCompliant(false)]
public static int GetDebugMessageLog(uint count, int bufSize, [Count(Parameter = "count")] All*sources, [Count(Parameter = "count")] All*types, [Count(Parameter = "count")] uint *ids, [Count(Parameter = "count")] All*severities, [Count(Parameter = "count")] int *lengths, [Count(Parameter = "bufSize")] out string messageLog)
Parameters
Type Name Description
UInt32 count

The number of debug messages to retrieve from the log.

Int32 bufSize

The size of the buffer whose address is given by messageLog.

All* sources

[length: count] The address of an array of variables to receive the sources of the retrieved messages.

All* types

[length: count] The address of an array of variables to receive the types of the retrieved messages.

UInt32* ids

[length: count] The address of an array of unsigned integers to receive the ids of the retrieved messages.

All* severities

[length: count] The address of an array of variables to receive the severites of the retrieved messages.

Int32* lengths

[length: count] The address of an array of variables to receive the lengths of the received messages.

String messageLog

[length: bufSize] The address of an array of characters that will receive the messages.

Returns
Type Description
Int32

GetDebugMessageLog(UInt32, Int32, out All, out All, out UInt32, out All, out Int32, out String)

Retrieve messages from the debug message log

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
[CLSCompliant(false)]
public static int GetDebugMessageLog(uint count, int bufSize, [Count(Parameter = "count")] out All sources, [Count(Parameter = "count")] out All types, [Count(Parameter = "count")] out uint ids, [Count(Parameter = "count")] out All severities, [Count(Parameter = "count")] out int lengths, [Count(Parameter = "bufSize")] out string messageLog)
Parameters
Type Name Description
UInt32 count

The number of debug messages to retrieve from the log.

Int32 bufSize

The size of the buffer whose address is given by messageLog.

All sources

[length: count] The address of an array of variables to receive the sources of the retrieved messages.

All types

[length: count] The address of an array of variables to receive the types of the retrieved messages.

UInt32 ids

[length: count] The address of an array of unsigned integers to receive the ids of the retrieved messages.

All severities

[length: count] The address of an array of variables to receive the severites of the retrieved messages.

Int32 lengths

[length: count] The address of an array of variables to receive the lengths of the received messages.

String messageLog

[length: bufSize] The address of an array of characters that will receive the messages.

Returns
Type Description
Int32

GetDebugMessageLog(UInt32, Int32, All[], All[], UInt32[], All[], Int32[], out String)

Retrieve messages from the debug message log

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
[CLSCompliant(false)]
public static int GetDebugMessageLog(uint count, int bufSize, [Count(Parameter = "count")] All[] sources, [Count(Parameter = "count")] All[] types, [Count(Parameter = "count")] uint[] ids, [Count(Parameter = "count")] All[] severities, [Count(Parameter = "count")] int[] lengths, [Count(Parameter = "bufSize")] out string messageLog)
Parameters
Type Name Description
UInt32 count

The number of debug messages to retrieve from the log.

Int32 bufSize

The size of the buffer whose address is given by messageLog.

All[] sources

[length: count] The address of an array of variables to receive the sources of the retrieved messages.

All[] types

[length: count] The address of an array of variables to receive the types of the retrieved messages.

UInt32[] ids

[length: count] The address of an array of unsigned integers to receive the ids of the retrieved messages.

All[] severities

[length: count] The address of an array of variables to receive the severites of the retrieved messages.

Int32[] lengths

[length: count] The address of an array of variables to receive the lengths of the received messages.

String messageLog

[length: bufSize] The address of an array of characters that will receive the messages.

Returns
Type Description
Int32

GetDebugMessageLog(UInt32, Int32, DebugSourceExternal*, DebugType*, UInt32*, DebugSeverity*, Int32*, out String)

Retrieve messages from the debug message log

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
[CLSCompliant(false)]
public static int GetDebugMessageLog(uint count, int bufSize, [Count(Parameter = "count")] DebugSourceExternal*sources, [Count(Parameter = "count")] DebugType*types, [Count(Parameter = "count")] uint *ids, [Count(Parameter = "count")] DebugSeverity*severities, [Count(Parameter = "count")] int *lengths, [Count(Parameter = "bufSize")] out string messageLog)
Parameters
Type Name Description
UInt32 count

The number of debug messages to retrieve from the log.

Int32 bufSize

The size of the buffer whose address is given by messageLog.

DebugSourceExternal* sources

[length: count] The address of an array of variables to receive the sources of the retrieved messages.

DebugType* types

[length: count] The address of an array of variables to receive the types of the retrieved messages.

UInt32* ids

[length: count] The address of an array of unsigned integers to receive the ids of the retrieved messages.

DebugSeverity* severities

[length: count] The address of an array of variables to receive the severites of the retrieved messages.

Int32* lengths

[length: count] The address of an array of variables to receive the lengths of the received messages.

String messageLog

[length: bufSize] The address of an array of characters that will receive the messages.

Returns
Type Description
Int32

GetDebugMessageLog(UInt32, Int32, out DebugSourceExternal, out DebugType, out UInt32, out DebugSeverity, out Int32, out String)

Retrieve messages from the debug message log

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
[CLSCompliant(false)]
public static int GetDebugMessageLog(uint count, int bufSize, [Count(Parameter = "count")] out DebugSourceExternal sources, [Count(Parameter = "count")] out DebugType types, [Count(Parameter = "count")] out uint ids, [Count(Parameter = "count")] out DebugSeverity severities, [Count(Parameter = "count")] out int lengths, [Count(Parameter = "bufSize")] out string messageLog)
Parameters
Type Name Description
UInt32 count

The number of debug messages to retrieve from the log.

Int32 bufSize

The size of the buffer whose address is given by messageLog.

DebugSourceExternal sources

[length: count] The address of an array of variables to receive the sources of the retrieved messages.

DebugType types

[length: count] The address of an array of variables to receive the types of the retrieved messages.

UInt32 ids

[length: count] The address of an array of unsigned integers to receive the ids of the retrieved messages.

DebugSeverity severities

[length: count] The address of an array of variables to receive the severites of the retrieved messages.

Int32 lengths

[length: count] The address of an array of variables to receive the lengths of the received messages.

String messageLog

[length: bufSize] The address of an array of characters that will receive the messages.

Returns
Type Description
Int32

GetDebugMessageLog(UInt32, Int32, DebugSourceExternal[], DebugType[], UInt32[], DebugSeverity[], Int32[], out String)

Retrieve messages from the debug message log

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
[CLSCompliant(false)]
public static int GetDebugMessageLog(uint count, int bufSize, [Count(Parameter = "count")] DebugSourceExternal[] sources, [Count(Parameter = "count")] DebugType[] types, [Count(Parameter = "count")] uint[] ids, [Count(Parameter = "count")] DebugSeverity[] severities, [Count(Parameter = "count")] int[] lengths, [Count(Parameter = "bufSize")] out string messageLog)
Parameters
Type Name Description
UInt32 count

The number of debug messages to retrieve from the log.

Int32 bufSize

The size of the buffer whose address is given by messageLog.

DebugSourceExternal[] sources

[length: count] The address of an array of variables to receive the sources of the retrieved messages.

DebugType[] types

[length: count] The address of an array of variables to receive the types of the retrieved messages.

UInt32[] ids

[length: count] The address of an array of unsigned integers to receive the ids of the retrieved messages.

DebugSeverity[] severities

[length: count] The address of an array of variables to receive the severites of the retrieved messages.

Int32[] lengths

[length: count] The address of an array of variables to receive the lengths of the received messages.

String messageLog

[length: bufSize] The address of an array of characters that will receive the messages.

Returns
Type Description
Int32

GetError()

[requires: v2.0 or ES_VERSION_2_0] Return error information

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetError")]
public static ErrorCode GetError()
Returns
Type Description
ErrorCode

GetFloat(All)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")]
[CLSCompliant(false)]
public static float GetFloat(All pname)
Parameters
Type Name Description
All pname
Returns
Type Description
Single

GetFloat(All, Single*)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")]
[CLSCompliant(false)]
public static void GetFloat(All pname, [Count(Computed = "pname")] float *data)
Parameters
Type Name Description
All pname
Single* data

[length: COMPSIZE(pname)]

GetFloat(All, out Single)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")]
[CLSCompliant(false)]
public static void GetFloat(All pname, [Count(Computed = "pname")] out float data)
Parameters
Type Name Description
All pname
Single data

[length: COMPSIZE(pname)]

GetFloat(All, Single[])

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")]
[CLSCompliant(false)]
public static void GetFloat(All pname, [Count(Computed = "pname")] float[] data)
Parameters
Type Name Description
All pname
Single[] data

[length: COMPSIZE(pname)]

GetFloat(GetPName)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")]
[CLSCompliant(false)]
public static float GetFloat(GetPName pname)
Parameters
Type Name Description
GetPName pname
Returns
Type Description
Single

GetFloat(GetPName, out Matrix4)

Declaration
public static void GetFloat(GetPName pname, out Matrix4 matrix)
Parameters
Type Name Description
GetPName pname
Matrix4 matrix

GetFloat(GetPName, out Vector2)

Declaration
public static void GetFloat(GetPName pname, out Vector2 vector)
Parameters
Type Name Description
GetPName pname
Vector2 vector

GetFloat(GetPName, out Vector3)

Declaration
public static void GetFloat(GetPName pname, out Vector3 vector)
Parameters
Type Name Description
GetPName pname
Vector3 vector

GetFloat(GetPName, out Vector4)

Declaration
public static void GetFloat(GetPName pname, out Vector4 vector)
Parameters
Type Name Description
GetPName pname
Vector4 vector

GetFloat(GetPName, Single*)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")]
[CLSCompliant(false)]
public static void GetFloat(GetPName pname, [Count(Computed = "pname")] float *data)
Parameters
Type Name Description
GetPName pname
Single* data

[length: COMPSIZE(pname)]

GetFloat(GetPName, out Single)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")]
[CLSCompliant(false)]
public static void GetFloat(GetPName pname, [Count(Computed = "pname")] out float data)
Parameters
Type Name Description
GetPName pname
Single data

[length: COMPSIZE(pname)]

GetFloat(GetPName, Single[])

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")]
[CLSCompliant(false)]
public static void GetFloat(GetPName pname, [Count(Computed = "pname")] float[] data)
Parameters
Type Name Description
GetPName pname
Single[] data

[length: COMPSIZE(pname)]

GetFramebufferAttachmentParameter(All, All, All, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return attachment parameters of a framebuffer object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
[CLSCompliant(false)]
public static void GetFramebufferAttachmentParameter(All target, All attachment, All pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
All target

Specifies the target framebuffer object. The symbolic constant must be Framebuffer.

All attachment

Specifies the symbolic name of a framebuffer object attachment point. Accepted values are ColorAttachment0, DepthAttachment, and StencilAttachment.

All pname

Specifies the symbolic name of a framebuffer object attachment parameter. Accepted values are FramebufferAttachmentObjectType, FramebufferAttachmentObjectName, FramebufferAttachmentTextureLevel, and FramebufferAttachmentTextureCubeMapFace.

Int32* params

GetFramebufferAttachmentParameter(All, All, All, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return attachment parameters of a framebuffer object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
[CLSCompliant(false)]
public static void GetFramebufferAttachmentParameter(All target, All attachment, All pname, [Count(Computed = "pname")] out int params)
Parameters
Type Name Description
All target

Specifies the target framebuffer object. The symbolic constant must be Framebuffer.

All attachment

Specifies the symbolic name of a framebuffer object attachment point. Accepted values are ColorAttachment0, DepthAttachment, and StencilAttachment.

All pname

Specifies the symbolic name of a framebuffer object attachment parameter. Accepted values are FramebufferAttachmentObjectType, FramebufferAttachmentObjectName, FramebufferAttachmentTextureLevel, and FramebufferAttachmentTextureCubeMapFace.

Int32 params

GetFramebufferAttachmentParameter(All, All, All, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return attachment parameters of a framebuffer object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
[CLSCompliant(false)]
public static void GetFramebufferAttachmentParameter(All target, All attachment, All pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
All target

Specifies the target framebuffer object. The symbolic constant must be Framebuffer.

All attachment

Specifies the symbolic name of a framebuffer object attachment point. Accepted values are ColorAttachment0, DepthAttachment, and StencilAttachment.

All pname

Specifies the symbolic name of a framebuffer object attachment parameter. Accepted values are FramebufferAttachmentObjectType, FramebufferAttachmentObjectName, FramebufferAttachmentTextureLevel, and FramebufferAttachmentTextureCubeMapFace.

Int32[] params

GetFramebufferAttachmentParameter(FramebufferTarget, FramebufferAttachment, FramebufferParameterName, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return attachment parameters of a framebuffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
[CLSCompliant(false)]
public static void GetFramebufferAttachmentParameter(FramebufferTarget target, FramebufferAttachment attachment, FramebufferParameterName pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
FramebufferTarget target

Specifies the target framebuffer object. The symbolic constant must be Framebuffer.

FramebufferAttachment attachment

Specifies the symbolic name of a framebuffer object attachment point. Accepted values are ColorAttachment0, DepthAttachment, and StencilAttachment.

FramebufferParameterName pname

Specifies the symbolic name of a framebuffer object attachment parameter. Accepted values are FramebufferAttachmentObjectType, FramebufferAttachmentObjectName, FramebufferAttachmentTextureLevel, and FramebufferAttachmentTextureCubeMapFace.

Int32* params

GetFramebufferAttachmentParameter(FramebufferTarget, FramebufferAttachment, FramebufferParameterName, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return attachment parameters of a framebuffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
[CLSCompliant(false)]
public static void GetFramebufferAttachmentParameter(FramebufferTarget target, FramebufferAttachment attachment, FramebufferParameterName pname, [Count(Computed = "pname")] out int params)
Parameters
Type Name Description
FramebufferTarget target

Specifies the target framebuffer object. The symbolic constant must be Framebuffer.

FramebufferAttachment attachment

Specifies the symbolic name of a framebuffer object attachment point. Accepted values are ColorAttachment0, DepthAttachment, and StencilAttachment.

FramebufferParameterName pname

Specifies the symbolic name of a framebuffer object attachment parameter. Accepted values are FramebufferAttachmentObjectType, FramebufferAttachmentObjectName, FramebufferAttachmentTextureLevel, and FramebufferAttachmentTextureCubeMapFace.

Int32 params

GetFramebufferAttachmentParameter(FramebufferTarget, FramebufferAttachment, FramebufferParameterName, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return attachment parameters of a framebuffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
[CLSCompliant(false)]
public static void GetFramebufferAttachmentParameter(FramebufferTarget target, FramebufferAttachment attachment, FramebufferParameterName pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
FramebufferTarget target

Specifies the target framebuffer object. The symbolic constant must be Framebuffer.

FramebufferAttachment attachment

Specifies the symbolic name of a framebuffer object attachment point. Accepted values are ColorAttachment0, DepthAttachment, and StencilAttachment.

FramebufferParameterName pname

Specifies the symbolic name of a framebuffer object attachment parameter. Accepted values are FramebufferAttachmentObjectType, FramebufferAttachmentObjectName, FramebufferAttachmentTextureLevel, and FramebufferAttachmentTextureCubeMapFace.

Int32[] params

GetFramebufferAttachmentParameter(FramebufferTarget, FramebufferSlot, FramebufferParameterName, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return attachment parameters of a framebuffer object

Declaration
[Obsolete("Use FramebufferAttachment overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
[CLSCompliant(false)]
public static void GetFramebufferAttachmentParameter(FramebufferTarget target, FramebufferSlot attachment, FramebufferParameterName pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
FramebufferTarget target

Specifies the target framebuffer object. The symbolic constant must be Framebuffer.

FramebufferSlot attachment

Specifies the symbolic name of a framebuffer object attachment point. Accepted values are ColorAttachment0, DepthAttachment, and StencilAttachment.

FramebufferParameterName pname

Specifies the symbolic name of a framebuffer object attachment parameter. Accepted values are FramebufferAttachmentObjectType, FramebufferAttachmentObjectName, FramebufferAttachmentTextureLevel, and FramebufferAttachmentTextureCubeMapFace.

Int32* params

GetFramebufferAttachmentParameter(FramebufferTarget, FramebufferSlot, FramebufferParameterName, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return attachment parameters of a framebuffer object

Declaration
[Obsolete("Use FramebufferAttachment overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
[CLSCompliant(false)]
public static void GetFramebufferAttachmentParameter(FramebufferTarget target, FramebufferSlot attachment, FramebufferParameterName pname, [Count(Computed = "pname")] out int params)
Parameters
Type Name Description
FramebufferTarget target

Specifies the target framebuffer object. The symbolic constant must be Framebuffer.

FramebufferSlot attachment

Specifies the symbolic name of a framebuffer object attachment point. Accepted values are ColorAttachment0, DepthAttachment, and StencilAttachment.

FramebufferParameterName pname

Specifies the symbolic name of a framebuffer object attachment parameter. Accepted values are FramebufferAttachmentObjectType, FramebufferAttachmentObjectName, FramebufferAttachmentTextureLevel, and FramebufferAttachmentTextureCubeMapFace.

Int32 params

GetFramebufferAttachmentParameter(FramebufferTarget, FramebufferSlot, FramebufferParameterName, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return attachment parameters of a framebuffer object

Declaration
[Obsolete("Use FramebufferAttachment overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
[CLSCompliant(false)]
public static void GetFramebufferAttachmentParameter(FramebufferTarget target, FramebufferSlot attachment, FramebufferParameterName pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
FramebufferTarget target

Specifies the target framebuffer object. The symbolic constant must be Framebuffer.

FramebufferSlot attachment

Specifies the symbolic name of a framebuffer object attachment point. Accepted values are ColorAttachment0, DepthAttachment, and StencilAttachment.

FramebufferParameterName pname

Specifies the symbolic name of a framebuffer object attachment parameter. Accepted values are FramebufferAttachmentObjectType, FramebufferAttachmentObjectName, FramebufferAttachmentTextureLevel, and FramebufferAttachmentTextureCubeMapFace.

Int32[] params

GetGraphicsResetStatus()

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glGetGraphicsResetStatus")]
public static ResetStatus GetGraphicsResetStatus()
Returns
Type Description
ResetStatus

GetInteger(All)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")]
[CLSCompliant(false)]
public static int GetInteger(All pname)
Parameters
Type Name Description
All pname
Returns
Type Description
Int32

GetInteger(All, Int32*)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")]
[CLSCompliant(false)]
public static void GetInteger(All pname, [Count(Computed = "pname")] int *data)
Parameters
Type Name Description
All pname
Int32* data

[length: COMPSIZE(pname)]

GetInteger(All, out Int32)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")]
[CLSCompliant(false)]
public static void GetInteger(All pname, [Count(Computed = "pname")] out int data)
Parameters
Type Name Description
All pname
Int32 data

[length: COMPSIZE(pname)]

GetInteger(All, Int32[])

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")]
[CLSCompliant(false)]
public static void GetInteger(All pname, [Count(Computed = "pname")] int[] data)
Parameters
Type Name Description
All pname
Int32[] data

[length: COMPSIZE(pname)]

GetInteger(GetPName)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")]
[CLSCompliant(false)]
public static int GetInteger(GetPName pname)
Parameters
Type Name Description
GetPName pname
Returns
Type Description
Int32

GetInteger(GetPName, Int32*)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")]
[CLSCompliant(false)]
public static void GetInteger(GetPName pname, [Count(Computed = "pname")] int *data)
Parameters
Type Name Description
GetPName pname
Int32* data

[length: COMPSIZE(pname)]

GetInteger(GetPName, out Int32)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")]
[CLSCompliant(false)]
public static void GetInteger(GetPName pname, [Count(Computed = "pname")] out int data)
Parameters
Type Name Description
GetPName pname
Int32 data

[length: COMPSIZE(pname)]

GetInteger(GetPName, Int32[])

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")]
[CLSCompliant(false)]
public static void GetInteger(GetPName pname, [Count(Computed = "pname")] int[] data)
Parameters
Type Name Description
GetPName pname
Int32[] data

[length: COMPSIZE(pname)]

GetnUniform(Int32, Int32, Int32, Int32*)

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glGetnUniformiv")]
[CLSCompliant(false)]
public static void GetnUniform(int program, int location, int bufSize, int *params)
Parameters
Type Name Description
Int32 program
Int32 location
Int32 bufSize
Int32* params

GetnUniform(Int32, Int32, Int32, out Int32)

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glGetnUniformiv")]
[CLSCompliant(false)]
public static void GetnUniform(int program, int location, int bufSize, out int params)
Parameters
Type Name Description
Int32 program
Int32 location
Int32 bufSize
Int32 params

GetnUniform(Int32, Int32, Int32, Int32[])

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glGetnUniformiv")]
[CLSCompliant(false)]
public static void GetnUniform(int program, int location, int bufSize, int[] params)
Parameters
Type Name Description
Int32 program
Int32 location
Int32 bufSize
Int32[] params

GetnUniform(Int32, Int32, Int32, Single*)

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glGetnUniformfv")]
[CLSCompliant(false)]
public static void GetnUniform(int program, int location, int bufSize, float *params)
Parameters
Type Name Description
Int32 program
Int32 location
Int32 bufSize
Single* params

GetnUniform(Int32, Int32, Int32, out Single)

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glGetnUniformfv")]
[CLSCompliant(false)]
public static void GetnUniform(int program, int location, int bufSize, out float params)
Parameters
Type Name Description
Int32 program
Int32 location
Int32 bufSize
Single params

GetnUniform(Int32, Int32, Int32, Single[])

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glGetnUniformfv")]
[CLSCompliant(false)]
public static void GetnUniform(int program, int location, int bufSize, float[] params)
Parameters
Type Name Description
Int32 program
Int32 location
Int32 bufSize
Single[] params

GetnUniform(UInt32, Int32, Int32, Int32*)

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glGetnUniformiv")]
[CLSCompliant(false)]
public static void GetnUniform(uint program, int location, int bufSize, int *params)
Parameters
Type Name Description
UInt32 program
Int32 location
Int32 bufSize
Int32* params

GetnUniform(UInt32, Int32, Int32, out Int32)

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glGetnUniformiv")]
[CLSCompliant(false)]
public static void GetnUniform(uint program, int location, int bufSize, out int params)
Parameters
Type Name Description
UInt32 program
Int32 location
Int32 bufSize
Int32 params

GetnUniform(UInt32, Int32, Int32, Int32[])

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glGetnUniformiv")]
[CLSCompliant(false)]
public static void GetnUniform(uint program, int location, int bufSize, int[] params)
Parameters
Type Name Description
UInt32 program
Int32 location
Int32 bufSize
Int32[] params

GetnUniform(UInt32, Int32, Int32, Single*)

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glGetnUniformfv")]
[CLSCompliant(false)]
public static void GetnUniform(uint program, int location, int bufSize, float *params)
Parameters
Type Name Description
UInt32 program
Int32 location
Int32 bufSize
Single* params

GetnUniform(UInt32, Int32, Int32, out Single)

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glGetnUniformfv")]
[CLSCompliant(false)]
public static void GetnUniform(uint program, int location, int bufSize, out float params)
Parameters
Type Name Description
UInt32 program
Int32 location
Int32 bufSize
Single params

GetnUniform(UInt32, Int32, Int32, Single[])

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glGetnUniformfv")]
[CLSCompliant(false)]
public static void GetnUniform(uint program, int location, int bufSize, float[] params)
Parameters
Type Name Description
UInt32 program
Int32 location
Int32 bufSize
Single[] params

GetnUniform(UInt32, Int32, Int32, UInt32*)

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glGetnUniformuiv")]
[CLSCompliant(false)]
public static void GetnUniform(uint program, int location, int bufSize, uint *params)
Parameters
Type Name Description
UInt32 program
Int32 location
Int32 bufSize
UInt32* params

GetnUniform(UInt32, Int32, Int32, out UInt32)

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glGetnUniformuiv")]
[CLSCompliant(false)]
public static void GetnUniform(uint program, int location, int bufSize, out uint params)
Parameters
Type Name Description
UInt32 program
Int32 location
Int32 bufSize
UInt32 params

GetnUniform(UInt32, Int32, Int32, UInt32[])

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glGetnUniformuiv")]
[CLSCompliant(false)]
public static void GetnUniform(uint program, int location, int bufSize, uint[] params)
Parameters
Type Name Description
UInt32 program
Int32 location
Int32 bufSize
UInt32[] params

GetObjectLabel(All, Int32, Int32, Int32*, out String)

Retrieve the label of a named object identified within a namespace

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
[CLSCompliant(false)]
public static void GetObjectLabel(All identifier, int name, int bufSize, [Count(Count = 1)] int *length, [Count(Parameter = "bufSize")] out string label)
Parameters
Type Name Description
All identifier

The namespace from which the name of the object is allocated.

Int32 name

The name of the object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32* length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

GetObjectLabel(All, Int32, Int32, out Int32, out String)

Retrieve the label of a named object identified within a namespace

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
[CLSCompliant(false)]
public static void GetObjectLabel(All identifier, int name, int bufSize, [Count(Count = 1)] out int length, [Count(Parameter = "bufSize")] out string label)
Parameters
Type Name Description
All identifier

The namespace from which the name of the object is allocated.

Int32 name

The name of the object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32 length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

GetObjectLabel(All, Int32, Int32, Int32[], out String)

Retrieve the label of a named object identified within a namespace

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
[CLSCompliant(false)]
public static void GetObjectLabel(All identifier, int name, int bufSize, [Count(Count = 1)] int[] length, [Count(Parameter = "bufSize")] out string label)
Parameters
Type Name Description
All identifier

The namespace from which the name of the object is allocated.

Int32 name

The name of the object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32[] length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

GetObjectLabel(All, UInt32, Int32, Int32*, out String)

Retrieve the label of a named object identified within a namespace

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
[CLSCompliant(false)]
public static void GetObjectLabel(All identifier, uint name, int bufSize, [Count(Count = 1)] int *length, [Count(Parameter = "bufSize")] out string label)
Parameters
Type Name Description
All identifier

The namespace from which the name of the object is allocated.

UInt32 name

The name of the object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32* length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

GetObjectLabel(All, UInt32, Int32, out Int32, out String)

Retrieve the label of a named object identified within a namespace

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
[CLSCompliant(false)]
public static void GetObjectLabel(All identifier, uint name, int bufSize, [Count(Count = 1)] out int length, [Count(Parameter = "bufSize")] out string label)
Parameters
Type Name Description
All identifier

The namespace from which the name of the object is allocated.

UInt32 name

The name of the object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32 length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

GetObjectLabel(All, UInt32, Int32, Int32[], out String)

Retrieve the label of a named object identified within a namespace

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
[CLSCompliant(false)]
public static void GetObjectLabel(All identifier, uint name, int bufSize, [Count(Count = 1)] int[] length, [Count(Parameter = "bufSize")] out string label)
Parameters
Type Name Description
All identifier

The namespace from which the name of the object is allocated.

UInt32 name

The name of the object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32[] length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

GetObjectLabel(ObjectLabelIdentifier, Int32, Int32, Int32*, out String)

Retrieve the label of a named object identified within a namespace

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
[CLSCompliant(false)]
public static void GetObjectLabel(ObjectLabelIdentifier identifier, int name, int bufSize, [Count(Count = 1)] int *length, [Count(Parameter = "bufSize")] out string label)
Parameters
Type Name Description
ObjectLabelIdentifier identifier

The namespace from which the name of the object is allocated.

Int32 name

The name of the object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32* length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

GetObjectLabel(ObjectLabelIdentifier, Int32, Int32, out Int32, out String)

Retrieve the label of a named object identified within a namespace

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
[CLSCompliant(false)]
public static void GetObjectLabel(ObjectLabelIdentifier identifier, int name, int bufSize, [Count(Count = 1)] out int length, [Count(Parameter = "bufSize")] out string label)
Parameters
Type Name Description
ObjectLabelIdentifier identifier

The namespace from which the name of the object is allocated.

Int32 name

The name of the object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32 length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

GetObjectLabel(ObjectLabelIdentifier, Int32, Int32, Int32[], out String)

Retrieve the label of a named object identified within a namespace

Declaration
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
[CLSCompliant(false)]
public static void GetObjectLabel(ObjectLabelIdentifier identifier, int name, int bufSize, [Count(Count = 1)] int[] length, [Count(Parameter = "bufSize")] out string label)
Parameters
Type Name Description
ObjectLabelIdentifier identifier

The namespace from which the name of the object is allocated.

Int32 name

The name of the object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32[] length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

GetObjectLabel(ObjectLabelIdentifier, UInt32, Int32, Int32*, out String)

Retrieve the label of a named object identified within a namespace

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
[CLSCompliant(false)]
public static void GetObjectLabel(ObjectLabelIdentifier identifier, uint name, int bufSize, [Count(Count = 1)] int *length, [Count(Parameter = "bufSize")] out string label)
Parameters
Type Name Description
ObjectLabelIdentifier identifier

The namespace from which the name of the object is allocated.

UInt32 name

The name of the object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32* length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

GetObjectLabel(ObjectLabelIdentifier, UInt32, Int32, out Int32, out String)

Retrieve the label of a named object identified within a namespace

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
[CLSCompliant(false)]
public static void GetObjectLabel(ObjectLabelIdentifier identifier, uint name, int bufSize, [Count(Count = 1)] out int length, [Count(Parameter = "bufSize")] out string label)
Parameters
Type Name Description
ObjectLabelIdentifier identifier

The namespace from which the name of the object is allocated.

UInt32 name

The name of the object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32 length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

GetObjectLabel(ObjectLabelIdentifier, UInt32, Int32, Int32[], out String)

Retrieve the label of a named object identified within a namespace

Declaration
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
[CLSCompliant(false)]
public static void GetObjectLabel(ObjectLabelIdentifier identifier, uint name, int bufSize, [Count(Count = 1)] int[] length, [Count(Parameter = "bufSize")] out string label)
Parameters
Type Name Description
ObjectLabelIdentifier identifier

The namespace from which the name of the object is allocated.

UInt32 name

The name of the object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32[] length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

GetObjectPtrLabel(IntPtr, Int32, Int32*, out String)

Retrieve the label of a sync object identified by a pointer

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
[CLSCompliant(false)]
public static void GetObjectPtrLabel(IntPtr ptr, int bufSize, [Count(Count = 1)] int *length, [Count(Parameter = "bufSize")] out string label)
Parameters
Type Name Description
IntPtr ptr

The name of the sync object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32* length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

GetObjectPtrLabel(IntPtr, Int32, out Int32, out String)

Retrieve the label of a sync object identified by a pointer

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
[CLSCompliant(false)]
public static void GetObjectPtrLabel(IntPtr ptr, int bufSize, [Count(Count = 1)] out int length, [Count(Parameter = "bufSize")] out string label)
Parameters
Type Name Description
IntPtr ptr

The name of the sync object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32 length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

GetObjectPtrLabel(IntPtr, Int32, Int32[], out String)

Retrieve the label of a sync object identified by a pointer

Declaration
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
[CLSCompliant(false)]
public static void GetObjectPtrLabel(IntPtr ptr, int bufSize, [Count(Count = 1)] int[] length, [Count(Parameter = "bufSize")] out string label)
Parameters
Type Name Description
IntPtr ptr

The name of the sync object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32[] length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

GetObjectPtrLabel<T0>(ref T0, Int32, Int32*, out String)

Retrieve the label of a sync object identified by a pointer

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
[CLSCompliant(false)]
public static void GetObjectPtrLabel<T0>(ref T0 ptr, int bufSize, [Count(Count = 1)] int *length, [Count(Parameter = "bufSize")] out string label)
    where T0 : struct
Parameters
Type Name Description
T0 ptr

The name of the sync object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32* length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

Type Parameters
Name Description
T0

GetObjectPtrLabel<T0>(ref T0, Int32, out Int32, out String)

Retrieve the label of a sync object identified by a pointer

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
[CLSCompliant(false)]
public static void GetObjectPtrLabel<T0>(ref T0 ptr, int bufSize, [Count(Count = 1)] out int length, [Count(Parameter = "bufSize")] out string label)
    where T0 : struct
Parameters
Type Name Description
T0 ptr

The name of the sync object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32 length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

Type Parameters
Name Description
T0

GetObjectPtrLabel<T0>(ref T0, Int32, Int32[], out String)

Retrieve the label of a sync object identified by a pointer

Declaration
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
[CLSCompliant(false)]
public static void GetObjectPtrLabel<T0>(ref T0 ptr, int bufSize, [Count(Count = 1)] int[] length, [Count(Parameter = "bufSize")] out string label)
    where T0 : struct
Parameters
Type Name Description
T0 ptr

The name of the sync object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32[] length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

Type Parameters
Name Description
T0

GetObjectPtrLabel<T0>(T0[], Int32, Int32*, out String)

Retrieve the label of a sync object identified by a pointer

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
[CLSCompliant(false)]
public static void GetObjectPtrLabel<T0>(T0[] ptr, int bufSize, [Count(Count = 1)] int *length, [Count(Parameter = "bufSize")] out string label)
    where T0 : struct
Parameters
Type Name Description
T0[] ptr

The name of the sync object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32* length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

Type Parameters
Name Description
T0

GetObjectPtrLabel<T0>(T0[], Int32, out Int32, out String)

Retrieve the label of a sync object identified by a pointer

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
[CLSCompliant(false)]
public static void GetObjectPtrLabel<T0>(T0[] ptr, int bufSize, [Count(Count = 1)] out int length, [Count(Parameter = "bufSize")] out string label)
    where T0 : struct
Parameters
Type Name Description
T0[] ptr

The name of the sync object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32 length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

Type Parameters
Name Description
T0

GetObjectPtrLabel<T0>(T0[], Int32, Int32[], out String)

Retrieve the label of a sync object identified by a pointer

Declaration
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
[CLSCompliant(false)]
public static void GetObjectPtrLabel<T0>(T0[] ptr, int bufSize, [Count(Count = 1)] int[] length, [Count(Parameter = "bufSize")] out string label)
    where T0 : struct
Parameters
Type Name Description
T0[] ptr

The name of the sync object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32[] length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

Type Parameters
Name Description
T0

GetObjectPtrLabel<T0>(T0[,,], Int32, Int32*, out String)

Retrieve the label of a sync object identified by a pointer

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
[CLSCompliant(false)]
public static void GetObjectPtrLabel<T0>(T0[,, ] ptr, int bufSize, [Count(Count = 1)] int *length, [Count(Parameter = "bufSize")] out string label)
    where T0 : struct
Parameters
Type Name Description
T0[,,] ptr

The name of the sync object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32* length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

Type Parameters
Name Description
T0

GetObjectPtrLabel<T0>(T0[,,], Int32, out Int32, out String)

Retrieve the label of a sync object identified by a pointer

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
[CLSCompliant(false)]
public static void GetObjectPtrLabel<T0>(T0[,, ] ptr, int bufSize, [Count(Count = 1)] out int length, [Count(Parameter = "bufSize")] out string label)
    where T0 : struct
Parameters
Type Name Description
T0[,,] ptr

The name of the sync object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32 length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

Type Parameters
Name Description
T0

GetObjectPtrLabel<T0>(T0[,,], Int32, Int32[], out String)

Retrieve the label of a sync object identified by a pointer

Declaration
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
[CLSCompliant(false)]
public static void GetObjectPtrLabel<T0>(T0[,, ] ptr, int bufSize, [Count(Count = 1)] int[] length, [Count(Parameter = "bufSize")] out string label)
    where T0 : struct
Parameters
Type Name Description
T0[,,] ptr

The name of the sync object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32[] length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

Type Parameters
Name Description
T0

GetObjectPtrLabel<T0>(T0[,], Int32, Int32*, out String)

Retrieve the label of a sync object identified by a pointer

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
[CLSCompliant(false)]
public static void GetObjectPtrLabel<T0>(T0[, ] ptr, int bufSize, [Count(Count = 1)] int *length, [Count(Parameter = "bufSize")] out string label)
    where T0 : struct
Parameters
Type Name Description
T0[,] ptr

The name of the sync object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32* length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

Type Parameters
Name Description
T0

GetObjectPtrLabel<T0>(T0[,], Int32, out Int32, out String)

Retrieve the label of a sync object identified by a pointer

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
[CLSCompliant(false)]
public static void GetObjectPtrLabel<T0>(T0[, ] ptr, int bufSize, [Count(Count = 1)] out int length, [Count(Parameter = "bufSize")] out string label)
    where T0 : struct
Parameters
Type Name Description
T0[,] ptr

The name of the sync object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32 length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

Type Parameters
Name Description
T0

GetObjectPtrLabel<T0>(T0[,], Int32, Int32[], out String)

Retrieve the label of a sync object identified by a pointer

Declaration
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")]
[CLSCompliant(false)]
public static void GetObjectPtrLabel<T0>(T0[, ] ptr, int bufSize, [Count(Count = 1)] int[] length, [Count(Parameter = "bufSize")] out string label)
    where T0 : struct
Parameters
Type Name Description
T0[,] ptr

The name of the sync object whose label to retrieve.

Int32 bufSize

The length of the buffer whose address is in label.

Int32[] length

[length: 1] The address of a variable to receive the length of the object label.

String label

[length: bufSize] The address of a string that will receive the object label.

Type Parameters
Name Description
T0

GetPointer(All, IntPtr)

Return the address of the specified pointer

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")]
public static void GetPointer(All pname, [Count(Count = 1)] IntPtr params)
Parameters
Type Name Description
All pname

Specifies the array or buffer pointer to be returned. Symbolic constants ColorArrayPointer, EdgeFlagArrayPointer, FogCoordArrayPointer, FeedbackBufferPointer, IndexArrayPointer, NormalArrayPointer, SecondaryColorArrayPointer, SelectionBufferPointer, TextureCoordArrayPointer, or VertexArrayPointer are accepted.

IntPtr params

GetPointer(GetPointervPName, IntPtr)

Return the address of the specified pointer

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")]
public static void GetPointer(GetPointervPName pname, [Count(Count = 1)] IntPtr params)
Parameters
Type Name Description
GetPointervPName pname

Specifies the array or buffer pointer to be returned. Symbolic constants ColorArrayPointer, EdgeFlagArrayPointer, FogCoordArrayPointer, FeedbackBufferPointer, IndexArrayPointer, NormalArrayPointer, SecondaryColorArrayPointer, SelectionBufferPointer, TextureCoordArrayPointer, or VertexArrayPointer are accepted.

IntPtr params

GetPointer<T1>(All, ref T1)

Return the address of the specified pointer

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")]
public static void GetPointer<T1>(All pname, [Count(Count = 1)] ref T1 params)
    where T1 : struct
Parameters
Type Name Description
All pname

Specifies the array or buffer pointer to be returned. Symbolic constants ColorArrayPointer, EdgeFlagArrayPointer, FogCoordArrayPointer, FeedbackBufferPointer, IndexArrayPointer, NormalArrayPointer, SecondaryColorArrayPointer, SelectionBufferPointer, TextureCoordArrayPointer, or VertexArrayPointer are accepted.

T1 params
Type Parameters
Name Description
T1

GetPointer<T1>(All, T1[])

Return the address of the specified pointer

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")]
[CLSCompliant(false)]
public static void GetPointer<T1>(All pname, [Count(Count = 1)] T1[] params)
    where T1 : struct
Parameters
Type Name Description
All pname

Specifies the array or buffer pointer to be returned. Symbolic constants ColorArrayPointer, EdgeFlagArrayPointer, FogCoordArrayPointer, FeedbackBufferPointer, IndexArrayPointer, NormalArrayPointer, SecondaryColorArrayPointer, SelectionBufferPointer, TextureCoordArrayPointer, or VertexArrayPointer are accepted.

T1[] params
Type Parameters
Name Description
T1

GetPointer<T1>(All, T1[,,])

Return the address of the specified pointer

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")]
[CLSCompliant(false)]
public static void GetPointer<T1>(All pname, [Count(Count = 1)] T1[,, ] params)
    where T1 : struct
Parameters
Type Name Description
All pname

Specifies the array or buffer pointer to be returned. Symbolic constants ColorArrayPointer, EdgeFlagArrayPointer, FogCoordArrayPointer, FeedbackBufferPointer, IndexArrayPointer, NormalArrayPointer, SecondaryColorArrayPointer, SelectionBufferPointer, TextureCoordArrayPointer, or VertexArrayPointer are accepted.

T1[,,] params
Type Parameters
Name Description
T1

GetPointer<T1>(All, T1[,])

Return the address of the specified pointer

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")]
[CLSCompliant(false)]
public static void GetPointer<T1>(All pname, [Count(Count = 1)] T1[, ] params)
    where T1 : struct
Parameters
Type Name Description
All pname

Specifies the array or buffer pointer to be returned. Symbolic constants ColorArrayPointer, EdgeFlagArrayPointer, FogCoordArrayPointer, FeedbackBufferPointer, IndexArrayPointer, NormalArrayPointer, SecondaryColorArrayPointer, SelectionBufferPointer, TextureCoordArrayPointer, or VertexArrayPointer are accepted.

T1[,] params
Type Parameters
Name Description
T1

GetPointer<T1>(GetPointervPName, ref T1)

Return the address of the specified pointer

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")]
public static void GetPointer<T1>(GetPointervPName pname, [Count(Count = 1)] ref T1 params)
    where T1 : struct
Parameters
Type Name Description
GetPointervPName pname

Specifies the array or buffer pointer to be returned. Symbolic constants ColorArrayPointer, EdgeFlagArrayPointer, FogCoordArrayPointer, FeedbackBufferPointer, IndexArrayPointer, NormalArrayPointer, SecondaryColorArrayPointer, SelectionBufferPointer, TextureCoordArrayPointer, or VertexArrayPointer are accepted.

T1 params
Type Parameters
Name Description
T1

GetPointer<T1>(GetPointervPName, T1[])

Return the address of the specified pointer

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")]
[CLSCompliant(false)]
public static void GetPointer<T1>(GetPointervPName pname, [Count(Count = 1)] T1[] params)
    where T1 : struct
Parameters
Type Name Description
GetPointervPName pname

Specifies the array or buffer pointer to be returned. Symbolic constants ColorArrayPointer, EdgeFlagArrayPointer, FogCoordArrayPointer, FeedbackBufferPointer, IndexArrayPointer, NormalArrayPointer, SecondaryColorArrayPointer, SelectionBufferPointer, TextureCoordArrayPointer, or VertexArrayPointer are accepted.

T1[] params
Type Parameters
Name Description
T1

GetPointer<T1>(GetPointervPName, T1[,,])

Return the address of the specified pointer

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")]
[CLSCompliant(false)]
public static void GetPointer<T1>(GetPointervPName pname, [Count(Count = 1)] T1[,, ] params)
    where T1 : struct
Parameters
Type Name Description
GetPointervPName pname

Specifies the array or buffer pointer to be returned. Symbolic constants ColorArrayPointer, EdgeFlagArrayPointer, FogCoordArrayPointer, FeedbackBufferPointer, IndexArrayPointer, NormalArrayPointer, SecondaryColorArrayPointer, SelectionBufferPointer, TextureCoordArrayPointer, or VertexArrayPointer are accepted.

T1[,,] params
Type Parameters
Name Description
T1

GetPointer<T1>(GetPointervPName, T1[,])

Return the address of the specified pointer

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")]
[CLSCompliant(false)]
public static void GetPointer<T1>(GetPointervPName pname, [Count(Count = 1)] T1[, ] params)
    where T1 : struct
Parameters
Type Name Description
GetPointervPName pname

Specifies the array or buffer pointer to be returned. Symbolic constants ColorArrayPointer, EdgeFlagArrayPointer, FogCoordArrayPointer, FeedbackBufferPointer, IndexArrayPointer, NormalArrayPointer, SecondaryColorArrayPointer, SelectionBufferPointer, TextureCoordArrayPointer, or VertexArrayPointer are accepted.

T1[,] params
Type Parameters
Name Description
T1

GetProgram(Int32, All, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a program object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
[CLSCompliant(false)]
public static void GetProgram(int program, All pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

All pname

Specifies the object parameter. Accepted symbolic names are DeleteStatus, LinkStatus, ValidateStatus, InfoLogLength, AttachedShaders, ActiveAttributes, ActiveAttributeMaxLength, ActiveUniforms, ActiveUniformMaxLength.

Int32* params

GetProgram(Int32, All, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a program object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
[CLSCompliant(false)]
public static void GetProgram(int program, All pname, [Count(Computed = "pname")] out int params)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

All pname

Specifies the object parameter. Accepted symbolic names are DeleteStatus, LinkStatus, ValidateStatus, InfoLogLength, AttachedShaders, ActiveAttributes, ActiveAttributeMaxLength, ActiveUniforms, ActiveUniformMaxLength.

Int32 params

GetProgram(Int32, All, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a program object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
[CLSCompliant(false)]
public static void GetProgram(int program, All pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

All pname

Specifies the object parameter. Accepted symbolic names are DeleteStatus, LinkStatus, ValidateStatus, InfoLogLength, AttachedShaders, ActiveAttributes, ActiveAttributeMaxLength, ActiveUniforms, ActiveUniformMaxLength.

Int32[] params

GetProgram(Int32, GetProgramParameterName, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
[CLSCompliant(false)]
public static void GetProgram(int program, GetProgramParameterName pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

GetProgramParameterName pname

Specifies the object parameter. Accepted symbolic names are DeleteStatus, LinkStatus, ValidateStatus, InfoLogLength, AttachedShaders, ActiveAttributes, ActiveAttributeMaxLength, ActiveUniforms, ActiveUniformMaxLength.

Int32* params

GetProgram(Int32, GetProgramParameterName, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
[CLSCompliant(false)]
public static void GetProgram(int program, GetProgramParameterName pname, [Count(Computed = "pname")] out int params)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

GetProgramParameterName pname

Specifies the object parameter. Accepted symbolic names are DeleteStatus, LinkStatus, ValidateStatus, InfoLogLength, AttachedShaders, ActiveAttributes, ActiveAttributeMaxLength, ActiveUniforms, ActiveUniformMaxLength.

Int32 params

GetProgram(Int32, GetProgramParameterName, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
[CLSCompliant(false)]
public static void GetProgram(int program, GetProgramParameterName pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

GetProgramParameterName pname

Specifies the object parameter. Accepted symbolic names are DeleteStatus, LinkStatus, ValidateStatus, InfoLogLength, AttachedShaders, ActiveAttributes, ActiveAttributeMaxLength, ActiveUniforms, ActiveUniformMaxLength.

Int32[] params

GetProgram(Int32, ProgramParameter, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a program object

Declaration
[Obsolete("Use GetProgramParameterName overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
[CLSCompliant(false)]
public static void GetProgram(int program, ProgramParameter pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

ProgramParameter pname

Specifies the object parameter. Accepted symbolic names are DeleteStatus, LinkStatus, ValidateStatus, InfoLogLength, AttachedShaders, ActiveAttributes, ActiveAttributeMaxLength, ActiveUniforms, ActiveUniformMaxLength.

Int32* params

GetProgram(Int32, ProgramParameter, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a program object

Declaration
[Obsolete("Use GetProgramParameterName overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
[CLSCompliant(false)]
public static void GetProgram(int program, ProgramParameter pname, [Count(Computed = "pname")] out int params)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

ProgramParameter pname

Specifies the object parameter. Accepted symbolic names are DeleteStatus, LinkStatus, ValidateStatus, InfoLogLength, AttachedShaders, ActiveAttributes, ActiveAttributeMaxLength, ActiveUniforms, ActiveUniformMaxLength.

Int32 params

GetProgram(Int32, ProgramParameter, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a program object

Declaration
[Obsolete("Use GetProgramParameterName overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
[CLSCompliant(false)]
public static void GetProgram(int program, ProgramParameter pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

ProgramParameter pname

Specifies the object parameter. Accepted symbolic names are DeleteStatus, LinkStatus, ValidateStatus, InfoLogLength, AttachedShaders, ActiveAttributes, ActiveAttributeMaxLength, ActiveUniforms, ActiveUniformMaxLength.

Int32[] params

GetProgram(UInt32, All, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a program object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
[CLSCompliant(false)]
public static void GetProgram(uint program, All pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

All pname

Specifies the object parameter. Accepted symbolic names are DeleteStatus, LinkStatus, ValidateStatus, InfoLogLength, AttachedShaders, ActiveAttributes, ActiveAttributeMaxLength, ActiveUniforms, ActiveUniformMaxLength.

Int32* params

GetProgram(UInt32, All, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a program object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
[CLSCompliant(false)]
public static void GetProgram(uint program, All pname, [Count(Computed = "pname")] out int params)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

All pname

Specifies the object parameter. Accepted symbolic names are DeleteStatus, LinkStatus, ValidateStatus, InfoLogLength, AttachedShaders, ActiveAttributes, ActiveAttributeMaxLength, ActiveUniforms, ActiveUniformMaxLength.

Int32 params

GetProgram(UInt32, All, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a program object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
[CLSCompliant(false)]
public static void GetProgram(uint program, All pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

All pname

Specifies the object parameter. Accepted symbolic names are DeleteStatus, LinkStatus, ValidateStatus, InfoLogLength, AttachedShaders, ActiveAttributes, ActiveAttributeMaxLength, ActiveUniforms, ActiveUniformMaxLength.

Int32[] params

GetProgram(UInt32, GetProgramParameterName, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
[CLSCompliant(false)]
public static void GetProgram(uint program, GetProgramParameterName pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

GetProgramParameterName pname

Specifies the object parameter. Accepted symbolic names are DeleteStatus, LinkStatus, ValidateStatus, InfoLogLength, AttachedShaders, ActiveAttributes, ActiveAttributeMaxLength, ActiveUniforms, ActiveUniformMaxLength.

Int32* params

GetProgram(UInt32, GetProgramParameterName, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
[CLSCompliant(false)]
public static void GetProgram(uint program, GetProgramParameterName pname, [Count(Computed = "pname")] out int params)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

GetProgramParameterName pname

Specifies the object parameter. Accepted symbolic names are DeleteStatus, LinkStatus, ValidateStatus, InfoLogLength, AttachedShaders, ActiveAttributes, ActiveAttributeMaxLength, ActiveUniforms, ActiveUniformMaxLength.

Int32 params

GetProgram(UInt32, GetProgramParameterName, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
[CLSCompliant(false)]
public static void GetProgram(uint program, GetProgramParameterName pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

GetProgramParameterName pname

Specifies the object parameter. Accepted symbolic names are DeleteStatus, LinkStatus, ValidateStatus, InfoLogLength, AttachedShaders, ActiveAttributes, ActiveAttributeMaxLength, ActiveUniforms, ActiveUniformMaxLength.

Int32[] params

GetProgram(UInt32, ProgramParameter, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a program object

Declaration
[Obsolete("Use GetProgramParameterName overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
[CLSCompliant(false)]
public static void GetProgram(uint program, ProgramParameter pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

ProgramParameter pname

Specifies the object parameter. Accepted symbolic names are DeleteStatus, LinkStatus, ValidateStatus, InfoLogLength, AttachedShaders, ActiveAttributes, ActiveAttributeMaxLength, ActiveUniforms, ActiveUniformMaxLength.

Int32* params

GetProgram(UInt32, ProgramParameter, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a program object

Declaration
[Obsolete("Use GetProgramParameterName overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
[CLSCompliant(false)]
public static void GetProgram(uint program, ProgramParameter pname, [Count(Computed = "pname")] out int params)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

ProgramParameter pname

Specifies the object parameter. Accepted symbolic names are DeleteStatus, LinkStatus, ValidateStatus, InfoLogLength, AttachedShaders, ActiveAttributes, ActiveAttributeMaxLength, ActiveUniforms, ActiveUniformMaxLength.

Int32 params

GetProgram(UInt32, ProgramParameter, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a program object

Declaration
[Obsolete("Use GetProgramParameterName overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
[CLSCompliant(false)]
public static void GetProgram(uint program, ProgramParameter pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

ProgramParameter pname

Specifies the object parameter. Accepted symbolic names are DeleteStatus, LinkStatus, ValidateStatus, InfoLogLength, AttachedShaders, ActiveAttributes, ActiveAttributeMaxLength, ActiveUniforms, ActiveUniformMaxLength.

Int32[] params

GetProgramInfoLog(Int32)

Declaration
public static string GetProgramInfoLog(int program)
Parameters
Type Name Description
Int32 program
Returns
Type Description
String

GetProgramInfoLog(Int32, Int32, Int32*, out String)

[requires: v2.0 or ES_VERSION_2_0] Return the information log for a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
[CLSCompliant(false)]
public static void GetProgramInfoLog(int program, int bufSize, [Count(Count = 1)] int *length, [Count(Parameter = "bufSize")] out string infoLog)
Parameters
Type Name Description
Int32 program

Specifies the program object whose information log is to be queried.

Int32 bufSize

Specifies the size of the character buffer for storing the returned information log.

Int32* length

[length: 1] Returns the length of the string returned in infoLog (excluding the null terminator).

String infoLog

[length: bufSize] Specifies an array of characters that is used to return the information log.

GetProgramInfoLog(Int32, Int32, out Int32, out String)

[requires: v2.0 or ES_VERSION_2_0] Return the information log for a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
[CLSCompliant(false)]
public static void GetProgramInfoLog(int program, int bufSize, [Count(Count = 1)] out int length, [Count(Parameter = "bufSize")] out string infoLog)
Parameters
Type Name Description
Int32 program

Specifies the program object whose information log is to be queried.

Int32 bufSize

Specifies the size of the character buffer for storing the returned information log.

Int32 length

[length: 1] Returns the length of the string returned in infoLog (excluding the null terminator).

String infoLog

[length: bufSize] Specifies an array of characters that is used to return the information log.

GetProgramInfoLog(Int32, out String)

Declaration
public static void GetProgramInfoLog(int program, out string info)
Parameters
Type Name Description
Int32 program
String info

GetProgramInfoLog(UInt32, Int32, Int32*, out String)

[requires: v2.0 or ES_VERSION_2_0] Return the information log for a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
[CLSCompliant(false)]
public static void GetProgramInfoLog(uint program, int bufSize, [Count(Count = 1)] int *length, [Count(Parameter = "bufSize")] out string infoLog)
Parameters
Type Name Description
UInt32 program

Specifies the program object whose information log is to be queried.

Int32 bufSize

Specifies the size of the character buffer for storing the returned information log.

Int32* length

[length: 1] Returns the length of the string returned in infoLog (excluding the null terminator).

String infoLog

[length: bufSize] Specifies an array of characters that is used to return the information log.

GetProgramInfoLog(UInt32, Int32, out Int32, out String)

[requires: v2.0 or ES_VERSION_2_0] Return the information log for a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
[CLSCompliant(false)]
public static void GetProgramInfoLog(uint program, int bufSize, [Count(Count = 1)] out int length, [Count(Parameter = "bufSize")] out string infoLog)
Parameters
Type Name Description
UInt32 program

Specifies the program object whose information log is to be queried.

Int32 bufSize

Specifies the size of the character buffer for storing the returned information log.

Int32 length

[length: 1] Returns the length of the string returned in infoLog (excluding the null terminator).

String infoLog

[length: bufSize] Specifies an array of characters that is used to return the information log.

GetRenderbufferParameter(All, All, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return parameters of a renderbuffer object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")]
[CLSCompliant(false)]
public static void GetRenderbufferParameter(All target, All pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
All target

Specifies the target renderbuffer object. The symbolic constant must be Renderbuffer.

All pname

Specifies the symbolic name of a renderbuffer object parameter. Accepted values are RenderbufferWidth, RenderbufferHeight, RenderbufferInternalFormat, RenderbufferRedSize, RenderbufferGreenSize, RenderbufferBlueSize, RenderbufferAlphaSize, RenderbufferDepthSize, or RenderbufferStencilSize.

Int32* params

GetRenderbufferParameter(All, All, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return parameters of a renderbuffer object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")]
[CLSCompliant(false)]
public static void GetRenderbufferParameter(All target, All pname, [Count(Computed = "pname")] out int params)
Parameters
Type Name Description
All target

Specifies the target renderbuffer object. The symbolic constant must be Renderbuffer.

All pname

Specifies the symbolic name of a renderbuffer object parameter. Accepted values are RenderbufferWidth, RenderbufferHeight, RenderbufferInternalFormat, RenderbufferRedSize, RenderbufferGreenSize, RenderbufferBlueSize, RenderbufferAlphaSize, RenderbufferDepthSize, or RenderbufferStencilSize.

Int32 params

GetRenderbufferParameter(All, All, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return parameters of a renderbuffer object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")]
[CLSCompliant(false)]
public static void GetRenderbufferParameter(All target, All pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
All target

Specifies the target renderbuffer object. The symbolic constant must be Renderbuffer.

All pname

Specifies the symbolic name of a renderbuffer object parameter. Accepted values are RenderbufferWidth, RenderbufferHeight, RenderbufferInternalFormat, RenderbufferRedSize, RenderbufferGreenSize, RenderbufferBlueSize, RenderbufferAlphaSize, RenderbufferDepthSize, or RenderbufferStencilSize.

Int32[] params

GetRenderbufferParameter(RenderbufferTarget, RenderbufferParameterName, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return parameters of a renderbuffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")]
[CLSCompliant(false)]
public static void GetRenderbufferParameter(RenderbufferTarget target, RenderbufferParameterName pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
RenderbufferTarget target

Specifies the target renderbuffer object. The symbolic constant must be Renderbuffer.

RenderbufferParameterName pname

Specifies the symbolic name of a renderbuffer object parameter. Accepted values are RenderbufferWidth, RenderbufferHeight, RenderbufferInternalFormat, RenderbufferRedSize, RenderbufferGreenSize, RenderbufferBlueSize, RenderbufferAlphaSize, RenderbufferDepthSize, or RenderbufferStencilSize.

Int32* params

GetRenderbufferParameter(RenderbufferTarget, RenderbufferParameterName, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return parameters of a renderbuffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")]
[CLSCompliant(false)]
public static void GetRenderbufferParameter(RenderbufferTarget target, RenderbufferParameterName pname, [Count(Computed = "pname")] out int params)
Parameters
Type Name Description
RenderbufferTarget target

Specifies the target renderbuffer object. The symbolic constant must be Renderbuffer.

RenderbufferParameterName pname

Specifies the symbolic name of a renderbuffer object parameter. Accepted values are RenderbufferWidth, RenderbufferHeight, RenderbufferInternalFormat, RenderbufferRedSize, RenderbufferGreenSize, RenderbufferBlueSize, RenderbufferAlphaSize, RenderbufferDepthSize, or RenderbufferStencilSize.

Int32 params

GetRenderbufferParameter(RenderbufferTarget, RenderbufferParameterName, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return parameters of a renderbuffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")]
[CLSCompliant(false)]
public static void GetRenderbufferParameter(RenderbufferTarget target, RenderbufferParameterName pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
RenderbufferTarget target

Specifies the target renderbuffer object. The symbolic constant must be Renderbuffer.

RenderbufferParameterName pname

Specifies the symbolic name of a renderbuffer object parameter. Accepted values are RenderbufferWidth, RenderbufferHeight, RenderbufferInternalFormat, RenderbufferRedSize, RenderbufferGreenSize, RenderbufferBlueSize, RenderbufferAlphaSize, RenderbufferDepthSize, or RenderbufferStencilSize.

Int32[] params

GetShader(Int32, All, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a shader object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
[CLSCompliant(false)]
public static void GetShader(int shader, All pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
Int32 shader

Specifies the shader object to be queried.

All pname

Specifies the object parameter. Accepted symbolic names are ShaderType, DeleteStatus, CompileStatus, InfoLogLength, ShaderSourceLength.

Int32* params

GetShader(Int32, All, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a shader object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
[CLSCompliant(false)]
public static void GetShader(int shader, All pname, [Count(Computed = "pname")] out int params)
Parameters
Type Name Description
Int32 shader

Specifies the shader object to be queried.

All pname

Specifies the object parameter. Accepted symbolic names are ShaderType, DeleteStatus, CompileStatus, InfoLogLength, ShaderSourceLength.

Int32 params

GetShader(Int32, All, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a shader object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
[CLSCompliant(false)]
public static void GetShader(int shader, All pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
Int32 shader

Specifies the shader object to be queried.

All pname

Specifies the object parameter. Accepted symbolic names are ShaderType, DeleteStatus, CompileStatus, InfoLogLength, ShaderSourceLength.

Int32[] params

GetShader(Int32, ShaderParameter, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
[CLSCompliant(false)]
public static void GetShader(int shader, ShaderParameter pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
Int32 shader

Specifies the shader object to be queried.

ShaderParameter pname

Specifies the object parameter. Accepted symbolic names are ShaderType, DeleteStatus, CompileStatus, InfoLogLength, ShaderSourceLength.

Int32* params

GetShader(Int32, ShaderParameter, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
[CLSCompliant(false)]
public static void GetShader(int shader, ShaderParameter pname, [Count(Computed = "pname")] out int params)
Parameters
Type Name Description
Int32 shader

Specifies the shader object to be queried.

ShaderParameter pname

Specifies the object parameter. Accepted symbolic names are ShaderType, DeleteStatus, CompileStatus, InfoLogLength, ShaderSourceLength.

Int32 params

GetShader(Int32, ShaderParameter, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
[CLSCompliant(false)]
public static void GetShader(int shader, ShaderParameter pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
Int32 shader

Specifies the shader object to be queried.

ShaderParameter pname

Specifies the object parameter. Accepted symbolic names are ShaderType, DeleteStatus, CompileStatus, InfoLogLength, ShaderSourceLength.

Int32[] params

GetShader(UInt32, All, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a shader object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
[CLSCompliant(false)]
public static void GetShader(uint shader, All pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
UInt32 shader

Specifies the shader object to be queried.

All pname

Specifies the object parameter. Accepted symbolic names are ShaderType, DeleteStatus, CompileStatus, InfoLogLength, ShaderSourceLength.

Int32* params

GetShader(UInt32, All, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a shader object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
[CLSCompliant(false)]
public static void GetShader(uint shader, All pname, [Count(Computed = "pname")] out int params)
Parameters
Type Name Description
UInt32 shader

Specifies the shader object to be queried.

All pname

Specifies the object parameter. Accepted symbolic names are ShaderType, DeleteStatus, CompileStatus, InfoLogLength, ShaderSourceLength.

Int32 params

GetShader(UInt32, All, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a shader object

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
[CLSCompliant(false)]
public static void GetShader(uint shader, All pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
UInt32 shader

Specifies the shader object to be queried.

All pname

Specifies the object parameter. Accepted symbolic names are ShaderType, DeleteStatus, CompileStatus, InfoLogLength, ShaderSourceLength.

Int32[] params

GetShader(UInt32, ShaderParameter, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
[CLSCompliant(false)]
public static void GetShader(uint shader, ShaderParameter pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
UInt32 shader

Specifies the shader object to be queried.

ShaderParameter pname

Specifies the object parameter. Accepted symbolic names are ShaderType, DeleteStatus, CompileStatus, InfoLogLength, ShaderSourceLength.

Int32* params

GetShader(UInt32, ShaderParameter, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
[CLSCompliant(false)]
public static void GetShader(uint shader, ShaderParameter pname, [Count(Computed = "pname")] out int params)
Parameters
Type Name Description
UInt32 shader

Specifies the shader object to be queried.

ShaderParameter pname

Specifies the object parameter. Accepted symbolic names are ShaderType, DeleteStatus, CompileStatus, InfoLogLength, ShaderSourceLength.

Int32 params

GetShader(UInt32, ShaderParameter, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return a parameter from a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
[CLSCompliant(false)]
public static void GetShader(uint shader, ShaderParameter pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
UInt32 shader

Specifies the shader object to be queried.

ShaderParameter pname

Specifies the object parameter. Accepted symbolic names are ShaderType, DeleteStatus, CompileStatus, InfoLogLength, ShaderSourceLength.

Int32[] params

GetShaderInfoLog(Int32)

Declaration
public static string GetShaderInfoLog(int shader)
Parameters
Type Name Description
Int32 shader
Returns
Type Description
String

GetShaderInfoLog(Int32, Int32, Int32*, out String)

[requires: v2.0 or ES_VERSION_2_0] Return the information log for a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
[CLSCompliant(false)]
public static void GetShaderInfoLog(int shader, int bufSize, [Count(Count = 1)] int *length, [Count(Parameter = "bufSize")] out string infoLog)
Parameters
Type Name Description
Int32 shader

Specifies the shader object whose information log is to be queried.

Int32 bufSize

Specifies the size of the character buffer for storing the returned information log.

Int32* length

[length: 1] Returns the length of the string returned in infoLog (excluding the null terminator).

String infoLog

[length: bufSize] Specifies an array of characters that is used to return the information log.

GetShaderInfoLog(Int32, Int32, out Int32, out String)

[requires: v2.0 or ES_VERSION_2_0] Return the information log for a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
[CLSCompliant(false)]
public static void GetShaderInfoLog(int shader, int bufSize, [Count(Count = 1)] out int length, [Count(Parameter = "bufSize")] out string infoLog)
Parameters
Type Name Description
Int32 shader

Specifies the shader object whose information log is to be queried.

Int32 bufSize

Specifies the size of the character buffer for storing the returned information log.

Int32 length

[length: 1] Returns the length of the string returned in infoLog (excluding the null terminator).

String infoLog

[length: bufSize] Specifies an array of characters that is used to return the information log.

GetShaderInfoLog(Int32, out String)

Declaration
public static void GetShaderInfoLog(int shader, out string info)
Parameters
Type Name Description
Int32 shader
String info

GetShaderInfoLog(UInt32, Int32, Int32*, out String)

[requires: v2.0 or ES_VERSION_2_0] Return the information log for a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
[CLSCompliant(false)]
public static void GetShaderInfoLog(uint shader, int bufSize, [Count(Count = 1)] int *length, [Count(Parameter = "bufSize")] out string infoLog)
Parameters
Type Name Description
UInt32 shader

Specifies the shader object whose information log is to be queried.

Int32 bufSize

Specifies the size of the character buffer for storing the returned information log.

Int32* length

[length: 1] Returns the length of the string returned in infoLog (excluding the null terminator).

String infoLog

[length: bufSize] Specifies an array of characters that is used to return the information log.

GetShaderInfoLog(UInt32, Int32, out Int32, out String)

[requires: v2.0 or ES_VERSION_2_0] Return the information log for a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
[CLSCompliant(false)]
public static void GetShaderInfoLog(uint shader, int bufSize, [Count(Count = 1)] out int length, [Count(Parameter = "bufSize")] out string infoLog)
Parameters
Type Name Description
UInt32 shader

Specifies the shader object whose information log is to be queried.

Int32 bufSize

Specifies the size of the character buffer for storing the returned information log.

Int32 length

[length: 1] Returns the length of the string returned in infoLog (excluding the null terminator).

String infoLog

[length: bufSize] Specifies an array of characters that is used to return the information log.

GetShaderPrecisionFormat(All, All, Int32*, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return the range and precision for different shader numeric formats

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")]
[CLSCompliant(false)]
public static void GetShaderPrecisionFormat(All shadertype, All precisiontype, [Count(Count = 2)] int *range, [Count(Count = 1)] int *precision)
Parameters
Type Name Description
All shadertype

Specifies the type of shader to query. Must be either VertexShader or FragmentShader.

All precisiontype

Specifies the numeric format to query, corresponding to a shader precision qualifier and variable type. Must be one of LowFloat, MediumFloat, HighFloat, LowInt, MediumInt, or HighInt.

Int32* range

[length: 2] Specifies a pointer to the two-element array in which the log sub 2 of the minimum and maximum representable magnitudes of the format are returned.

Int32* precision

[length: 1] Specifies a pointer to the location in which the log sub 2 of the precision of the format is returned.

GetShaderPrecisionFormat(All, All, out Int32, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return the range and precision for different shader numeric formats

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")]
[CLSCompliant(false)]
public static void GetShaderPrecisionFormat(All shadertype, All precisiontype, [Count(Count = 2)] out int range, [Count(Count = 1)] out int precision)
Parameters
Type Name Description
All shadertype

Specifies the type of shader to query. Must be either VertexShader or FragmentShader.

All precisiontype

Specifies the numeric format to query, corresponding to a shader precision qualifier and variable type. Must be one of LowFloat, MediumFloat, HighFloat, LowInt, MediumInt, or HighInt.

Int32 range

[length: 2] Specifies a pointer to the two-element array in which the log sub 2 of the minimum and maximum representable magnitudes of the format are returned.

Int32 precision

[length: 1] Specifies a pointer to the location in which the log sub 2 of the precision of the format is returned.

GetShaderPrecisionFormat(All, All, Int32[], out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return the range and precision for different shader numeric formats

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")]
[CLSCompliant(false)]
public static void GetShaderPrecisionFormat(All shadertype, All precisiontype, [Count(Count = 2)] int[] range, [Count(Count = 1)] out int precision)
Parameters
Type Name Description
All shadertype

Specifies the type of shader to query. Must be either VertexShader or FragmentShader.

All precisiontype

Specifies the numeric format to query, corresponding to a shader precision qualifier and variable type. Must be one of LowFloat, MediumFloat, HighFloat, LowInt, MediumInt, or HighInt.

Int32[] range

[length: 2] Specifies a pointer to the two-element array in which the log sub 2 of the minimum and maximum representable magnitudes of the format are returned.

Int32 precision

[length: 1] Specifies a pointer to the location in which the log sub 2 of the precision of the format is returned.

GetShaderPrecisionFormat(ShaderType, ShaderPrecision, Int32*, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return the range and precision for different shader numeric formats

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")]
[CLSCompliant(false)]
public static void GetShaderPrecisionFormat(ShaderType shadertype, ShaderPrecision precisiontype, [Count(Count = 2)] int *range, [Count(Count = 1)] int *precision)
Parameters
Type Name Description
ShaderType shadertype

Specifies the type of shader to query. Must be either VertexShader or FragmentShader.

ShaderPrecision precisiontype

Specifies the numeric format to query, corresponding to a shader precision qualifier and variable type. Must be one of LowFloat, MediumFloat, HighFloat, LowInt, MediumInt, or HighInt.

Int32* range

[length: 2] Specifies a pointer to the two-element array in which the log sub 2 of the minimum and maximum representable magnitudes of the format are returned.

Int32* precision

[length: 1] Specifies a pointer to the location in which the log sub 2 of the precision of the format is returned.

GetShaderPrecisionFormat(ShaderType, ShaderPrecision, out Int32, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return the range and precision for different shader numeric formats

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")]
[CLSCompliant(false)]
public static void GetShaderPrecisionFormat(ShaderType shadertype, ShaderPrecision precisiontype, [Count(Count = 2)] out int range, [Count(Count = 1)] out int precision)
Parameters
Type Name Description
ShaderType shadertype

Specifies the type of shader to query. Must be either VertexShader or FragmentShader.

ShaderPrecision precisiontype

Specifies the numeric format to query, corresponding to a shader precision qualifier and variable type. Must be one of LowFloat, MediumFloat, HighFloat, LowInt, MediumInt, or HighInt.

Int32 range

[length: 2] Specifies a pointer to the two-element array in which the log sub 2 of the minimum and maximum representable magnitudes of the format are returned.

Int32 precision

[length: 1] Specifies a pointer to the location in which the log sub 2 of the precision of the format is returned.

GetShaderPrecisionFormat(ShaderType, ShaderPrecision, Int32[], out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return the range and precision for different shader numeric formats

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")]
[CLSCompliant(false)]
public static void GetShaderPrecisionFormat(ShaderType shadertype, ShaderPrecision precisiontype, [Count(Count = 2)] int[] range, [Count(Count = 1)] out int precision)
Parameters
Type Name Description
ShaderType shadertype

Specifies the type of shader to query. Must be either VertexShader or FragmentShader.

ShaderPrecision precisiontype

Specifies the numeric format to query, corresponding to a shader precision qualifier and variable type. Must be one of LowFloat, MediumFloat, HighFloat, LowInt, MediumInt, or HighInt.

Int32[] range

[length: 2] Specifies a pointer to the two-element array in which the log sub 2 of the minimum and maximum representable magnitudes of the format are returned.

Int32 precision

[length: 1] Specifies a pointer to the location in which the log sub 2 of the precision of the format is returned.

GetShaderSource(Int32, Int32, Int32*, out String)

[requires: v2.0 or ES_VERSION_2_0] Return the source code string from a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")]
[CLSCompliant(false)]
public static void GetShaderSource(int shader, int bufSize, [Count(Count = 1)] int *length, [Count(Parameter = "bufSize")] out string source)
Parameters
Type Name Description
Int32 shader

Specifies the shader object to be queried.

Int32 bufSize

Specifies the size of the character buffer for storing the returned source code string.

Int32* length

[length: 1] Returns the length of the string returned in source (excluding the null terminator).

String source

[length: bufSize] Specifies an array of characters that is used to return the source code string.

GetShaderSource(Int32, Int32, out Int32, out String)

[requires: v2.0 or ES_VERSION_2_0] Return the source code string from a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")]
[CLSCompliant(false)]
public static void GetShaderSource(int shader, int bufSize, [Count(Count = 1)] out int length, [Count(Parameter = "bufSize")] out string source)
Parameters
Type Name Description
Int32 shader

Specifies the shader object to be queried.

Int32 bufSize

Specifies the size of the character buffer for storing the returned source code string.

Int32 length

[length: 1] Returns the length of the string returned in source (excluding the null terminator).

String source

[length: bufSize] Specifies an array of characters that is used to return the source code string.

GetShaderSource(UInt32, Int32, Int32*, out String)

[requires: v2.0 or ES_VERSION_2_0] Return the source code string from a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")]
[CLSCompliant(false)]
public static void GetShaderSource(uint shader, int bufSize, [Count(Count = 1)] int *length, [Count(Parameter = "bufSize")] out string source)
Parameters
Type Name Description
UInt32 shader

Specifies the shader object to be queried.

Int32 bufSize

Specifies the size of the character buffer for storing the returned source code string.

Int32* length

[length: 1] Returns the length of the string returned in source (excluding the null terminator).

String source

[length: bufSize] Specifies an array of characters that is used to return the source code string.

GetShaderSource(UInt32, Int32, out Int32, out String)

[requires: v2.0 or ES_VERSION_2_0] Return the source code string from a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")]
[CLSCompliant(false)]
public static void GetShaderSource(uint shader, int bufSize, [Count(Count = 1)] out int length, [Count(Parameter = "bufSize")] out string source)
Parameters
Type Name Description
UInt32 shader

Specifies the shader object to be queried.

Int32 bufSize

Specifies the size of the character buffer for storing the returned source code string.

Int32 length

[length: 1] Returns the length of the string returned in source (excluding the null terminator).

String source

[length: bufSize] Specifies an array of characters that is used to return the source code string.

GetString(All)

[requires: v2.0 or ES_VERSION_2_0] Return a string describing the current GL connection

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetString")]
public static string GetString(All name)
Parameters
Type Name Description
All name

Specifies a symbolic constant, one of Vendor, Renderer, Version, ShadingLanguageVersion, or Extensions.

Returns
Type Description
String

GetString(StringName)

[requires: v2.0 or ES_VERSION_2_0] Return a string describing the current GL connection

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetString")]
public static string GetString(StringName name)
Parameters
Type Name Description
StringName name

Specifies a symbolic constant, one of Vendor, Renderer, Version, ShadingLanguageVersion, or Extensions.

Returns
Type Description
String

GetTexParameter(All, All, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return texture parameter values

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
[CLSCompliant(false)]
public static void GetTexParameter(All target, All pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
All target

Specifies the symbolic name of the target texture of the active texture unit. Texture2D and TextureCubeMap are accepted.

All pname

Specifies the symbolic name of a texture parameter. TextureMagFilter, TextureMinFilter, TextureWrapS, and TextureWrapT are accepted.

Int32* params

GetTexParameter(All, All, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return texture parameter values

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
[CLSCompliant(false)]
public static void GetTexParameter(All target, All pname, [Count(Computed = "pname")] out int params)
Parameters
Type Name Description
All target

Specifies the symbolic name of the target texture of the active texture unit. Texture2D and TextureCubeMap are accepted.

All pname

Specifies the symbolic name of a texture parameter. TextureMagFilter, TextureMinFilter, TextureWrapS, and TextureWrapT are accepted.

Int32 params

GetTexParameter(All, All, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return texture parameter values

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
[CLSCompliant(false)]
public static void GetTexParameter(All target, All pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
All target

Specifies the symbolic name of the target texture of the active texture unit. Texture2D and TextureCubeMap are accepted.

All pname

Specifies the symbolic name of a texture parameter. TextureMagFilter, TextureMinFilter, TextureWrapS, and TextureWrapT are accepted.

Int32[] params

GetTexParameter(All, All, Single*)

[requires: v2.0 or ES_VERSION_2_0] Return texture parameter values

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
[CLSCompliant(false)]
public static void GetTexParameter(All target, All pname, [Count(Computed = "pname")] float *params)
Parameters
Type Name Description
All target

Specifies the symbolic name of the target texture of the active texture unit. Texture2D and TextureCubeMap are accepted.

All pname

Specifies the symbolic name of a texture parameter. TextureMagFilter, TextureMinFilter, TextureWrapS, and TextureWrapT are accepted.

Single* params

GetTexParameter(All, All, out Single)

[requires: v2.0 or ES_VERSION_2_0] Return texture parameter values

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
[CLSCompliant(false)]
public static void GetTexParameter(All target, All pname, [Count(Computed = "pname")] out float params)
Parameters
Type Name Description
All target

Specifies the symbolic name of the target texture of the active texture unit. Texture2D and TextureCubeMap are accepted.

All pname

Specifies the symbolic name of a texture parameter. TextureMagFilter, TextureMinFilter, TextureWrapS, and TextureWrapT are accepted.

Single params

GetTexParameter(All, All, Single[])

[requires: v2.0 or ES_VERSION_2_0] Return texture parameter values

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
[CLSCompliant(false)]
public static void GetTexParameter(All target, All pname, [Count(Computed = "pname")] float[] params)
Parameters
Type Name Description
All target

Specifies the symbolic name of the target texture of the active texture unit. Texture2D and TextureCubeMap are accepted.

All pname

Specifies the symbolic name of a texture parameter. TextureMagFilter, TextureMinFilter, TextureWrapS, and TextureWrapT are accepted.

Single[] params

GetTexParameter(TextureTarget, GetTextureParameter, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return texture parameter values

Declaration
[Obsolete("Use GetTextureParameterName overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
[CLSCompliant(false)]
public static void GetTexParameter(TextureTarget target, GetTextureParameter pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
TextureTarget target

Specifies the symbolic name of the target texture of the active texture unit. Texture2D and TextureCubeMap are accepted.

GetTextureParameter pname

Specifies the symbolic name of a texture parameter. TextureMagFilter, TextureMinFilter, TextureWrapS, and TextureWrapT are accepted.

Int32* params

GetTexParameter(TextureTarget, GetTextureParameter, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return texture parameter values

Declaration
[Obsolete("Use GetTextureParameterName overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
[CLSCompliant(false)]
public static void GetTexParameter(TextureTarget target, GetTextureParameter pname, [Count(Computed = "pname")] out int params)
Parameters
Type Name Description
TextureTarget target

Specifies the symbolic name of the target texture of the active texture unit. Texture2D and TextureCubeMap are accepted.

GetTextureParameter pname

Specifies the symbolic name of a texture parameter. TextureMagFilter, TextureMinFilter, TextureWrapS, and TextureWrapT are accepted.

Int32 params

GetTexParameter(TextureTarget, GetTextureParameter, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return texture parameter values

Declaration
[Obsolete("Use GetTextureParameterName overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
[CLSCompliant(false)]
public static void GetTexParameter(TextureTarget target, GetTextureParameter pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
TextureTarget target

Specifies the symbolic name of the target texture of the active texture unit. Texture2D and TextureCubeMap are accepted.

GetTextureParameter pname

Specifies the symbolic name of a texture parameter. TextureMagFilter, TextureMinFilter, TextureWrapS, and TextureWrapT are accepted.

Int32[] params

GetTexParameter(TextureTarget, GetTextureParameter, Single*)

[requires: v2.0 or ES_VERSION_2_0] Return texture parameter values

Declaration
[Obsolete("Use GetTextureParameterName overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
[CLSCompliant(false)]
public static void GetTexParameter(TextureTarget target, GetTextureParameter pname, [Count(Computed = "pname")] float *params)
Parameters
Type Name Description
TextureTarget target

Specifies the symbolic name of the target texture of the active texture unit. Texture2D and TextureCubeMap are accepted.

GetTextureParameter pname

Specifies the symbolic name of a texture parameter. TextureMagFilter, TextureMinFilter, TextureWrapS, and TextureWrapT are accepted.

Single* params

GetTexParameter(TextureTarget, GetTextureParameter, out Single)

[requires: v2.0 or ES_VERSION_2_0] Return texture parameter values

Declaration
[Obsolete("Use GetTextureParameterName overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
[CLSCompliant(false)]
public static void GetTexParameter(TextureTarget target, GetTextureParameter pname, [Count(Computed = "pname")] out float params)
Parameters
Type Name Description
TextureTarget target

Specifies the symbolic name of the target texture of the active texture unit. Texture2D and TextureCubeMap are accepted.

GetTextureParameter pname

Specifies the symbolic name of a texture parameter. TextureMagFilter, TextureMinFilter, TextureWrapS, and TextureWrapT are accepted.

Single params

GetTexParameter(TextureTarget, GetTextureParameter, Single[])

[requires: v2.0 or ES_VERSION_2_0] Return texture parameter values

Declaration
[Obsolete("Use GetTextureParameterName overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
[CLSCompliant(false)]
public static void GetTexParameter(TextureTarget target, GetTextureParameter pname, [Count(Computed = "pname")] float[] params)
Parameters
Type Name Description
TextureTarget target

Specifies the symbolic name of the target texture of the active texture unit. Texture2D and TextureCubeMap are accepted.

GetTextureParameter pname

Specifies the symbolic name of a texture parameter. TextureMagFilter, TextureMinFilter, TextureWrapS, and TextureWrapT are accepted.

Single[] params

GetTexParameter(TextureTarget, GetTextureParameterName, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return texture parameter values

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
[CLSCompliant(false)]
public static void GetTexParameter(TextureTarget target, GetTextureParameterName pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
TextureTarget target

Specifies the symbolic name of the target texture of the active texture unit. Texture2D and TextureCubeMap are accepted.

GetTextureParameterName pname

Specifies the symbolic name of a texture parameter. TextureMagFilter, TextureMinFilter, TextureWrapS, and TextureWrapT are accepted.

Int32* params

GetTexParameter(TextureTarget, GetTextureParameterName, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return texture parameter values

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
[CLSCompliant(false)]
public static void GetTexParameter(TextureTarget target, GetTextureParameterName pname, [Count(Computed = "pname")] out int params)
Parameters
Type Name Description
TextureTarget target

Specifies the symbolic name of the target texture of the active texture unit. Texture2D and TextureCubeMap are accepted.

GetTextureParameterName pname

Specifies the symbolic name of a texture parameter. TextureMagFilter, TextureMinFilter, TextureWrapS, and TextureWrapT are accepted.

Int32 params

GetTexParameter(TextureTarget, GetTextureParameterName, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return texture parameter values

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
[CLSCompliant(false)]
public static void GetTexParameter(TextureTarget target, GetTextureParameterName pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
TextureTarget target

Specifies the symbolic name of the target texture of the active texture unit. Texture2D and TextureCubeMap are accepted.

GetTextureParameterName pname

Specifies the symbolic name of a texture parameter. TextureMagFilter, TextureMinFilter, TextureWrapS, and TextureWrapT are accepted.

Int32[] params

GetTexParameter(TextureTarget, GetTextureParameterName, Single*)

[requires: v2.0 or ES_VERSION_2_0] Return texture parameter values

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
[CLSCompliant(false)]
public static void GetTexParameter(TextureTarget target, GetTextureParameterName pname, [Count(Computed = "pname")] float *params)
Parameters
Type Name Description
TextureTarget target

Specifies the symbolic name of the target texture of the active texture unit. Texture2D and TextureCubeMap are accepted.

GetTextureParameterName pname

Specifies the symbolic name of a texture parameter. TextureMagFilter, TextureMinFilter, TextureWrapS, and TextureWrapT are accepted.

Single* params

GetTexParameter(TextureTarget, GetTextureParameterName, out Single)

[requires: v2.0 or ES_VERSION_2_0] Return texture parameter values

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
[CLSCompliant(false)]
public static void GetTexParameter(TextureTarget target, GetTextureParameterName pname, [Count(Computed = "pname")] out float params)
Parameters
Type Name Description
TextureTarget target

Specifies the symbolic name of the target texture of the active texture unit. Texture2D and TextureCubeMap are accepted.

GetTextureParameterName pname

Specifies the symbolic name of a texture parameter. TextureMagFilter, TextureMinFilter, TextureWrapS, and TextureWrapT are accepted.

Single params

GetTexParameter(TextureTarget, GetTextureParameterName, Single[])

[requires: v2.0 or ES_VERSION_2_0] Return texture parameter values

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
[CLSCompliant(false)]
public static void GetTexParameter(TextureTarget target, GetTextureParameterName pname, [Count(Computed = "pname")] float[] params)
Parameters
Type Name Description
TextureTarget target

Specifies the symbolic name of the target texture of the active texture unit. Texture2D and TextureCubeMap are accepted.

GetTextureParameterName pname

Specifies the symbolic name of a texture parameter. TextureMagFilter, TextureMinFilter, TextureWrapS, and TextureWrapT are accepted.

Single[] params

GetUniform(Int32, Int32, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return the value of a uniform variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")]
[CLSCompliant(false)]
public static void GetUniform(int program, int location, [Count(Computed = "program,location")] int *params)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

Int32 location

Specifies the location of the uniform variable to be queried.

Int32* params

GetUniform(Int32, Int32, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return the value of a uniform variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")]
[CLSCompliant(false)]
public static void GetUniform(int program, int location, [Count(Computed = "program,location")] out int params)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

Int32 location

Specifies the location of the uniform variable to be queried.

Int32 params

GetUniform(Int32, Int32, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return the value of a uniform variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")]
[CLSCompliant(false)]
public static void GetUniform(int program, int location, [Count(Computed = "program,location")] int[] params)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

Int32 location

Specifies the location of the uniform variable to be queried.

Int32[] params

GetUniform(Int32, Int32, Single*)

[requires: v2.0 or ES_VERSION_2_0] Return the value of a uniform variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")]
[CLSCompliant(false)]
public static void GetUniform(int program, int location, [Count(Computed = "program,location")] float *params)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

Int32 location

Specifies the location of the uniform variable to be queried.

Single* params

GetUniform(Int32, Int32, out Single)

[requires: v2.0 or ES_VERSION_2_0] Return the value of a uniform variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")]
[CLSCompliant(false)]
public static void GetUniform(int program, int location, [Count(Computed = "program,location")] out float params)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

Int32 location

Specifies the location of the uniform variable to be queried.

Single params

GetUniform(Int32, Int32, Single[])

[requires: v2.0 or ES_VERSION_2_0] Return the value of a uniform variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")]
[CLSCompliant(false)]
public static void GetUniform(int program, int location, [Count(Computed = "program,location")] float[] params)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

Int32 location

Specifies the location of the uniform variable to be queried.

Single[] params

GetUniform(UInt32, Int32, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return the value of a uniform variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")]
[CLSCompliant(false)]
public static void GetUniform(uint program, int location, [Count(Computed = "program,location")] int *params)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

Int32 location

Specifies the location of the uniform variable to be queried.

Int32* params

GetUniform(UInt32, Int32, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return the value of a uniform variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")]
[CLSCompliant(false)]
public static void GetUniform(uint program, int location, [Count(Computed = "program,location")] out int params)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

Int32 location

Specifies the location of the uniform variable to be queried.

Int32 params

GetUniform(UInt32, Int32, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return the value of a uniform variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")]
[CLSCompliant(false)]
public static void GetUniform(uint program, int location, [Count(Computed = "program,location")] int[] params)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

Int32 location

Specifies the location of the uniform variable to be queried.

Int32[] params

GetUniform(UInt32, Int32, Single*)

[requires: v2.0 or ES_VERSION_2_0] Return the value of a uniform variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")]
[CLSCompliant(false)]
public static void GetUniform(uint program, int location, [Count(Computed = "program,location")] float *params)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

Int32 location

Specifies the location of the uniform variable to be queried.

Single* params

GetUniform(UInt32, Int32, out Single)

[requires: v2.0 or ES_VERSION_2_0] Return the value of a uniform variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")]
[CLSCompliant(false)]
public static void GetUniform(uint program, int location, [Count(Computed = "program,location")] out float params)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

Int32 location

Specifies the location of the uniform variable to be queried.

Single params

GetUniform(UInt32, Int32, Single[])

[requires: v2.0 or ES_VERSION_2_0] Return the value of a uniform variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")]
[CLSCompliant(false)]
public static void GetUniform(uint program, int location, [Count(Computed = "program,location")] float[] params)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

Int32 location

Specifies the location of the uniform variable to be queried.

Single[] params

GetUniformLocation(Int32, String)

[requires: v2.0 or ES_VERSION_2_0] Return the location of a uniform variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")]
[CLSCompliant(false)]
public static int GetUniformLocation(int program, string name)
Parameters
Type Name Description
Int32 program

Specifies the program object to be queried.

String name

Points to a null terminated string containing the name of the uniform variable whose location is to be queried.

Returns
Type Description
Int32

GetUniformLocation(UInt32, String)

[requires: v2.0 or ES_VERSION_2_0] Return the location of a uniform variable

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")]
[CLSCompliant(false)]
public static int GetUniformLocation(uint program, string name)
Parameters
Type Name Description
UInt32 program

Specifies the program object to be queried.

String name

Points to a null terminated string containing the name of the uniform variable whose location is to be queried.

Returns
Type Description
Int32

GetVertexAttrib(Int32, All, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(int index, All pname, [Count(Count = 4)] int *params)
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be queried.

All pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Int32* params

GetVertexAttrib(Int32, All, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(int index, All pname, [Count(Count = 4)] out int params)
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be queried.

All pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Int32 params

GetVertexAttrib(Int32, All, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(int index, All pname, [Count(Count = 4)] int[] params)
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be queried.

All pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Int32[] params

GetVertexAttrib(Int32, All, Single*)

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(int index, All pname, [Count(Count = 4)] float *params)
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be queried.

All pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Single* params

GetVertexAttrib(Int32, All, out Single)

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(int index, All pname, [Count(Count = 4)] out float params)
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be queried.

All pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Single params

GetVertexAttrib(Int32, All, Single[])

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(int index, All pname, [Count(Count = 4)] float[] params)
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be queried.

All pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Single[] params

GetVertexAttrib(Int32, VertexAttribParameter, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(int index, VertexAttribParameter pname, [Count(Count = 4)] int *params)
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be queried.

VertexAttribParameter pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Int32* params

GetVertexAttrib(Int32, VertexAttribParameter, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(int index, VertexAttribParameter pname, [Count(Count = 4)] out int params)
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be queried.

VertexAttribParameter pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Int32 params

GetVertexAttrib(Int32, VertexAttribParameter, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(int index, VertexAttribParameter pname, [Count(Count = 4)] int[] params)
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be queried.

VertexAttribParameter pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Int32[] params

GetVertexAttrib(Int32, VertexAttribParameter, Single*)

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(int index, VertexAttribParameter pname, [Count(Count = 4)] float *params)
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be queried.

VertexAttribParameter pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Single* params

GetVertexAttrib(Int32, VertexAttribParameter, out Single)

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(int index, VertexAttribParameter pname, [Count(Count = 4)] out float params)
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be queried.

VertexAttribParameter pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Single params

GetVertexAttrib(Int32, VertexAttribParameter, Single[])

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(int index, VertexAttribParameter pname, [Count(Count = 4)] float[] params)
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be queried.

VertexAttribParameter pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Single[] params

GetVertexAttrib(UInt32, All, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(uint index, All pname, [Count(Count = 4)] int *params)
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be queried.

All pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Int32* params

GetVertexAttrib(UInt32, All, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(uint index, All pname, [Count(Count = 4)] out int params)
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be queried.

All pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Int32 params

GetVertexAttrib(UInt32, All, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(uint index, All pname, [Count(Count = 4)] int[] params)
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be queried.

All pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Int32[] params

GetVertexAttrib(UInt32, All, Single*)

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(uint index, All pname, [Count(Count = 4)] float *params)
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be queried.

All pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Single* params

GetVertexAttrib(UInt32, All, out Single)

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(uint index, All pname, [Count(Count = 4)] out float params)
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be queried.

All pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Single params

GetVertexAttrib(UInt32, All, Single[])

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(uint index, All pname, [Count(Count = 4)] float[] params)
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be queried.

All pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Single[] params

GetVertexAttrib(UInt32, VertexAttribParameter, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(uint index, VertexAttribParameter pname, [Count(Count = 4)] int *params)
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be queried.

VertexAttribParameter pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Int32* params

GetVertexAttrib(UInt32, VertexAttribParameter, out Int32)

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(uint index, VertexAttribParameter pname, [Count(Count = 4)] out int params)
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be queried.

VertexAttribParameter pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Int32 params

GetVertexAttrib(UInt32, VertexAttribParameter, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(uint index, VertexAttribParameter pname, [Count(Count = 4)] int[] params)
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be queried.

VertexAttribParameter pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Int32[] params

GetVertexAttrib(UInt32, VertexAttribParameter, Single*)

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(uint index, VertexAttribParameter pname, [Count(Count = 4)] float *params)
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be queried.

VertexAttribParameter pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Single* params

GetVertexAttrib(UInt32, VertexAttribParameter, out Single)

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(uint index, VertexAttribParameter pname, [Count(Count = 4)] out float params)
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be queried.

VertexAttribParameter pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Single params

GetVertexAttrib(UInt32, VertexAttribParameter, Single[])

[requires: v2.0 or ES_VERSION_2_0] Return a generic vertex attribute parameter

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
[CLSCompliant(false)]
public static void GetVertexAttrib(uint index, VertexAttribParameter pname, [Count(Count = 4)] float[] params)
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be queried.

VertexAttribParameter pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VertexAttribArrayBufferBinding, VertexAttribArrayEnabled, VertexAttribArraySize, VertexAttribArrayStride, VertexAttribArrayType, VertexAttribArrayNormalized, or CurrentVertexAttrib.

Single[] params

GetVertexAttribPointer(Int32, All, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Return the address of the specified generic vertex attribute pointer

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
[CLSCompliant(false)]
public static void GetVertexAttribPointer(int index, All pname, [Count(Count = 1)] IntPtr pointer)
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be returned.

All pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VertexAttribArrayPointer.

IntPtr pointer

[length: 1] Returns the pointer value.

GetVertexAttribPointer(Int32, VertexAttribPointerParameter, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Return the address of the specified generic vertex attribute pointer

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
[CLSCompliant(false)]
public static void GetVertexAttribPointer(int index, VertexAttribPointerParameter pname, [Count(Count = 1)] IntPtr pointer)
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be returned.

VertexAttribPointerParameter pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VertexAttribArrayPointer.

IntPtr pointer

[length: 1] Returns the pointer value.

GetVertexAttribPointer(UInt32, All, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Return the address of the specified generic vertex attribute pointer

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
[CLSCompliant(false)]
public static void GetVertexAttribPointer(uint index, All pname, [Count(Count = 1)] IntPtr pointer)
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be returned.

All pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VertexAttribArrayPointer.

IntPtr pointer

[length: 1] Returns the pointer value.

GetVertexAttribPointer(UInt32, VertexAttribPointerParameter, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Return the address of the specified generic vertex attribute pointer

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
[CLSCompliant(false)]
public static void GetVertexAttribPointer(uint index, VertexAttribPointerParameter pname, [Count(Count = 1)] IntPtr pointer)
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be returned.

VertexAttribPointerParameter pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VertexAttribArrayPointer.

IntPtr pointer

[length: 1] Returns the pointer value.

GetVertexAttribPointer<T2>(Int32, All, ref T2)

[requires: v2.0 or ES_VERSION_2_0] Return the address of the specified generic vertex attribute pointer

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
[CLSCompliant(false)]
public static void GetVertexAttribPointer<T2>(int index, All pname, [Count(Count = 1)] ref T2 pointer)
    where T2 : struct
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be returned.

All pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VertexAttribArrayPointer.

T2 pointer

[length: 1] Returns the pointer value.

Type Parameters
Name Description
T2

GetVertexAttribPointer<T2>(Int32, All, T2[])

[requires: v2.0 or ES_VERSION_2_0] Return the address of the specified generic vertex attribute pointer

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
[CLSCompliant(false)]
public static void GetVertexAttribPointer<T2>(int index, All pname, [Count(Count = 1)] T2[] pointer)
    where T2 : struct
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be returned.

All pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VertexAttribArrayPointer.

T2[] pointer

[length: 1] Returns the pointer value.

Type Parameters
Name Description
T2

GetVertexAttribPointer<T2>(Int32, All, T2[,,])

[requires: v2.0 or ES_VERSION_2_0] Return the address of the specified generic vertex attribute pointer

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
[CLSCompliant(false)]
public static void GetVertexAttribPointer<T2>(int index, All pname, [Count(Count = 1)] T2[,, ] pointer)
    where T2 : struct
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be returned.

All pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VertexAttribArrayPointer.

T2[,,] pointer

[length: 1] Returns the pointer value.

Type Parameters
Name Description
T2

GetVertexAttribPointer<T2>(Int32, All, T2[,])

[requires: v2.0 or ES_VERSION_2_0] Return the address of the specified generic vertex attribute pointer

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
[CLSCompliant(false)]
public static void GetVertexAttribPointer<T2>(int index, All pname, [Count(Count = 1)] T2[, ] pointer)
    where T2 : struct
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be returned.

All pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VertexAttribArrayPointer.

T2[,] pointer

[length: 1] Returns the pointer value.

Type Parameters
Name Description
T2

GetVertexAttribPointer<T2>(Int32, VertexAttribPointerParameter, ref T2)

[requires: v2.0 or ES_VERSION_2_0] Return the address of the specified generic vertex attribute pointer

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
[CLSCompliant(false)]
public static void GetVertexAttribPointer<T2>(int index, VertexAttribPointerParameter pname, [Count(Count = 1)] ref T2 pointer)
    where T2 : struct
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be returned.

VertexAttribPointerParameter pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VertexAttribArrayPointer.

T2 pointer

[length: 1] Returns the pointer value.

Type Parameters
Name Description
T2

GetVertexAttribPointer<T2>(Int32, VertexAttribPointerParameter, T2[])

[requires: v2.0 or ES_VERSION_2_0] Return the address of the specified generic vertex attribute pointer

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
[CLSCompliant(false)]
public static void GetVertexAttribPointer<T2>(int index, VertexAttribPointerParameter pname, [Count(Count = 1)] T2[] pointer)
    where T2 : struct
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be returned.

VertexAttribPointerParameter pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VertexAttribArrayPointer.

T2[] pointer

[length: 1] Returns the pointer value.

Type Parameters
Name Description
T2

GetVertexAttribPointer<T2>(Int32, VertexAttribPointerParameter, T2[,,])

[requires: v2.0 or ES_VERSION_2_0] Return the address of the specified generic vertex attribute pointer

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
[CLSCompliant(false)]
public static void GetVertexAttribPointer<T2>(int index, VertexAttribPointerParameter pname, [Count(Count = 1)] T2[,, ] pointer)
    where T2 : struct
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be returned.

VertexAttribPointerParameter pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VertexAttribArrayPointer.

T2[,,] pointer

[length: 1] Returns the pointer value.

Type Parameters
Name Description
T2

GetVertexAttribPointer<T2>(Int32, VertexAttribPointerParameter, T2[,])

[requires: v2.0 or ES_VERSION_2_0] Return the address of the specified generic vertex attribute pointer

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
[CLSCompliant(false)]
public static void GetVertexAttribPointer<T2>(int index, VertexAttribPointerParameter pname, [Count(Count = 1)] T2[, ] pointer)
    where T2 : struct
Parameters
Type Name Description
Int32 index

Specifies the generic vertex attribute parameter to be returned.

VertexAttribPointerParameter pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VertexAttribArrayPointer.

T2[,] pointer

[length: 1] Returns the pointer value.

Type Parameters
Name Description
T2

GetVertexAttribPointer<T2>(UInt32, All, ref T2)

[requires: v2.0 or ES_VERSION_2_0] Return the address of the specified generic vertex attribute pointer

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
[CLSCompliant(false)]
public static void GetVertexAttribPointer<T2>(uint index, All pname, [Count(Count = 1)] ref T2 pointer)
    where T2 : struct
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be returned.

All pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VertexAttribArrayPointer.

T2 pointer

[length: 1] Returns the pointer value.

Type Parameters
Name Description
T2

GetVertexAttribPointer<T2>(UInt32, All, T2[])

[requires: v2.0 or ES_VERSION_2_0] Return the address of the specified generic vertex attribute pointer

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
[CLSCompliant(false)]
public static void GetVertexAttribPointer<T2>(uint index, All pname, [Count(Count = 1)] T2[] pointer)
    where T2 : struct
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be returned.

All pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VertexAttribArrayPointer.

T2[] pointer

[length: 1] Returns the pointer value.

Type Parameters
Name Description
T2

GetVertexAttribPointer<T2>(UInt32, All, T2[,,])

[requires: v2.0 or ES_VERSION_2_0] Return the address of the specified generic vertex attribute pointer

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
[CLSCompliant(false)]
public static void GetVertexAttribPointer<T2>(uint index, All pname, [Count(Count = 1)] T2[,, ] pointer)
    where T2 : struct
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be returned.

All pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VertexAttribArrayPointer.

T2[,,] pointer

[length: 1] Returns the pointer value.

Type Parameters
Name Description
T2

GetVertexAttribPointer<T2>(UInt32, All, T2[,])

[requires: v2.0 or ES_VERSION_2_0] Return the address of the specified generic vertex attribute pointer

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
[CLSCompliant(false)]
public static void GetVertexAttribPointer<T2>(uint index, All pname, [Count(Count = 1)] T2[, ] pointer)
    where T2 : struct
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be returned.

All pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VertexAttribArrayPointer.

T2[,] pointer

[length: 1] Returns the pointer value.

Type Parameters
Name Description
T2

GetVertexAttribPointer<T2>(UInt32, VertexAttribPointerParameter, ref T2)

[requires: v2.0 or ES_VERSION_2_0] Return the address of the specified generic vertex attribute pointer

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
[CLSCompliant(false)]
public static void GetVertexAttribPointer<T2>(uint index, VertexAttribPointerParameter pname, [Count(Count = 1)] ref T2 pointer)
    where T2 : struct
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be returned.

VertexAttribPointerParameter pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VertexAttribArrayPointer.

T2 pointer

[length: 1] Returns the pointer value.

Type Parameters
Name Description
T2

GetVertexAttribPointer<T2>(UInt32, VertexAttribPointerParameter, T2[])

[requires: v2.0 or ES_VERSION_2_0] Return the address of the specified generic vertex attribute pointer

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
[CLSCompliant(false)]
public static void GetVertexAttribPointer<T2>(uint index, VertexAttribPointerParameter pname, [Count(Count = 1)] T2[] pointer)
    where T2 : struct
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be returned.

VertexAttribPointerParameter pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VertexAttribArrayPointer.

T2[] pointer

[length: 1] Returns the pointer value.

Type Parameters
Name Description
T2

GetVertexAttribPointer<T2>(UInt32, VertexAttribPointerParameter, T2[,,])

[requires: v2.0 or ES_VERSION_2_0] Return the address of the specified generic vertex attribute pointer

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
[CLSCompliant(false)]
public static void GetVertexAttribPointer<T2>(uint index, VertexAttribPointerParameter pname, [Count(Count = 1)] T2[,, ] pointer)
    where T2 : struct
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be returned.

VertexAttribPointerParameter pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VertexAttribArrayPointer.

T2[,,] pointer

[length: 1] Returns the pointer value.

Type Parameters
Name Description
T2

GetVertexAttribPointer<T2>(UInt32, VertexAttribPointerParameter, T2[,])

[requires: v2.0 or ES_VERSION_2_0] Return the address of the specified generic vertex attribute pointer

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
[CLSCompliant(false)]
public static void GetVertexAttribPointer<T2>(uint index, VertexAttribPointerParameter pname, [Count(Count = 1)] T2[, ] pointer)
    where T2 : struct
Parameters
Type Name Description
UInt32 index

Specifies the generic vertex attribute parameter to be returned.

VertexAttribPointerParameter pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VertexAttribArrayPointer.

T2[,] pointer

[length: 1] Returns the pointer value.

Type Parameters
Name Description
T2

Hint(All, All)

[requires: v2.0 or ES_VERSION_2_0] Specify implementation-specific hints

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glHint")]
public static void Hint(All target, All mode)
Parameters
Type Name Description
All target

Specifies a symbolic constant indicating the behavior to be controlled. GenerateMipmapHint is accepted.

All mode

Specifies a symbolic constant indicating the desired behavior. Fastest, Nicest, and DontCare are accepted.

Hint(HintTarget, HintMode)

[requires: v2.0 or ES_VERSION_2_0] Specify implementation-specific hints

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glHint")]
public static void Hint(HintTarget target, HintMode mode)
Parameters
Type Name Description
HintTarget target

Specifies a symbolic constant indicating the behavior to be controlled. GenerateMipmapHint is accepted.

HintMode mode

Specifies a symbolic constant indicating the desired behavior. Fastest, Nicest, and DontCare are accepted.

IsBuffer(Int32)

[requires: v2.0 or ES_VERSION_2_0] Determine if a name corresponds to a buffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsBuffer")]
[CLSCompliant(false)]
public static bool IsBuffer(int buffer)
Parameters
Type Name Description
Int32 buffer

Specifies a value that may be the name of a buffer object.

Returns
Type Description
Boolean

IsBuffer(UInt32)

[requires: v2.0 or ES_VERSION_2_0] Determine if a name corresponds to a buffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsBuffer")]
[CLSCompliant(false)]
public static bool IsBuffer(uint buffer)
Parameters
Type Name Description
UInt32 buffer

Specifies a value that may be the name of a buffer object.

Returns
Type Description
Boolean

IsEnabled(All)

[requires: v2.0 or ES_VERSION_2_0] Test whether a capability is enabled

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsEnabled")]
public static bool IsEnabled(All cap)
Parameters
Type Name Description
All cap

Specifies a symbolic constant indicating a GL capability.

Returns
Type Description
Boolean

IsEnabled(EnableCap)

[requires: v2.0 or ES_VERSION_2_0] Test whether a capability is enabled

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsEnabled")]
public static bool IsEnabled(EnableCap cap)
Parameters
Type Name Description
EnableCap cap

Specifies a symbolic constant indicating a GL capability.

Returns
Type Description
Boolean

IsFramebuffer(Int32)

[requires: v2.0 or ES_VERSION_2_0] Determine if a name corresponds to a framebuffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsFramebuffer")]
[CLSCompliant(false)]
public static bool IsFramebuffer(int framebuffer)
Parameters
Type Name Description
Int32 framebuffer

Specifies a value that may be the name of a framebuffer object.

Returns
Type Description
Boolean

IsFramebuffer(UInt32)

[requires: v2.0 or ES_VERSION_2_0] Determine if a name corresponds to a framebuffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsFramebuffer")]
[CLSCompliant(false)]
public static bool IsFramebuffer(uint framebuffer)
Parameters
Type Name Description
UInt32 framebuffer

Specifies a value that may be the name of a framebuffer object.

Returns
Type Description
Boolean

IsProgram(Int32)

[requires: v2.0 or ES_VERSION_2_0] Determine if a name corresponds to a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")]
[CLSCompliant(false)]
public static bool IsProgram(int program)
Parameters
Type Name Description
Int32 program

Specifies a potential program object.

Returns
Type Description
Boolean

IsProgram(UInt32)

[requires: v2.0 or ES_VERSION_2_0] Determine if a name corresponds to a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")]
[CLSCompliant(false)]
public static bool IsProgram(uint program)
Parameters
Type Name Description
UInt32 program

Specifies a potential program object.

Returns
Type Description
Boolean

IsRenderbuffer(Int32)

[requires: v2.0 or ES_VERSION_2_0] Determine if a name corresponds to a renderbuffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsRenderbuffer")]
[CLSCompliant(false)]
public static bool IsRenderbuffer(int renderbuffer)
Parameters
Type Name Description
Int32 renderbuffer

Specifies a value that may be the name of a renderbuffer object.

Returns
Type Description
Boolean

IsRenderbuffer(UInt32)

[requires: v2.0 or ES_VERSION_2_0] Determine if a name corresponds to a renderbuffer object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsRenderbuffer")]
[CLSCompliant(false)]
public static bool IsRenderbuffer(uint renderbuffer)
Parameters
Type Name Description
UInt32 renderbuffer

Specifies a value that may be the name of a renderbuffer object.

Returns
Type Description
Boolean

IsShader(Int32)

[requires: v2.0 or ES_VERSION_2_0] Determine if a name corresponds to a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")]
[CLSCompliant(false)]
public static bool IsShader(int shader)
Parameters
Type Name Description
Int32 shader

Specifies a potential shader object.

Returns
Type Description
Boolean

IsShader(UInt32)

[requires: v2.0 or ES_VERSION_2_0] Determine if a name corresponds to a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")]
[CLSCompliant(false)]
public static bool IsShader(uint shader)
Parameters
Type Name Description
UInt32 shader

Specifies a potential shader object.

Returns
Type Description
Boolean

IsTexture(Int32)

[requires: v2.0 or ES_VERSION_2_0] Determine if a name corresponds to a texture

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsTexture")]
[CLSCompliant(false)]
public static bool IsTexture(int texture)
Parameters
Type Name Description
Int32 texture

Specifies a value that may be the name of a texture.

Returns
Type Description
Boolean

IsTexture(UInt32)

[requires: v2.0 or ES_VERSION_2_0] Determine if a name corresponds to a texture

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsTexture")]
[CLSCompliant(false)]
public static bool IsTexture(uint texture)
Parameters
Type Name Description
UInt32 texture

Specifies a value that may be the name of a texture.

Returns
Type Description
Boolean

LineWidth(Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the width of rasterized lines

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glLineWidth")]
public static void LineWidth(float width)
Parameters
Type Name Description
Single width

Specifies the width of rasterized lines. The initial value is 1.

LinkProgram(Int32)

[requires: v2.0 or ES_VERSION_2_0] Link a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")]
[CLSCompliant(false)]
public static void LinkProgram(int program)
Parameters
Type Name Description
Int32 program

Specifies the handle of the program object to be linked.

LinkProgram(UInt32)

[requires: v2.0 or ES_VERSION_2_0] Link a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")]
[CLSCompliant(false)]
public static void LinkProgram(uint program)
Parameters
Type Name Description
UInt32 program

Specifies the handle of the program object to be linked.

ObjectLabel(All, Int32, Int32, String)

Label a named object identified within a namespace

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")]
[CLSCompliant(false)]
public static void ObjectLabel(All identifier, int name, int length, [Count(Computed = "label,length")] string label)
Parameters
Type Name Description
All identifier

The namespace from which the name of the object is allocated.

Int32 name

The name of the object to label.

Int32 length

The length of the label to be used for the object.

String label

[length: COMPSIZE(label,length)] The address of a string containing the label to assign to the object.

ObjectLabel(All, UInt32, Int32, String)

Label a named object identified within a namespace

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")]
[CLSCompliant(false)]
public static void ObjectLabel(All identifier, uint name, int length, [Count(Computed = "label,length")] string label)
Parameters
Type Name Description
All identifier

The namespace from which the name of the object is allocated.

UInt32 name

The name of the object to label.

Int32 length

The length of the label to be used for the object.

String label

[length: COMPSIZE(label,length)] The address of a string containing the label to assign to the object.

ObjectLabel(ObjectLabelIdentifier, Int32, Int32, String)

Label a named object identified within a namespace

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")]
[CLSCompliant(false)]
public static void ObjectLabel(ObjectLabelIdentifier identifier, int name, int length, [Count(Computed = "label,length")] string label)
Parameters
Type Name Description
ObjectLabelIdentifier identifier

The namespace from which the name of the object is allocated.

Int32 name

The name of the object to label.

Int32 length

The length of the label to be used for the object.

String label

[length: COMPSIZE(label,length)] The address of a string containing the label to assign to the object.

ObjectLabel(ObjectLabelIdentifier, UInt32, Int32, String)

Label a named object identified within a namespace

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")]
[CLSCompliant(false)]
public static void ObjectLabel(ObjectLabelIdentifier identifier, uint name, int length, [Count(Computed = "label,length")] string label)
Parameters
Type Name Description
ObjectLabelIdentifier identifier

The namespace from which the name of the object is allocated.

UInt32 name

The name of the object to label.

Int32 length

The length of the label to be used for the object.

String label

[length: COMPSIZE(label,length)] The address of a string containing the label to assign to the object.

ObjectPtrLabel(IntPtr, Int32, String)

Label a a sync object identified by a pointer

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")]
public static void ObjectPtrLabel(IntPtr ptr, int length, [Count(Computed = "label,length")] string label)
Parameters
Type Name Description
IntPtr ptr

A pointer identifying a sync object.

Int32 length

The length of the label to be used for the object.

String label

[length: COMPSIZE(label,length)] The address of a string containing the label to assign to the object.

ObjectPtrLabel<T0>(ref T0, Int32, String)

Label a a sync object identified by a pointer

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")]
public static void ObjectPtrLabel<T0>(ref T0 ptr, int length, [Count(Computed = "label,length")] string label)
    where T0 : struct
Parameters
Type Name Description
T0 ptr

A pointer identifying a sync object.

Int32 length

The length of the label to be used for the object.

String label

[length: COMPSIZE(label,length)] The address of a string containing the label to assign to the object.

Type Parameters
Name Description
T0

ObjectPtrLabel<T0>(T0[], Int32, String)

Label a a sync object identified by a pointer

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")]
[CLSCompliant(false)]
public static void ObjectPtrLabel<T0>(T0[] ptr, int length, [Count(Computed = "label,length")] string label)
    where T0 : struct
Parameters
Type Name Description
T0[] ptr

A pointer identifying a sync object.

Int32 length

The length of the label to be used for the object.

String label

[length: COMPSIZE(label,length)] The address of a string containing the label to assign to the object.

Type Parameters
Name Description
T0

ObjectPtrLabel<T0>(T0[,,], Int32, String)

Label a a sync object identified by a pointer

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")]
[CLSCompliant(false)]
public static void ObjectPtrLabel<T0>(T0[,, ] ptr, int length, [Count(Computed = "label,length")] string label)
    where T0 : struct
Parameters
Type Name Description
T0[,,] ptr

A pointer identifying a sync object.

Int32 length

The length of the label to be used for the object.

String label

[length: COMPSIZE(label,length)] The address of a string containing the label to assign to the object.

Type Parameters
Name Description
T0

ObjectPtrLabel<T0>(T0[,], Int32, String)

Label a a sync object identified by a pointer

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")]
[CLSCompliant(false)]
public static void ObjectPtrLabel<T0>(T0[, ] ptr, int length, [Count(Computed = "label,length")] string label)
    where T0 : struct
Parameters
Type Name Description
T0[,] ptr

A pointer identifying a sync object.

Int32 length

The length of the label to be used for the object.

String label

[length: COMPSIZE(label,length)] The address of a string containing the label to assign to the object.

Type Parameters
Name Description
T0

PixelStore(All, Int32)

[requires: v2.0 or ES_VERSION_2_0] Set pixel storage modes

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glPixelStorei")]
public static void PixelStore(All pname, int param)
Parameters
Type Name Description
All pname

Specifies the symbolic name of the parameter to be set. One value affects the packing of pixel data into memory: PackAlignment. The other affects the unpacking of pixel data from memory: UnpackAlignment.

Int32 param

Specifies the value that pname is set to.

PixelStore(PixelStoreParameter, Int32)

[requires: v2.0 or ES_VERSION_2_0] Set pixel storage modes

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glPixelStorei")]
public static void PixelStore(PixelStoreParameter pname, int param)
Parameters
Type Name Description
PixelStoreParameter pname

Specifies the symbolic name of the parameter to be set. One value affects the packing of pixel data into memory: PackAlignment. The other affects the unpacking of pixel data from memory: UnpackAlignment.

Int32 param

Specifies the value that pname is set to.

PolygonOffset(Single, Single)

[requires: v2.0 or ES_VERSION_2_0] Set the scale and units used to calculate depth values

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glPolygonOffset")]
public static void PolygonOffset(float factor, float units)
Parameters
Type Name Description
Single factor

Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0.

Single units

Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0.

PopDebugGroup()

Pop the active debug group

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPopDebugGroup")]
public static void PopDebugGroup()

PushDebugGroup(All, Int32, Int32, String)

Push a named debug group into the command stream

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroup")]
[CLSCompliant(false)]
public static void PushDebugGroup(All source, int id, int length, [Count(Computed = "message,length")] string message)
Parameters
Type Name Description
All source

The source of the debug message.

Int32 id

The identifier of the message.

Int32 length

The length of the message to be sent to the debug output stream.

String message

[length: COMPSIZE(message,length)] The a string containing the message to be sent to the debug output stream.

PushDebugGroup(All, UInt32, Int32, String)

Push a named debug group into the command stream

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroup")]
[CLSCompliant(false)]
public static void PushDebugGroup(All source, uint id, int length, [Count(Computed = "message,length")] string message)
Parameters
Type Name Description
All source

The source of the debug message.

UInt32 id

The identifier of the message.

Int32 length

The length of the message to be sent to the debug output stream.

String message

[length: COMPSIZE(message,length)] The a string containing the message to be sent to the debug output stream.

PushDebugGroup(DebugSource, Int32, Int32, String)

Push a named debug group into the command stream

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroup")]
[CLSCompliant(false)]
public static void PushDebugGroup(DebugSource source, int id, int length, [Count(Computed = "message,length")] string message)
Parameters
Type Name Description
DebugSource source

The source of the debug message.

Int32 id

The identifier of the message.

Int32 length

The length of the message to be sent to the debug output stream.

String message

[length: COMPSIZE(message,length)] The a string containing the message to be sent to the debug output stream.

PushDebugGroup(DebugSource, UInt32, Int32, String)

Push a named debug group into the command stream

Declaration
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroup")]
[CLSCompliant(false)]
public static void PushDebugGroup(DebugSource source, uint id, int length, [Count(Computed = "message,length")] string message)
Parameters
Type Name Description
DebugSource source

The source of the debug message.

UInt32 id

The identifier of the message.

Int32 length

The length of the message to be sent to the debug output stream.

String message

[length: COMPSIZE(message,length)] The a string containing the message to be sent to the debug output stream.

ReadnPixels(Int32, Int32, Int32, Int32, All, All, Int32, IntPtr)

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glReadnPixels")]
public static void ReadnPixels(int x, int y, int width, int height, All format, All type, int bufSize, IntPtr data)
Parameters
Type Name Description
Int32 x
Int32 y
Int32 width
Int32 height
All format
All type
Int32 bufSize
IntPtr data

ReadnPixels(Int32, Int32, Int32, Int32, PixelFormat, PixelType, Int32, IntPtr)

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glReadnPixels")]
public static void ReadnPixels(int x, int y, int width, int height, PixelFormat format, PixelType type, int bufSize, IntPtr data)
Parameters
Type Name Description
Int32 x
Int32 y
Int32 width
Int32 height
PixelFormat format
PixelType type
Int32 bufSize
IntPtr data

ReadnPixels<T7>(Int32, Int32, Int32, Int32, All, All, Int32, ref T7)

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glReadnPixels")]
public static void ReadnPixels<T7>(int x, int y, int width, int height, All format, All type, int bufSize, ref T7 data)
    where T7 : struct
Parameters
Type Name Description
Int32 x
Int32 y
Int32 width
Int32 height
All format
All type
Int32 bufSize
T7 data
Type Parameters
Name Description
T7

ReadnPixels<T7>(Int32, Int32, Int32, Int32, All, All, Int32, T7[])

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glReadnPixels")]
[CLSCompliant(false)]
public static void ReadnPixels<T7>(int x, int y, int width, int height, All format, All type, int bufSize, T7[] data)
    where T7 : struct
Parameters
Type Name Description
Int32 x
Int32 y
Int32 width
Int32 height
All format
All type
Int32 bufSize
T7[] data
Type Parameters
Name Description
T7

ReadnPixels<T7>(Int32, Int32, Int32, Int32, All, All, Int32, T7[,,])

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glReadnPixels")]
[CLSCompliant(false)]
public static void ReadnPixels<T7>(int x, int y, int width, int height, All format, All type, int bufSize, T7[,, ] data)
    where T7 : struct
Parameters
Type Name Description
Int32 x
Int32 y
Int32 width
Int32 height
All format
All type
Int32 bufSize
T7[,,] data
Type Parameters
Name Description
T7

ReadnPixels<T7>(Int32, Int32, Int32, Int32, All, All, Int32, T7[,])

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glReadnPixels")]
[CLSCompliant(false)]
public static void ReadnPixels<T7>(int x, int y, int width, int height, All format, All type, int bufSize, T7[, ] data)
    where T7 : struct
Parameters
Type Name Description
Int32 x
Int32 y
Int32 width
Int32 height
All format
All type
Int32 bufSize
T7[,] data
Type Parameters
Name Description
T7

ReadnPixels<T7>(Int32, Int32, Int32, Int32, PixelFormat, PixelType, Int32, ref T7)

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glReadnPixels")]
public static void ReadnPixels<T7>(int x, int y, int width, int height, PixelFormat format, PixelType type, int bufSize, ref T7 data)
    where T7 : struct
Parameters
Type Name Description
Int32 x
Int32 y
Int32 width
Int32 height
PixelFormat format
PixelType type
Int32 bufSize
T7 data
Type Parameters
Name Description
T7

ReadnPixels<T7>(Int32, Int32, Int32, Int32, PixelFormat, PixelType, Int32, T7[])

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glReadnPixels")]
[CLSCompliant(false)]
public static void ReadnPixels<T7>(int x, int y, int width, int height, PixelFormat format, PixelType type, int bufSize, T7[] data)
    where T7 : struct
Parameters
Type Name Description
Int32 x
Int32 y
Int32 width
Int32 height
PixelFormat format
PixelType type
Int32 bufSize
T7[] data
Type Parameters
Name Description
T7

ReadnPixels<T7>(Int32, Int32, Int32, Int32, PixelFormat, PixelType, Int32, T7[,,])

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glReadnPixels")]
[CLSCompliant(false)]
public static void ReadnPixels<T7>(int x, int y, int width, int height, PixelFormat format, PixelType type, int bufSize, T7[,, ] data)
    where T7 : struct
Parameters
Type Name Description
Int32 x
Int32 y
Int32 width
Int32 height
PixelFormat format
PixelType type
Int32 bufSize
T7[,,] data
Type Parameters
Name Description
T7

ReadnPixels<T7>(Int32, Int32, Int32, Int32, PixelFormat, PixelType, Int32, T7[,])

Declaration
[AutoGenerated(Category = "KHR_robustness", Version = "", EntryPoint = "glReadnPixels")]
[CLSCompliant(false)]
public static void ReadnPixels<T7>(int x, int y, int width, int height, PixelFormat format, PixelType type, int bufSize, T7[, ] data)
    where T7 : struct
Parameters
Type Name Description
Int32 x
Int32 y
Int32 width
Int32 height
PixelFormat format
PixelType type
Int32 bufSize
T7[,] data
Type Parameters
Name Description
T7

ReadPixels(Int32, Int32, Int32, Int32, All, All, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Read a block of pixels from the frame buffer

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")]
public static void ReadPixels(int x, int y, int width, int height, All format, All type, [Count(Computed = "format,type,width,height")] IntPtr pixels)
Parameters
Type Name Description
Int32 x

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.

Int32 y

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.

Int32 width

Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.

Int32 height

Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.

All format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, and Rgba.

All type

Specifies the data type of the pixel data. Must be one of UnsignedByte, UnsignedShort565, UnsignedShort4444, or UnsignedShort5551.

IntPtr pixels

[length: COMPSIZE(format,type,width,height)] Returns the pixel data.

ReadPixels(Int32, Int32, Int32, Int32, PixelFormat, PixelType, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Read a block of pixels from the frame buffer

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")]
public static void ReadPixels(int x, int y, int width, int height, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] IntPtr pixels)
Parameters
Type Name Description
Int32 x

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.

Int32 y

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.

Int32 width

Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.

Int32 height

Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.

PixelFormat format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, and Rgba.

PixelType type

Specifies the data type of the pixel data. Must be one of UnsignedByte, UnsignedShort565, UnsignedShort4444, or UnsignedShort5551.

IntPtr pixels

[length: COMPSIZE(format,type,width,height)] Returns the pixel data.

ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, ref T6)

[requires: v2.0 or ES_VERSION_2_0] Read a block of pixels from the frame buffer

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")]
public static void ReadPixels<T6>(int x, int y, int width, int height, All format, All type, [Count(Computed = "format,type,width,height")] ref T6 pixels)
    where T6 : struct
Parameters
Type Name Description
Int32 x

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.

Int32 y

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.

Int32 width

Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.

Int32 height

Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.

All format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, and Rgba.

All type

Specifies the data type of the pixel data. Must be one of UnsignedByte, UnsignedShort565, UnsignedShort4444, or UnsignedShort5551.

T6 pixels

[length: COMPSIZE(format,type,width,height)] Returns the pixel data.

Type Parameters
Name Description
T6

ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, T6[])

[requires: v2.0 or ES_VERSION_2_0] Read a block of pixels from the frame buffer

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")]
[CLSCompliant(false)]
public static void ReadPixels<T6>(int x, int y, int width, int height, All format, All type, [Count(Computed = "format,type,width,height")] T6[] pixels)
    where T6 : struct
Parameters
Type Name Description
Int32 x

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.

Int32 y

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.

Int32 width

Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.

Int32 height

Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.

All format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, and Rgba.

All type

Specifies the data type of the pixel data. Must be one of UnsignedByte, UnsignedShort565, UnsignedShort4444, or UnsignedShort5551.

T6[] pixels

[length: COMPSIZE(format,type,width,height)] Returns the pixel data.

Type Parameters
Name Description
T6

ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, T6[,,])

[requires: v2.0 or ES_VERSION_2_0] Read a block of pixels from the frame buffer

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")]
[CLSCompliant(false)]
public static void ReadPixels<T6>(int x, int y, int width, int height, All format, All type, [Count(Computed = "format,type,width,height")] T6[,, ] pixels)
    where T6 : struct
Parameters
Type Name Description
Int32 x

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.

Int32 y

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.

Int32 width

Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.

Int32 height

Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.

All format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, and Rgba.

All type

Specifies the data type of the pixel data. Must be one of UnsignedByte, UnsignedShort565, UnsignedShort4444, or UnsignedShort5551.

T6[,,] pixels

[length: COMPSIZE(format,type,width,height)] Returns the pixel data.

Type Parameters
Name Description
T6

ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, T6[,])

[requires: v2.0 or ES_VERSION_2_0] Read a block of pixels from the frame buffer

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")]
[CLSCompliant(false)]
public static void ReadPixels<T6>(int x, int y, int width, int height, All format, All type, [Count(Computed = "format,type,width,height")] T6[, ] pixels)
    where T6 : struct
Parameters
Type Name Description
Int32 x

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.

Int32 y

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.

Int32 width

Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.

Int32 height

Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.

All format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, and Rgba.

All type

Specifies the data type of the pixel data. Must be one of UnsignedByte, UnsignedShort565, UnsignedShort4444, or UnsignedShort5551.

T6[,] pixels

[length: COMPSIZE(format,type,width,height)] Returns the pixel data.

Type Parameters
Name Description
T6

ReadPixels<T6>(Int32, Int32, Int32, Int32, PixelFormat, PixelType, ref T6)

[requires: v2.0 or ES_VERSION_2_0] Read a block of pixels from the frame buffer

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")]
public static void ReadPixels<T6>(int x, int y, int width, int height, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] ref T6 pixels)
    where T6 : struct
Parameters
Type Name Description
Int32 x

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.

Int32 y

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.

Int32 width

Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.

Int32 height

Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.

PixelFormat format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, and Rgba.

PixelType type

Specifies the data type of the pixel data. Must be one of UnsignedByte, UnsignedShort565, UnsignedShort4444, or UnsignedShort5551.

T6 pixels

[length: COMPSIZE(format,type,width,height)] Returns the pixel data.

Type Parameters
Name Description
T6

ReadPixels<T6>(Int32, Int32, Int32, Int32, PixelFormat, PixelType, T6[])

[requires: v2.0 or ES_VERSION_2_0] Read a block of pixels from the frame buffer

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")]
[CLSCompliant(false)]
public static void ReadPixels<T6>(int x, int y, int width, int height, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] T6[] pixels)
    where T6 : struct
Parameters
Type Name Description
Int32 x

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.

Int32 y

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.

Int32 width

Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.

Int32 height

Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.

PixelFormat format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, and Rgba.

PixelType type

Specifies the data type of the pixel data. Must be one of UnsignedByte, UnsignedShort565, UnsignedShort4444, or UnsignedShort5551.

T6[] pixels

[length: COMPSIZE(format,type,width,height)] Returns the pixel data.

Type Parameters
Name Description
T6

ReadPixels<T6>(Int32, Int32, Int32, Int32, PixelFormat, PixelType, T6[,,])

[requires: v2.0 or ES_VERSION_2_0] Read a block of pixels from the frame buffer

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")]
[CLSCompliant(false)]
public static void ReadPixels<T6>(int x, int y, int width, int height, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] T6[,, ] pixels)
    where T6 : struct
Parameters
Type Name Description
Int32 x

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.

Int32 y

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.

Int32 width

Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.

Int32 height

Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.

PixelFormat format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, and Rgba.

PixelType type

Specifies the data type of the pixel data. Must be one of UnsignedByte, UnsignedShort565, UnsignedShort4444, or UnsignedShort5551.

T6[,,] pixels

[length: COMPSIZE(format,type,width,height)] Returns the pixel data.

Type Parameters
Name Description
T6

ReadPixels<T6>(Int32, Int32, Int32, Int32, PixelFormat, PixelType, T6[,])

[requires: v2.0 or ES_VERSION_2_0] Read a block of pixels from the frame buffer

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")]
[CLSCompliant(false)]
public static void ReadPixels<T6>(int x, int y, int width, int height, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] T6[, ] pixels)
    where T6 : struct
Parameters
Type Name Description
Int32 x

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.

Int32 y

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.

Int32 width

Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.

Int32 height

Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.

PixelFormat format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, and Rgba.

PixelType type

Specifies the data type of the pixel data. Must be one of UnsignedByte, UnsignedShort565, UnsignedShort4444, or UnsignedShort5551.

T6[,] pixels

[length: COMPSIZE(format,type,width,height)] Returns the pixel data.

Type Parameters
Name Description
T6

ReleaseShaderCompiler()

[requires: v2.0 or ES_VERSION_2_0] Release resources allocated by the shader compiler

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReleaseShaderCompiler")]
public static void ReleaseShaderCompiler()

RenderbufferStorage(All, All, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a renderbuffer object's data store

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glRenderbufferStorage")]
public static void RenderbufferStorage(All target, All internalformat, int width, int height)
Parameters
Type Name Description
All target

Specifies the renderbuffer target. The symbolic constant must be Renderbuffer.

All internalformat

Specifies the color-renderable, depth-renderable, or stencil-renderable format of the renderbuffer. Must be one of the following symbolic constants: Rgba4, Rgb565, Rgb5A1, DepthComponent16, or StencilIndex8.

Int32 width

Specifies the width of the renderbuffer in pixels.

Int32 height

Specifies the height of the renderbuffer in pixels.

RenderbufferStorage(RenderbufferTarget, RenderbufferInternalFormat, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Create and initialize a renderbuffer object's data store

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glRenderbufferStorage")]
public static void RenderbufferStorage(RenderbufferTarget target, RenderbufferInternalFormat internalformat, int width, int height)
Parameters
Type Name Description
RenderbufferTarget target

Specifies the renderbuffer target. The symbolic constant must be Renderbuffer.

RenderbufferInternalFormat internalformat

Specifies the color-renderable, depth-renderable, or stencil-renderable format of the renderbuffer. Must be one of the following symbolic constants: Rgba4, Rgb565, Rgb5A1, DepthComponent16, or StencilIndex8.

Int32 width

Specifies the width of the renderbuffer in pixels.

Int32 height

Specifies the height of the renderbuffer in pixels.

SampleCoverage(Single, Boolean)

[requires: v2.0 or ES_VERSION_2_0] Specify multisample coverage parameters

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glSampleCoverage")]
public static void SampleCoverage(float value, bool invert)
Parameters
Type Name Description
Single value

Specify a single floating-point sample coverage value. The value is clamped to the range [0 ,1]. The initial value is 1.0.

Boolean invert

Specify a single boolean value representing if the coverage masks should be inverted. True and False are accepted. The initial value is False.

Scissor(Int32, Int32, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Define the scissor box

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glScissor")]
public static void Scissor(int x, int y, int width, int height)
Parameters
Type Name Description
Int32 x

Specify the lower left corner of the scissor box. Initially (0, 0).

Int32 y

Specify the lower left corner of the scissor box. Initially (0, 0).

Int32 width

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.

Int32 height

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.

ShaderBinary(Int32, Int32*, All, IntPtr, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary(int count, [Count(Parameter = "count")] int *shaders, All binaryformat, [Count(Parameter = "length")] IntPtr binary, int length)
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32* shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

IntPtr binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

ShaderBinary(Int32, Int32*, ShaderBinaryFormat, IntPtr, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary(int count, [Count(Parameter = "count")] int *shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] IntPtr binary, int length)
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32* shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

IntPtr binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

ShaderBinary(Int32, ref Int32, All, IntPtr, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary(int count, [Count(Parameter = "count")] ref int shaders, All binaryformat, [Count(Parameter = "length")] IntPtr binary, int length)
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32 shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

IntPtr binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

ShaderBinary(Int32, ref Int32, ShaderBinaryFormat, IntPtr, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary(int count, [Count(Parameter = "count")] ref int shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] IntPtr binary, int length)
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32 shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

IntPtr binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

ShaderBinary(Int32, Int32[], All, IntPtr, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary(int count, [Count(Parameter = "count")] int[] shaders, All binaryformat, [Count(Parameter = "length")] IntPtr binary, int length)
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32[] shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

IntPtr binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

ShaderBinary(Int32, Int32[], ShaderBinaryFormat, IntPtr, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary(int count, [Count(Parameter = "count")] int[] shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] IntPtr binary, int length)
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32[] shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

IntPtr binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

ShaderBinary(Int32, UInt32*, All, IntPtr, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary(int count, [Count(Parameter = "count")] uint *shaders, All binaryformat, [Count(Parameter = "length")] IntPtr binary, int length)
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32* shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

IntPtr binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

ShaderBinary(Int32, UInt32*, ShaderBinaryFormat, IntPtr, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary(int count, [Count(Parameter = "count")] uint *shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] IntPtr binary, int length)
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32* shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

IntPtr binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

ShaderBinary(Int32, ref UInt32, All, IntPtr, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary(int count, [Count(Parameter = "count")] ref uint shaders, All binaryformat, [Count(Parameter = "length")] IntPtr binary, int length)
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32 shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

IntPtr binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

ShaderBinary(Int32, ref UInt32, ShaderBinaryFormat, IntPtr, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary(int count, [Count(Parameter = "count")] ref uint shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] IntPtr binary, int length)
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32 shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

IntPtr binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

ShaderBinary(Int32, UInt32[], All, IntPtr, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary(int count, [Count(Parameter = "count")] uint[] shaders, All binaryformat, [Count(Parameter = "length")] IntPtr binary, int length)
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32[] shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

IntPtr binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

ShaderBinary(Int32, UInt32[], ShaderBinaryFormat, IntPtr, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary(int count, [Count(Parameter = "count")] uint[] shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] IntPtr binary, int length)
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32[] shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

IntPtr binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

ShaderBinary<T3>(Int32, Int32*, All, ref T3, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] int *shaders, All binaryformat, [Count(Parameter = "length")] ref T3 binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32* shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3 binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, Int32*, All, T3[], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] int *shaders, All binaryformat, [Count(Parameter = "length")] T3[] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32* shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3[] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, Int32*, All, T3[,,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] int *shaders, All binaryformat, [Count(Parameter = "length")] T3[,, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32* shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3[,,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, Int32*, All, T3[,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] int *shaders, All binaryformat, [Count(Parameter = "length")] T3[, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32* shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3[,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, Int32*, ShaderBinaryFormat, ref T3, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] int *shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] ref T3 binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32* shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3 binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, Int32*, ShaderBinaryFormat, T3[], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] int *shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] T3[] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32* shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3[] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, Int32*, ShaderBinaryFormat, T3[,,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] int *shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] T3[,, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32* shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3[,,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, Int32*, ShaderBinaryFormat, T3[,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] int *shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] T3[, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32* shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3[,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, ref Int32, All, ref T3, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] ref int shaders, All binaryformat, [Count(Parameter = "length")] ref T3 binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32 shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3 binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, ref Int32, All, T3[], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] ref int shaders, All binaryformat, [Count(Parameter = "length")] T3[] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32 shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3[] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, ref Int32, All, T3[,,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] ref int shaders, All binaryformat, [Count(Parameter = "length")] T3[,, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32 shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3[,,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, ref Int32, All, T3[,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] ref int shaders, All binaryformat, [Count(Parameter = "length")] T3[, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32 shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3[,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, ref Int32, ShaderBinaryFormat, ref T3, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] ref int shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] ref T3 binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32 shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3 binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, ref Int32, ShaderBinaryFormat, T3[], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] ref int shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] T3[] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32 shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3[] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, ref Int32, ShaderBinaryFormat, T3[,,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] ref int shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] T3[,, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32 shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3[,,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, ref Int32, ShaderBinaryFormat, T3[,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] ref int shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] T3[, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32 shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3[,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, Int32[], All, ref T3, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] int[] shaders, All binaryformat, [Count(Parameter = "length")] ref T3 binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32[] shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3 binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, Int32[], All, T3[], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] int[] shaders, All binaryformat, [Count(Parameter = "length")] T3[] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32[] shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3[] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, Int32[], All, T3[,,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] int[] shaders, All binaryformat, [Count(Parameter = "length")] T3[,, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32[] shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3[,,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, Int32[], All, T3[,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] int[] shaders, All binaryformat, [Count(Parameter = "length")] T3[, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32[] shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3[,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, Int32[], ShaderBinaryFormat, ref T3, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] int[] shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] ref T3 binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32[] shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3 binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, Int32[], ShaderBinaryFormat, T3[], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] int[] shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] T3[] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32[] shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3[] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, Int32[], ShaderBinaryFormat, T3[,,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] int[] shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] T3[,, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32[] shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3[,,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, Int32[], ShaderBinaryFormat, T3[,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] int[] shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] T3[, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

Int32[] shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3[,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, UInt32*, All, ref T3, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] uint *shaders, All binaryformat, [Count(Parameter = "length")] ref T3 binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32* shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3 binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, UInt32*, All, T3[], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] uint *shaders, All binaryformat, [Count(Parameter = "length")] T3[] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32* shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3[] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, UInt32*, All, T3[,,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] uint *shaders, All binaryformat, [Count(Parameter = "length")] T3[,, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32* shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3[,,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, UInt32*, All, T3[,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] uint *shaders, All binaryformat, [Count(Parameter = "length")] T3[, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32* shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3[,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, UInt32*, ShaderBinaryFormat, ref T3, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] uint *shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] ref T3 binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32* shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3 binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, UInt32*, ShaderBinaryFormat, T3[], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] uint *shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] T3[] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32* shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3[] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, UInt32*, ShaderBinaryFormat, T3[,,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] uint *shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] T3[,, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32* shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3[,,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, UInt32*, ShaderBinaryFormat, T3[,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] uint *shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] T3[, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32* shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3[,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, ref UInt32, All, ref T3, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] ref uint shaders, All binaryformat, [Count(Parameter = "length")] ref T3 binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32 shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3 binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, ref UInt32, All, T3[], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] ref uint shaders, All binaryformat, [Count(Parameter = "length")] T3[] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32 shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3[] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, ref UInt32, All, T3[,,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] ref uint shaders, All binaryformat, [Count(Parameter = "length")] T3[,, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32 shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3[,,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, ref UInt32, All, T3[,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] ref uint shaders, All binaryformat, [Count(Parameter = "length")] T3[, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32 shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3[,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, ref UInt32, ShaderBinaryFormat, ref T3, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] ref uint shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] ref T3 binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32 shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3 binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, ref UInt32, ShaderBinaryFormat, T3[], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] ref uint shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] T3[] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32 shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3[] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, ref UInt32, ShaderBinaryFormat, T3[,,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] ref uint shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] T3[,, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32 shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3[,,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, ref UInt32, ShaderBinaryFormat, T3[,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] ref uint shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] T3[, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32 shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3[,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, UInt32[], All, ref T3, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] uint[] shaders, All binaryformat, [Count(Parameter = "length")] ref T3 binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32[] shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3 binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, UInt32[], All, T3[], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] uint[] shaders, All binaryformat, [Count(Parameter = "length")] T3[] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32[] shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3[] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, UInt32[], All, T3[,,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] uint[] shaders, All binaryformat, [Count(Parameter = "length")] T3[,, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32[] shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3[,,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, UInt32[], All, T3[,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] uint[] shaders, All binaryformat, [Count(Parameter = "length")] T3[, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32[] shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

All binaryformat

Specifies the shader binary format.

T3[,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, UInt32[], ShaderBinaryFormat, ref T3, Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] uint[] shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] ref T3 binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32[] shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3 binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, UInt32[], ShaderBinaryFormat, T3[], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] uint[] shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] T3[] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32[] shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3[] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, UInt32[], ShaderBinaryFormat, T3[,,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] uint[] shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] T3[,, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32[] shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3[,,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderBinary<T3>(Int32, UInt32[], ShaderBinaryFormat, T3[,], Int32)

[requires: v2.0 or ES_VERSION_2_0] Load a precompiled shader binary

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
[CLSCompliant(false)]
public static void ShaderBinary<T3>(int count, [Count(Parameter = "count")] uint[] shaders, ShaderBinaryFormat binaryformat, [Count(Parameter = "length")] T3[, ] binary, int length)
    where T3 : struct
Parameters
Type Name Description
Int32 count

Specifies the number of shader object handles present in shaders.

UInt32[] shaders

[length: count] Specifies a pointer to an array of shader object handles into which the shader binary will be loaded.

ShaderBinaryFormat binaryformat

Specifies the shader binary format.

T3[,] binary

[length: length] Specifies a pointer to the shader binary data in client memory.

Int32 length

Specifies the length of the shader binary data in bytes.

Type Parameters
Name Description
T3

ShaderSource(Int32, Int32, String[], Int32*)

[requires: v2.0 or ES_VERSION_2_0] Replace the source code in a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")]
[CLSCompliant(false)]
public static void ShaderSource(int shader, int count, [Count(Parameter = "count")] string[] string, [Count(Parameter = "count")] int *length)
Parameters
Type Name Description
Int32 shader

Specifies the handle of the shader object whose source code is to be replaced.

Int32 count

Specifies the number of elements in the string and length arrays.

String[] string
Int32* length

[length: count] Specifies an array of string lengths.

ShaderSource(Int32, Int32, String[], ref Int32)

[requires: v2.0 or ES_VERSION_2_0] Replace the source code in a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")]
[CLSCompliant(false)]
public static void ShaderSource(int shader, int count, [Count(Parameter = "count")] string[] string, [Count(Parameter = "count")] ref int length)
Parameters
Type Name Description
Int32 shader

Specifies the handle of the shader object whose source code is to be replaced.

Int32 count

Specifies the number of elements in the string and length arrays.

String[] string
Int32 length

[length: count] Specifies an array of string lengths.

ShaderSource(Int32, Int32, String[], Int32[])

[requires: v2.0 or ES_VERSION_2_0] Replace the source code in a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")]
[CLSCompliant(false)]
public static void ShaderSource(int shader, int count, [Count(Parameter = "count")] string[] string, [Count(Parameter = "count")] int[] length)
Parameters
Type Name Description
Int32 shader

Specifies the handle of the shader object whose source code is to be replaced.

Int32 count

Specifies the number of elements in the string and length arrays.

String[] string
Int32[] length

[length: count] Specifies an array of string lengths.

ShaderSource(Int32, String)

Declaration
public static void ShaderSource(int shader, string string)
Parameters
Type Name Description
Int32 shader
String string

ShaderSource(UInt32, Int32, String[], Int32*)

[requires: v2.0 or ES_VERSION_2_0] Replace the source code in a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")]
[CLSCompliant(false)]
public static void ShaderSource(uint shader, int count, [Count(Parameter = "count")] string[] string, [Count(Parameter = "count")] int *length)
Parameters
Type Name Description
UInt32 shader

Specifies the handle of the shader object whose source code is to be replaced.

Int32 count

Specifies the number of elements in the string and length arrays.

String[] string
Int32* length

[length: count] Specifies an array of string lengths.

ShaderSource(UInt32, Int32, String[], ref Int32)

[requires: v2.0 or ES_VERSION_2_0] Replace the source code in a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")]
[CLSCompliant(false)]
public static void ShaderSource(uint shader, int count, [Count(Parameter = "count")] string[] string, [Count(Parameter = "count")] ref int length)
Parameters
Type Name Description
UInt32 shader

Specifies the handle of the shader object whose source code is to be replaced.

Int32 count

Specifies the number of elements in the string and length arrays.

String[] string
Int32 length

[length: count] Specifies an array of string lengths.

ShaderSource(UInt32, Int32, String[], Int32[])

[requires: v2.0 or ES_VERSION_2_0] Replace the source code in a shader object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")]
[CLSCompliant(false)]
public static void ShaderSource(uint shader, int count, [Count(Parameter = "count")] string[] string, [Count(Parameter = "count")] int[] length)
Parameters
Type Name Description
UInt32 shader

Specifies the handle of the shader object whose source code is to be replaced.

Int32 count

Specifies the number of elements in the string and length arrays.

String[] string
Int32[] length

[length: count] Specifies an array of string lengths.

StencilFunc(All, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Set front and back function and reference value for stencil testing

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")]
[CLSCompliant(false)]
public static void StencilFunc(All func, int ref, int mask)
Parameters
Type Name Description
All func

Specifies the test function. Eight symbolic constants are valid: Never, Less, Lequal, Greater, Gequal, Equal, Notequal, and Always. The initial value is Always.

Int32 ref
Int32 mask

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.

StencilFunc(All, Int32, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Set front and back function and reference value for stencil testing

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")]
[CLSCompliant(false)]
public static void StencilFunc(All func, int ref, uint mask)
Parameters
Type Name Description
All func

Specifies the test function. Eight symbolic constants are valid: Never, Less, Lequal, Greater, Gequal, Equal, Notequal, and Always. The initial value is Always.

Int32 ref
UInt32 mask

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.

StencilFunc(StencilFunction, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Set front and back function and reference value for stencil testing

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")]
[CLSCompliant(false)]
public static void StencilFunc(StencilFunction func, int ref, int mask)
Parameters
Type Name Description
StencilFunction func

Specifies the test function. Eight symbolic constants are valid: Never, Less, Lequal, Greater, Gequal, Equal, Notequal, and Always. The initial value is Always.

Int32 ref
Int32 mask

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.

StencilFunc(StencilFunction, Int32, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Set front and back function and reference value for stencil testing

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")]
[CLSCompliant(false)]
public static void StencilFunc(StencilFunction func, int ref, uint mask)
Parameters
Type Name Description
StencilFunction func

Specifies the test function. Eight symbolic constants are valid: Never, Less, Lequal, Greater, Gequal, Equal, Notequal, and Always. The initial value is Always.

Int32 ref
UInt32 mask

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.

StencilFuncSeparate(All, All, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Set front and/or back function and reference value for stencil testing

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
[CLSCompliant(false)]
public static void StencilFuncSeparate(All face, All func, int ref, int mask)
Parameters
Type Name Description
All face

Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: Front, Back, and FrontAndBack.

All func

Specifies the test function. Eight symbolic constants are valid: Never, Less, Lequal, Greater, Gequal, Equal, Notequal, and Always. The initial value is Always.

Int32 ref
Int32 mask

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.

StencilFuncSeparate(All, All, Int32, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Set front and/or back function and reference value for stencil testing

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
[CLSCompliant(false)]
public static void StencilFuncSeparate(All face, All func, int ref, uint mask)
Parameters
Type Name Description
All face

Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: Front, Back, and FrontAndBack.

All func

Specifies the test function. Eight symbolic constants are valid: Never, Less, Lequal, Greater, Gequal, Equal, Notequal, and Always. The initial value is Always.

Int32 ref
UInt32 mask

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.

StencilFuncSeparate(CullFaceMode, StencilFunction, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Set front and/or back function and reference value for stencil testing

Declaration
[Obsolete("Use StencilFace overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
[CLSCompliant(false)]
public static void StencilFuncSeparate(CullFaceMode face, StencilFunction func, int ref, int mask)
Parameters
Type Name Description
CullFaceMode face

Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: Front, Back, and FrontAndBack.

StencilFunction func

Specifies the test function. Eight symbolic constants are valid: Never, Less, Lequal, Greater, Gequal, Equal, Notequal, and Always. The initial value is Always.

Int32 ref
Int32 mask

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.

StencilFuncSeparate(CullFaceMode, StencilFunction, Int32, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Set front and/or back function and reference value for stencil testing

Declaration
[Obsolete("Use StencilFace overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
[CLSCompliant(false)]
public static void StencilFuncSeparate(CullFaceMode face, StencilFunction func, int ref, uint mask)
Parameters
Type Name Description
CullFaceMode face

Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: Front, Back, and FrontAndBack.

StencilFunction func

Specifies the test function. Eight symbolic constants are valid: Never, Less, Lequal, Greater, Gequal, Equal, Notequal, and Always. The initial value is Always.

Int32 ref
UInt32 mask

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.

StencilFuncSeparate(StencilFace, StencilFunction, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Set front and/or back function and reference value for stencil testing

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
[CLSCompliant(false)]
public static void StencilFuncSeparate(StencilFace face, StencilFunction func, int ref, int mask)
Parameters
Type Name Description
StencilFace face

Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: Front, Back, and FrontAndBack.

StencilFunction func

Specifies the test function. Eight symbolic constants are valid: Never, Less, Lequal, Greater, Gequal, Equal, Notequal, and Always. The initial value is Always.

Int32 ref
Int32 mask

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.

StencilFuncSeparate(StencilFace, StencilFunction, Int32, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Set front and/or back function and reference value for stencil testing

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
[CLSCompliant(false)]
public static void StencilFuncSeparate(StencilFace face, StencilFunction func, int ref, uint mask)
Parameters
Type Name Description
StencilFace face

Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: Front, Back, and FrontAndBack.

StencilFunction func

Specifies the test function. Eight symbolic constants are valid: Never, Less, Lequal, Greater, Gequal, Equal, Notequal, and Always. The initial value is Always.

Int32 ref
UInt32 mask

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.

StencilMask(Int32)

[requires: v2.0 or ES_VERSION_2_0] Control the front and back writing of individual bits in the stencil planes

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMask")]
[CLSCompliant(false)]
public static void StencilMask(int mask)
Parameters
Type Name Description
Int32 mask

Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.

StencilMask(UInt32)

[requires: v2.0 or ES_VERSION_2_0] Control the front and back writing of individual bits in the stencil planes

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMask")]
[CLSCompliant(false)]
public static void StencilMask(uint mask)
Parameters
Type Name Description
UInt32 mask

Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.

StencilMaskSeparate(All, Int32)

[requires: v2.0 or ES_VERSION_2_0] Control the front and/or back writing of individual bits in the stencil planes

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")]
[CLSCompliant(false)]
public static void StencilMaskSeparate(All face, int mask)
Parameters
Type Name Description
All face

Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: Front, Back, and FrontAndBack.

Int32 mask

Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.

StencilMaskSeparate(All, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Control the front and/or back writing of individual bits in the stencil planes

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")]
[CLSCompliant(false)]
public static void StencilMaskSeparate(All face, uint mask)
Parameters
Type Name Description
All face

Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: Front, Back, and FrontAndBack.

UInt32 mask

Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.

StencilMaskSeparate(CullFaceMode, Int32)

[requires: v2.0 or ES_VERSION_2_0] Control the front and/or back writing of individual bits in the stencil planes

Declaration
[Obsolete("Use StencilFace overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")]
[CLSCompliant(false)]
public static void StencilMaskSeparate(CullFaceMode face, int mask)
Parameters
Type Name Description
CullFaceMode face

Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: Front, Back, and FrontAndBack.

Int32 mask

Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.

StencilMaskSeparate(CullFaceMode, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Control the front and/or back writing of individual bits in the stencil planes

Declaration
[Obsolete("Use StencilFace overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")]
[CLSCompliant(false)]
public static void StencilMaskSeparate(CullFaceMode face, uint mask)
Parameters
Type Name Description
CullFaceMode face

Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: Front, Back, and FrontAndBack.

UInt32 mask

Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.

StencilMaskSeparate(StencilFace, Int32)

[requires: v2.0 or ES_VERSION_2_0] Control the front and/or back writing of individual bits in the stencil planes

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")]
[CLSCompliant(false)]
public static void StencilMaskSeparate(StencilFace face, int mask)
Parameters
Type Name Description
StencilFace face

Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: Front, Back, and FrontAndBack.

Int32 mask

Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.

StencilMaskSeparate(StencilFace, UInt32)

[requires: v2.0 or ES_VERSION_2_0] Control the front and/or back writing of individual bits in the stencil planes

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")]
[CLSCompliant(false)]
public static void StencilMaskSeparate(StencilFace face, uint mask)
Parameters
Type Name Description
StencilFace face

Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: Front, Back, and FrontAndBack.

UInt32 mask

Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.

StencilOp(All, All, All)

[requires: v2.0 or ES_VERSION_2_0] Set front and back stencil test actions

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOp")]
public static void StencilOp(All fail, All zfail, All zpass)
Parameters
Type Name Description
All fail

Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: Keep, Zero, Replace, Incr, IncrWrap, Decr, DecrWrap, and Invert. The initial value is Keep.

All zfail

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 Keep.

All zpass

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 Keep.

StencilOp(StencilOp, StencilOp, StencilOp)

[requires: v2.0 or ES_VERSION_2_0] Set front and back stencil test actions

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOp")]
public static void StencilOp(StencilOp fail, StencilOp zfail, StencilOp zpass)
Parameters
Type Name Description
StencilOp fail

Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: Keep, Zero, Replace, Incr, IncrWrap, Decr, DecrWrap, and Invert. The initial value is Keep.

StencilOp zfail

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 Keep.

StencilOp zpass

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 Keep.

StencilOpSeparate(All, All, All, All)

[requires: v2.0 or ES_VERSION_2_0] Set front and/or back stencil test actions

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")]
public static void StencilOpSeparate(All face, All sfail, All dpfail, All dppass)
Parameters
Type Name Description
All face

Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: Front, Back, and FrontAndBack.

All sfail

Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: Keep, Zero, Replace, Incr, IncrWrap, Decr, DecrWrap, and Invert. The initial value is Keep.

All dpfail

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 Keep.

All dppass

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 Keep.

StencilOpSeparate(CullFaceMode, StencilOp, StencilOp, StencilOp)

[requires: v2.0 or ES_VERSION_2_0] Set front and/or back stencil test actions

Declaration
[Obsolete("Use StencilFace overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")]
public static void StencilOpSeparate(CullFaceMode face, StencilOp sfail, StencilOp dpfail, StencilOp dppass)
Parameters
Type Name Description
CullFaceMode face

Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: Front, Back, and FrontAndBack.

StencilOp sfail

Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: Keep, Zero, Replace, Incr, IncrWrap, Decr, DecrWrap, and Invert. The initial value is Keep.

StencilOp dpfail

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 Keep.

StencilOp dppass

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 Keep.

StencilOpSeparate(StencilFace, StencilOp, StencilOp, StencilOp)

[requires: v2.0 or ES_VERSION_2_0] Set front and/or back stencil test actions

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")]
public static void StencilOpSeparate(StencilFace face, StencilOp sfail, StencilOp dpfail, StencilOp dppass)
Parameters
Type Name Description
StencilFace face

Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: Front, Back, and FrontAndBack.

StencilOp sfail

Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: Keep, Zero, Replace, Incr, IncrWrap, Decr, DecrWrap, and Invert. The initial value is Keep.

StencilOp dpfail

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 Keep.

StencilOp dppass

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 Keep.

TexImage2D(All, Int32, All, Int32, Int32, Int32, All, All, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
public static void TexImage2D(All target, int level, All internalformat, int width, int height, int border, All format, All type, [Count(Computed = "format,type,width,height")] IntPtr pixels)
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

All internalformat

Specifies the internal format of the texture. Must be one of the following symbolic constants: Alpha, Luminance, LuminanceAlpha, Rgb, Rgba.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

All format

Specifies the format of the texel data. Must match internalformat. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

All type

Specifies the data type of the texel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

IntPtr pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

TexImage2D(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image

Declaration
[Obsolete("Use TextureTarget2d overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
public static void TexImage2D(TextureTarget target, int level, PixelInternalFormat internalformat, int width, int height, int border, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] IntPtr pixels)
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

PixelInternalFormat internalformat

Specifies the internal format of the texture. Must be one of the following symbolic constants: Alpha, Luminance, LuminanceAlpha, Rgb, Rgba.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

PixelFormat format

Specifies the format of the texel data. Must match internalformat. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

PixelType type

Specifies the data type of the texel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

IntPtr pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

TexImage2D(TextureTarget2d, Int32, TextureComponentCount, Int32, Int32, Int32, PixelFormat, PixelType, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
public static void TexImage2D(TextureTarget2d target, int level, TextureComponentCount internalformat, int width, int height, int border, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] IntPtr pixels)
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

TextureComponentCount internalformat

Specifies the internal format of the texture. Must be one of the following symbolic constants: Alpha, Luminance, LuminanceAlpha, Rgb, Rgba.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

PixelFormat format

Specifies the format of the texel data. Must match internalformat. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

PixelType type

Specifies the data type of the texel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

IntPtr pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

TexImage2D<T8>(All, Int32, All, Int32, Int32, Int32, All, All, ref T8)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
public static void TexImage2D<T8>(All target, int level, All internalformat, int width, int height, int border, All format, All type, [Count(Computed = "format,type,width,height")] ref T8 pixels)
    where T8 : struct
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

All internalformat

Specifies the internal format of the texture. Must be one of the following symbolic constants: Alpha, Luminance, LuminanceAlpha, Rgb, Rgba.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

All format

Specifies the format of the texel data. Must match internalformat. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

All type

Specifies the data type of the texel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8 pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexImage2D<T8>(All, Int32, All, Int32, Int32, Int32, All, All, T8[])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
[CLSCompliant(false)]
public static void TexImage2D<T8>(All target, int level, All internalformat, int width, int height, int border, All format, All type, [Count(Computed = "format,type,width,height")] T8[] pixels)
    where T8 : struct
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

All internalformat

Specifies the internal format of the texture. Must be one of the following symbolic constants: Alpha, Luminance, LuminanceAlpha, Rgb, Rgba.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

All format

Specifies the format of the texel data. Must match internalformat. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

All type

Specifies the data type of the texel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8[] pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexImage2D<T8>(All, Int32, All, Int32, Int32, Int32, All, All, T8[,,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
[CLSCompliant(false)]
public static void TexImage2D<T8>(All target, int level, All internalformat, int width, int height, int border, All format, All type, [Count(Computed = "format,type,width,height")] T8[,, ] pixels)
    where T8 : struct
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

All internalformat

Specifies the internal format of the texture. Must be one of the following symbolic constants: Alpha, Luminance, LuminanceAlpha, Rgb, Rgba.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

All format

Specifies the format of the texel data. Must match internalformat. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

All type

Specifies the data type of the texel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8[,,] pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexImage2D<T8>(All, Int32, All, Int32, Int32, Int32, All, All, T8[,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
[CLSCompliant(false)]
public static void TexImage2D<T8>(All target, int level, All internalformat, int width, int height, int border, All format, All type, [Count(Computed = "format,type,width,height")] T8[, ] pixels)
    where T8 : struct
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

All internalformat

Specifies the internal format of the texture. Must be one of the following symbolic constants: Alpha, Luminance, LuminanceAlpha, Rgb, Rgba.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

All format

Specifies the format of the texel data. Must match internalformat. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

All type

Specifies the data type of the texel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8[,] pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexImage2D<T8>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, ref T8)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image

Declaration
[Obsolete("Use TextureTarget2d overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
public static void TexImage2D<T8>(TextureTarget target, int level, PixelInternalFormat internalformat, int width, int height, int border, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] ref T8 pixels)
    where T8 : struct
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

PixelInternalFormat internalformat

Specifies the internal format of the texture. Must be one of the following symbolic constants: Alpha, Luminance, LuminanceAlpha, Rgb, Rgba.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

PixelFormat format

Specifies the format of the texel data. Must match internalformat. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

PixelType type

Specifies the data type of the texel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8 pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexImage2D<T8>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, T8[])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image

Declaration
[Obsolete("Use TextureTarget2d overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
[CLSCompliant(false)]
public static void TexImage2D<T8>(TextureTarget target, int level, PixelInternalFormat internalformat, int width, int height, int border, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] T8[] pixels)
    where T8 : struct
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

PixelInternalFormat internalformat

Specifies the internal format of the texture. Must be one of the following symbolic constants: Alpha, Luminance, LuminanceAlpha, Rgb, Rgba.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

PixelFormat format

Specifies the format of the texel data. Must match internalformat. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

PixelType type

Specifies the data type of the texel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8[] pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexImage2D<T8>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, T8[,,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image

Declaration
[Obsolete("Use TextureTarget2d overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
[CLSCompliant(false)]
public static void TexImage2D<T8>(TextureTarget target, int level, PixelInternalFormat internalformat, int width, int height, int border, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] T8[,, ] pixels)
    where T8 : struct
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

PixelInternalFormat internalformat

Specifies the internal format of the texture. Must be one of the following symbolic constants: Alpha, Luminance, LuminanceAlpha, Rgb, Rgba.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

PixelFormat format

Specifies the format of the texel data. Must match internalformat. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

PixelType type

Specifies the data type of the texel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8[,,] pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexImage2D<T8>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, T8[,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image

Declaration
[Obsolete("Use TextureTarget2d overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
[CLSCompliant(false)]
public static void TexImage2D<T8>(TextureTarget target, int level, PixelInternalFormat internalformat, int width, int height, int border, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] T8[, ] pixels)
    where T8 : struct
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

PixelInternalFormat internalformat

Specifies the internal format of the texture. Must be one of the following symbolic constants: Alpha, Luminance, LuminanceAlpha, Rgb, Rgba.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

PixelFormat format

Specifies the format of the texel data. Must match internalformat. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

PixelType type

Specifies the data type of the texel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8[,] pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexImage2D<T8>(TextureTarget2d, Int32, TextureComponentCount, Int32, Int32, Int32, PixelFormat, PixelType, ref T8)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
public static void TexImage2D<T8>(TextureTarget2d target, int level, TextureComponentCount internalformat, int width, int height, int border, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] ref T8 pixels)
    where T8 : struct
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

TextureComponentCount internalformat

Specifies the internal format of the texture. Must be one of the following symbolic constants: Alpha, Luminance, LuminanceAlpha, Rgb, Rgba.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

PixelFormat format

Specifies the format of the texel data. Must match internalformat. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

PixelType type

Specifies the data type of the texel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8 pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexImage2D<T8>(TextureTarget2d, Int32, TextureComponentCount, Int32, Int32, Int32, PixelFormat, PixelType, T8[])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
[CLSCompliant(false)]
public static void TexImage2D<T8>(TextureTarget2d target, int level, TextureComponentCount internalformat, int width, int height, int border, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] T8[] pixels)
    where T8 : struct
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

TextureComponentCount internalformat

Specifies the internal format of the texture. Must be one of the following symbolic constants: Alpha, Luminance, LuminanceAlpha, Rgb, Rgba.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

PixelFormat format

Specifies the format of the texel data. Must match internalformat. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

PixelType type

Specifies the data type of the texel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8[] pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexImage2D<T8>(TextureTarget2d, Int32, TextureComponentCount, Int32, Int32, Int32, PixelFormat, PixelType, T8[,,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
[CLSCompliant(false)]
public static void TexImage2D<T8>(TextureTarget2d target, int level, TextureComponentCount internalformat, int width, int height, int border, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] T8[,, ] pixels)
    where T8 : struct
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

TextureComponentCount internalformat

Specifies the internal format of the texture. Must be one of the following symbolic constants: Alpha, Luminance, LuminanceAlpha, Rgb, Rgba.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

PixelFormat format

Specifies the format of the texel data. Must match internalformat. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

PixelType type

Specifies the data type of the texel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8[,,] pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexImage2D<T8>(TextureTarget2d, Int32, TextureComponentCount, Int32, Int32, Int32, PixelFormat, PixelType, T8[,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture image

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")]
[CLSCompliant(false)]
public static void TexImage2D<T8>(TextureTarget2d target, int level, TextureComponentCount internalformat, int width, int height, int border, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] T8[, ] pixels)
    where T8 : struct
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

TextureComponentCount internalformat

Specifies the internal format of the texture. Must be one of the following symbolic constants: Alpha, Luminance, LuminanceAlpha, Rgb, Rgba.

Int32 width

Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.

Int32 height

Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.

Int32 border

Specifies the width of the border. Must be 0.

PixelFormat format

Specifies the format of the texel data. Must match internalformat. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

PixelType type

Specifies the data type of the texel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8[,] pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexParameter(All, All, Int32)

[requires: v2.0 or ES_VERSION_2_0] Set texture parameters

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteri")]
public static void TexParameter(All target, All pname, int param)
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit, which must be either Texture2D or TextureCubeMap.

All pname

Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: TextureMinFilter, TextureMagFilter, TextureWrapS, or TextureWrapT.

Int32 param

Specifies the value of pname.

TexParameter(All, All, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Set texture parameters

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")]
[CLSCompliant(false)]
public static void TexParameter(All target, All pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit, which must be either Texture2D or TextureCubeMap.

All pname

Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: TextureMinFilter, TextureMagFilter, TextureWrapS, or TextureWrapT.

Int32* params

TexParameter(All, All, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Set texture parameters

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")]
[CLSCompliant(false)]
public static void TexParameter(All target, All pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit, which must be either Texture2D or TextureCubeMap.

All pname

Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: TextureMinFilter, TextureMagFilter, TextureWrapS, or TextureWrapT.

Int32[] params

TexParameter(All, All, Single)

[requires: v2.0 or ES_VERSION_2_0] Set texture parameters

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterf")]
public static void TexParameter(All target, All pname, float param)
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit, which must be either Texture2D or TextureCubeMap.

All pname

Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: TextureMinFilter, TextureMagFilter, TextureWrapS, or TextureWrapT.

Single param

Specifies the value of pname.

TexParameter(All, All, Single*)

[requires: v2.0 or ES_VERSION_2_0] Set texture parameters

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")]
[CLSCompliant(false)]
public static void TexParameter(All target, All pname, [Count(Computed = "pname")] float *params)
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit, which must be either Texture2D or TextureCubeMap.

All pname

Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: TextureMinFilter, TextureMagFilter, TextureWrapS, or TextureWrapT.

Single* params

TexParameter(All, All, Single[])

[requires: v2.0 or ES_VERSION_2_0] Set texture parameters

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")]
[CLSCompliant(false)]
public static void TexParameter(All target, All pname, [Count(Computed = "pname")] float[] params)
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit, which must be either Texture2D or TextureCubeMap.

All pname

Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: TextureMinFilter, TextureMagFilter, TextureWrapS, or TextureWrapT.

Single[] params

TexParameter(TextureTarget, TextureParameterName, Int32)

[requires: v2.0 or ES_VERSION_2_0] Set texture parameters

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteri")]
public static void TexParameter(TextureTarget target, TextureParameterName pname, int param)
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit, which must be either Texture2D or TextureCubeMap.

TextureParameterName pname

Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: TextureMinFilter, TextureMagFilter, TextureWrapS, or TextureWrapT.

Int32 param

Specifies the value of pname.

TexParameter(TextureTarget, TextureParameterName, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Set texture parameters

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")]
[CLSCompliant(false)]
public static void TexParameter(TextureTarget target, TextureParameterName pname, [Count(Computed = "pname")] int *params)
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit, which must be either Texture2D or TextureCubeMap.

TextureParameterName pname

Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: TextureMinFilter, TextureMagFilter, TextureWrapS, or TextureWrapT.

Int32* params

TexParameter(TextureTarget, TextureParameterName, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Set texture parameters

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")]
[CLSCompliant(false)]
public static void TexParameter(TextureTarget target, TextureParameterName pname, [Count(Computed = "pname")] int[] params)
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit, which must be either Texture2D or TextureCubeMap.

TextureParameterName pname

Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: TextureMinFilter, TextureMagFilter, TextureWrapS, or TextureWrapT.

Int32[] params

TexParameter(TextureTarget, TextureParameterName, Single)

[requires: v2.0 or ES_VERSION_2_0] Set texture parameters

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterf")]
public static void TexParameter(TextureTarget target, TextureParameterName pname, float param)
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit, which must be either Texture2D or TextureCubeMap.

TextureParameterName pname

Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: TextureMinFilter, TextureMagFilter, TextureWrapS, or TextureWrapT.

Single param

Specifies the value of pname.

TexParameter(TextureTarget, TextureParameterName, Single*)

[requires: v2.0 or ES_VERSION_2_0] Set texture parameters

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")]
[CLSCompliant(false)]
public static void TexParameter(TextureTarget target, TextureParameterName pname, [Count(Computed = "pname")] float *params)
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit, which must be either Texture2D or TextureCubeMap.

TextureParameterName pname

Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: TextureMinFilter, TextureMagFilter, TextureWrapS, or TextureWrapT.

Single* params

TexParameter(TextureTarget, TextureParameterName, Single[])

[requires: v2.0 or ES_VERSION_2_0] Set texture parameters

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")]
[CLSCompliant(false)]
public static void TexParameter(TextureTarget target, TextureParameterName pname, [Count(Computed = "pname")] float[] params)
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit, which must be either Texture2D or TextureCubeMap.

TextureParameterName pname

Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: TextureMinFilter, TextureMagFilter, TextureWrapS, or TextureWrapT.

Single[] params

TexSubImage2D(All, Int32, Int32, Int32, Int32, Int32, All, All, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
public static void TexSubImage2D(All target, int level, int xoffset, int yoffset, int width, int height, All format, All type, [Count(Computed = "format,type,width,height")] IntPtr pixels)
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

All format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

All type

Specifies the data type of the pixel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

IntPtr pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

TexSubImage2D(TextureTarget, Int32, Int32, Int32, Int32, Int32, PixelFormat, PixelType, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage

Declaration
[Obsolete("Use TextureTarget2d overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
public static void TexSubImage2D(TextureTarget target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] IntPtr pixels)
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

PixelFormat format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

PixelType type

Specifies the data type of the pixel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

IntPtr pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

TexSubImage2D(TextureTarget2d, Int32, Int32, Int32, Int32, Int32, PixelFormat, PixelType, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
public static void TexSubImage2D(TextureTarget2d target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] IntPtr pixels)
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

PixelFormat format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

PixelType type

Specifies the data type of the pixel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

IntPtr pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

TexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, ref T8)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
public static void TexSubImage2D<T8>(All target, int level, int xoffset, int yoffset, int width, int height, All format, All type, [Count(Computed = "format,type,width,height")] ref T8 pixels)
    where T8 : struct
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

All format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

All type

Specifies the data type of the pixel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8 pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
[CLSCompliant(false)]
public static void TexSubImage2D<T8>(All target, int level, int xoffset, int yoffset, int width, int height, All format, All type, [Count(Computed = "format,type,width,height")] T8[] pixels)
    where T8 : struct
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

All format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

All type

Specifies the data type of the pixel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8[] pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[,,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
[CLSCompliant(false)]
public static void TexSubImage2D<T8>(All target, int level, int xoffset, int yoffset, int width, int height, All format, All type, [Count(Computed = "format,type,width,height")] T8[,, ] pixels)
    where T8 : struct
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

All format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

All type

Specifies the data type of the pixel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8[,,] pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
[CLSCompliant(false)]
public static void TexSubImage2D<T8>(All target, int level, int xoffset, int yoffset, int width, int height, All format, All type, [Count(Computed = "format,type,width,height")] T8[, ] pixels)
    where T8 : struct
Parameters
Type Name Description
All target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

All format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

All type

Specifies the data type of the pixel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8[,] pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexSubImage2D<T8>(TextureTarget, Int32, Int32, Int32, Int32, Int32, PixelFormat, PixelType, ref T8)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage

Declaration
[Obsolete("Use TextureTarget2d overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
public static void TexSubImage2D<T8>(TextureTarget target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] ref T8 pixels)
    where T8 : struct
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

PixelFormat format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

PixelType type

Specifies the data type of the pixel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8 pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexSubImage2D<T8>(TextureTarget, Int32, Int32, Int32, Int32, Int32, PixelFormat, PixelType, T8[])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage

Declaration
[Obsolete("Use TextureTarget2d overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
[CLSCompliant(false)]
public static void TexSubImage2D<T8>(TextureTarget target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] T8[] pixels)
    where T8 : struct
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

PixelFormat format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

PixelType type

Specifies the data type of the pixel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8[] pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexSubImage2D<T8>(TextureTarget, Int32, Int32, Int32, Int32, Int32, PixelFormat, PixelType, T8[,,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage

Declaration
[Obsolete("Use TextureTarget2d overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
[CLSCompliant(false)]
public static void TexSubImage2D<T8>(TextureTarget target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] T8[,, ] pixels)
    where T8 : struct
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

PixelFormat format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

PixelType type

Specifies the data type of the pixel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8[,,] pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexSubImage2D<T8>(TextureTarget, Int32, Int32, Int32, Int32, Int32, PixelFormat, PixelType, T8[,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage

Declaration
[Obsolete("Use TextureTarget2d overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
[CLSCompliant(false)]
public static void TexSubImage2D<T8>(TextureTarget target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] T8[, ] pixels)
    where T8 : struct
Parameters
Type Name Description
TextureTarget target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

PixelFormat format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

PixelType type

Specifies the data type of the pixel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8[,] pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexSubImage2D<T8>(TextureTarget2d, Int32, Int32, Int32, Int32, Int32, PixelFormat, PixelType, ref T8)

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
public static void TexSubImage2D<T8>(TextureTarget2d target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] ref T8 pixels)
    where T8 : struct
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

PixelFormat format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

PixelType type

Specifies the data type of the pixel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8 pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexSubImage2D<T8>(TextureTarget2d, Int32, Int32, Int32, Int32, Int32, PixelFormat, PixelType, T8[])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
[CLSCompliant(false)]
public static void TexSubImage2D<T8>(TextureTarget2d target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] T8[] pixels)
    where T8 : struct
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

PixelFormat format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

PixelType type

Specifies the data type of the pixel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8[] pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexSubImage2D<T8>(TextureTarget2d, Int32, Int32, Int32, Int32, Int32, PixelFormat, PixelType, T8[,,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
[CLSCompliant(false)]
public static void TexSubImage2D<T8>(TextureTarget2d target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] T8[,, ] pixels)
    where T8 : struct
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

PixelFormat format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

PixelType type

Specifies the data type of the pixel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8[,,] pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

TexSubImage2D<T8>(TextureTarget2d, Int32, Int32, Int32, Int32, Int32, PixelFormat, PixelType, T8[,])

[requires: v2.0 or ES_VERSION_2_0] Specify a two-dimensional texture subimage

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
[CLSCompliant(false)]
public static void TexSubImage2D<T8>(TextureTarget2d target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, PixelType type, [Count(Computed = "format,type,width,height")] T8[, ] pixels)
    where T8 : struct
Parameters
Type Name Description
TextureTarget2d target

Specifies the target texture of the active texture unit. Must be Texture2D, TextureCubeMapPositiveX, TextureCubeMapNegativeX, TextureCubeMapPositiveY, TextureCubeMapNegativeY, TextureCubeMapPositiveZ, or TextureCubeMapNegativeZ.

Int32 level

Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.

Int32 xoffset

Specifies a texel offset in the x direction within the texture array.

Int32 yoffset

Specifies a texel offset in the y direction within the texture array.

Int32 width

Specifies the width of the texture subimage.

Int32 height

Specifies the height of the texture subimage.

PixelFormat format

Specifies the format of the pixel data. The following symbolic values are accepted: Alpha, Rgb, Rgba, Luminance, and LuminanceAlpha.

PixelType type

Specifies the data type of the pixel data. The following symbolic values are accepted: UnsignedByte, UnsignedShort565, UnsignedShort4444, and UnsignedShort5551.

T8[,] pixels

[length: COMPSIZE(format,type,width,height)] Specifies a pointer to the image data in memory.

Type Parameters
Name Description
T8

Uniform1(Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1i")]
public static void Uniform1(int location, int v0)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 v0

Specifies the new values to be used for the specified uniform variable.

Uniform1(Int32, Int32, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")]
[CLSCompliant(false)]
public static void Uniform1(int location, int count, [Count(Parameter = "count*1")] int *value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Int32* value

[length: count*1] Specifies the new values to be used for the specified uniform variable.

Uniform1(Int32, Int32, ref Int32)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")]
[CLSCompliant(false)]
public static void Uniform1(int location, int count, [Count(Parameter = "count*1")] ref int value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Int32 value

[length: count*1] Specifies the new values to be used for the specified uniform variable.

Uniform1(Int32, Int32, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")]
[CLSCompliant(false)]
public static void Uniform1(int location, int count, [Count(Parameter = "count*1")] int[] value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Int32[] value

[length: count*1] Specifies the new values to be used for the specified uniform variable.

Uniform1(Int32, Int32, Single*)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")]
[CLSCompliant(false)]
public static void Uniform1(int location, int count, [Count(Parameter = "count*1")] float *value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Single* value

[length: count*1] Specifies the new values to be used for the specified uniform variable.

Uniform1(Int32, Int32, ref Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")]
[CLSCompliant(false)]
public static void Uniform1(int location, int count, [Count(Parameter = "count*1")] ref float value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Single value

[length: count*1] Specifies the new values to be used for the specified uniform variable.

Uniform1(Int32, Int32, Single[])

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")]
[CLSCompliant(false)]
public static void Uniform1(int location, int count, [Count(Parameter = "count*1")] float[] value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Single[] value

[length: count*1] Specifies the new values to be used for the specified uniform variable.

Uniform1(Int32, Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1f")]
public static void Uniform1(int location, float v0)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Single v0

Specifies the new values to be used for the specified uniform variable.

Uniform2(Int32, Vector2)

Declaration
public static void Uniform2(int location, Vector2 vector)
Parameters
Type Name Description
Int32 location
Vector2 vector

Uniform2(Int32, ref Vector2)

Declaration
[CLSCompliant(false)]
public static void Uniform2(int location, ref Vector2 vector)
Parameters
Type Name Description
Int32 location
Vector2 vector

Uniform2(Int32, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2i")]
public static void Uniform2(int location, int v0, int v1)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 v0

Specifies the new values to be used for the specified uniform variable.

Int32 v1

Specifies the new values to be used for the specified uniform variable.

Uniform2(Int32, Int32, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2iv")]
[CLSCompliant(false)]
public static void Uniform2(int location, int count, [Count(Parameter = "count*2")] int *value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Int32* value

[length: count*2] Specifies the new values to be used for the specified uniform variable.

Uniform2(Int32, Int32, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2iv")]
[CLSCompliant(false)]
public static void Uniform2(int location, int count, [Count(Parameter = "count*2")] int[] value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Int32[] value

[length: count*2] Specifies the new values to be used for the specified uniform variable.

Uniform2(Int32, Int32, Single*)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")]
[CLSCompliant(false)]
public static void Uniform2(int location, int count, [Count(Parameter = "count*2")] float *value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Single* value

[length: count*2] Specifies the new values to be used for the specified uniform variable.

Uniform2(Int32, Int32, ref Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")]
[CLSCompliant(false)]
public static void Uniform2(int location, int count, [Count(Parameter = "count*2")] ref float value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Single value

[length: count*2] Specifies the new values to be used for the specified uniform variable.

Uniform2(Int32, Int32, Single[])

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")]
[CLSCompliant(false)]
public static void Uniform2(int location, int count, [Count(Parameter = "count*2")] float[] value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Single[] value

[length: count*2] Specifies the new values to be used for the specified uniform variable.

Uniform2(Int32, Single, Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2f")]
public static void Uniform2(int location, float v0, float v1)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Single v0

Specifies the new values to be used for the specified uniform variable.

Single v1

Specifies the new values to be used for the specified uniform variable.

Uniform3(Int32, Vector3)

Declaration
public static void Uniform3(int location, Vector3 vector)
Parameters
Type Name Description
Int32 location
Vector3 vector

Uniform3(Int32, ref Vector3)

Declaration
[CLSCompliant(false)]
public static void Uniform3(int location, ref Vector3 vector)
Parameters
Type Name Description
Int32 location
Vector3 vector

Uniform3(Int32, Int32, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")]
[CLSCompliant(false)]
public static void Uniform3(int location, int count, [Count(Parameter = "count*3")] int *value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Int32* value

[length: count*3] Specifies the new values to be used for the specified uniform variable.

Uniform3(Int32, Int32, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3i")]
public static void Uniform3(int location, int v0, int v1, int v2)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 v0

Specifies the new values to be used for the specified uniform variable.

Int32 v1

Specifies the new values to be used for the specified uniform variable.

Int32 v2

Specifies the new values to be used for the specified uniform variable.

Uniform3(Int32, Int32, ref Int32)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")]
[CLSCompliant(false)]
public static void Uniform3(int location, int count, [Count(Parameter = "count*3")] ref int value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Int32 value

[length: count*3] Specifies the new values to be used for the specified uniform variable.

Uniform3(Int32, Int32, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")]
[CLSCompliant(false)]
public static void Uniform3(int location, int count, [Count(Parameter = "count*3")] int[] value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Int32[] value

[length: count*3] Specifies the new values to be used for the specified uniform variable.

Uniform3(Int32, Int32, Single*)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")]
[CLSCompliant(false)]
public static void Uniform3(int location, int count, [Count(Parameter = "count*3")] float *value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Single* value

[length: count*3] Specifies the new values to be used for the specified uniform variable.

Uniform3(Int32, Int32, ref Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")]
[CLSCompliant(false)]
public static void Uniform3(int location, int count, [Count(Parameter = "count*3")] ref float value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Single value

[length: count*3] Specifies the new values to be used for the specified uniform variable.

Uniform3(Int32, Int32, Single[])

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")]
[CLSCompliant(false)]
public static void Uniform3(int location, int count, [Count(Parameter = "count*3")] float[] value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Single[] value

[length: count*3] Specifies the new values to be used for the specified uniform variable.

Uniform3(Int32, Single, Single, Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3f")]
public static void Uniform3(int location, float v0, float v1, float v2)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Single v0

Specifies the new values to be used for the specified uniform variable.

Single v1

Specifies the new values to be used for the specified uniform variable.

Single v2

Specifies the new values to be used for the specified uniform variable.

Uniform4(Int32, Color4)

Declaration
public static void Uniform4(int location, Color4 color)
Parameters
Type Name Description
Int32 location
Color4 color

Uniform4(Int32, Quaternion)

Declaration
public static void Uniform4(int location, Quaternion quaternion)
Parameters
Type Name Description
Int32 location
Quaternion quaternion

Uniform4(Int32, Vector4)

Declaration
public static void Uniform4(int location, Vector4 vector)
Parameters
Type Name Description
Int32 location
Vector4 vector

Uniform4(Int32, ref Vector4)

Declaration
[CLSCompliant(false)]
public static void Uniform4(int location, ref Vector4 vector)
Parameters
Type Name Description
Int32 location
Vector4 vector

Uniform4(Int32, Int32, Int32*)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")]
[CLSCompliant(false)]
public static void Uniform4(int location, int count, [Count(Parameter = "count*4")] int *value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Int32* value

[length: count*4] Specifies the new values to be used for the specified uniform variable.

Uniform4(Int32, Int32, Int32, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4i")]
public static void Uniform4(int location, int v0, int v1, int v2, int v3)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 v0

Specifies the new values to be used for the specified uniform variable.

Int32 v1

Specifies the new values to be used for the specified uniform variable.

Int32 v2

Specifies the new values to be used for the specified uniform variable.

Int32 v3

Specifies the new values to be used for the specified uniform variable.

Uniform4(Int32, Int32, ref Int32)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")]
[CLSCompliant(false)]
public static void Uniform4(int location, int count, [Count(Parameter = "count*4")] ref int value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Int32 value

[length: count*4] Specifies the new values to be used for the specified uniform variable.

Uniform4(Int32, Int32, Int32[])

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")]
[CLSCompliant(false)]
public static void Uniform4(int location, int count, [Count(Parameter = "count*4")] int[] value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Int32[] value

[length: count*4] Specifies the new values to be used for the specified uniform variable.

Uniform4(Int32, Int32, Single*)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")]
[CLSCompliant(false)]
public static void Uniform4(int location, int count, [Count(Parameter = "count*4")] float *value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Single* value

[length: count*4] Specifies the new values to be used for the specified uniform variable.

Uniform4(Int32, Int32, ref Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")]
[CLSCompliant(false)]
public static void Uniform4(int location, int count, [Count(Parameter = "count*4")] ref float value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Single value

[length: count*4] Specifies the new values to be used for the specified uniform variable.

Uniform4(Int32, Int32, Single[])

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")]
[CLSCompliant(false)]
public static void Uniform4(int location, int count, [Count(Parameter = "count*4")] float[] value)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Int32 count

Specifies the new values to be used for the specified uniform variable.

Single[] value

[length: count*4] Specifies the new values to be used for the specified uniform variable.

Uniform4(Int32, Single, Single, Single, Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a uniform variable for the current program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4f")]
public static void Uniform4(int location, float v0, float v1, float v2, float v3)
Parameters
Type Name Description
Int32 location

Specifies the location of the uniform variable to be modified.

Single v0

Specifies the new values to be used for the specified uniform variable.

Single v1

Specifies the new values to be used for the specified uniform variable.

Single v2

Specifies the new values to be used for the specified uniform variable.

Single v3

Specifies the new values to be used for the specified uniform variable.

UniformMatrix2(Int32, Boolean, ref Matrix2)

Declaration
public static void UniformMatrix2(int location, bool transpose, ref Matrix2 matrix)
Parameters
Type Name Description
Int32 location
Boolean transpose
Matrix2 matrix

UniformMatrix2(Int32, Int32, Boolean, Single*)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")]
[CLSCompliant(false)]
public static void UniformMatrix2(int location, int count, bool transpose, [Count(Parameter = "count*4")] float *value)
Parameters
Type Name Description
Int32 location
Int32 count
Boolean transpose
Single* value

[length: count*4]

UniformMatrix2(Int32, Int32, Boolean, ref Single)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")]
[CLSCompliant(false)]
public static void UniformMatrix2(int location, int count, bool transpose, [Count(Parameter = "count*4")] ref float value)
Parameters
Type Name Description
Int32 location
Int32 count
Boolean transpose
Single value

[length: count*4]

UniformMatrix2(Int32, Int32, Boolean, Single[])

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")]
[CLSCompliant(false)]
public static void UniformMatrix2(int location, int count, bool transpose, [Count(Parameter = "count*4")] float[] value)
Parameters
Type Name Description
Int32 location
Int32 count
Boolean transpose
Single[] value

[length: count*4]

UniformMatrix3(Int32, Boolean, ref Matrix3)

Declaration
public static void UniformMatrix3(int location, bool transpose, ref Matrix3 matrix)
Parameters
Type Name Description
Int32 location
Boolean transpose
Matrix3 matrix

UniformMatrix3(Int32, Int32, Boolean, Single*)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")]
[CLSCompliant(false)]
public static void UniformMatrix3(int location, int count, bool transpose, [Count(Parameter = "count*9")] float *value)
Parameters
Type Name Description
Int32 location
Int32 count
Boolean transpose
Single* value

[length: count*9]

UniformMatrix3(Int32, Int32, Boolean, ref Single)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")]
[CLSCompliant(false)]
public static void UniformMatrix3(int location, int count, bool transpose, [Count(Parameter = "count*9")] ref float value)
Parameters
Type Name Description
Int32 location
Int32 count
Boolean transpose
Single value

[length: count*9]

UniformMatrix3(Int32, Int32, Boolean, Single[])

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")]
[CLSCompliant(false)]
public static void UniformMatrix3(int location, int count, bool transpose, [Count(Parameter = "count*9")] float[] value)
Parameters
Type Name Description
Int32 location
Int32 count
Boolean transpose
Single[] value

[length: count*9]

UniformMatrix4(Int32, Boolean, ref Matrix4)

Declaration
public static void UniformMatrix4(int location, bool transpose, ref Matrix4 matrix)
Parameters
Type Name Description
Int32 location
Boolean transpose
Matrix4 matrix

UniformMatrix4(Int32, Int32, Boolean, Single*)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")]
[CLSCompliant(false)]
public static void UniformMatrix4(int location, int count, bool transpose, [Count(Parameter = "count*16")] float *value)
Parameters
Type Name Description
Int32 location
Int32 count
Boolean transpose
Single* value

[length: count*16]

UniformMatrix4(Int32, Int32, Boolean, ref Single)

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")]
[CLSCompliant(false)]
public static void UniformMatrix4(int location, int count, bool transpose, [Count(Parameter = "count*16")] ref float value)
Parameters
Type Name Description
Int32 location
Int32 count
Boolean transpose
Single value

[length: count*16]

UniformMatrix4(Int32, Int32, Boolean, Single[])

[requires: v2.0 or ES_VERSION_2_0]

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")]
[CLSCompliant(false)]
public static void UniformMatrix4(int location, int count, bool transpose, [Count(Parameter = "count*16")] float[] value)
Parameters
Type Name Description
Int32 location
Int32 count
Boolean transpose
Single[] value

[length: count*16]

UseProgram(Int32)

[requires: v2.0 or ES_VERSION_2_0] Install a program object as part of current rendering state

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUseProgram")]
[CLSCompliant(false)]
public static void UseProgram(int program)
Parameters
Type Name Description
Int32 program

Specifies the handle of the program object whose executables are to be used as part of current rendering state.

UseProgram(UInt32)

[requires: v2.0 or ES_VERSION_2_0] Install a program object as part of current rendering state

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUseProgram")]
[CLSCompliant(false)]
public static void UseProgram(uint program)
Parameters
Type Name Description
UInt32 program

Specifies the handle of the program object whose executables are to be used as part of current rendering state.

ValidateProgram(Int32)

[requires: v2.0 or ES_VERSION_2_0] Validate a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glValidateProgram")]
[CLSCompliant(false)]
public static void ValidateProgram(int program)
Parameters
Type Name Description
Int32 program

Specifies the handle of the program object to be validated.

ValidateProgram(UInt32)

[requires: v2.0 or ES_VERSION_2_0] Validate a program object

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glValidateProgram")]
[CLSCompliant(false)]
public static void ValidateProgram(uint program)
Parameters
Type Name Description
UInt32 program

Specifies the handle of the program object to be validated.

VertexAttrib1(Int32, Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1f")]
[CLSCompliant(false)]
public static void VertexAttrib1(int index, float x)
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Single x

Specifies the new values to be used for the specified vertex attribute.

VertexAttrib1(Int32, Single*)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")]
[CLSCompliant(false)]
public static void VertexAttrib1(int index, [Count(Count = 1)] float *v)
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Single* v

[length: 1] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib1(Int32, Single[])

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")]
[CLSCompliant(false)]
public static void VertexAttrib1(int index, [Count(Count = 1)] float[] v)
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Single[] v

[length: 1] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib1(UInt32, Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1f")]
[CLSCompliant(false)]
public static void VertexAttrib1(uint index, float x)
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Single x

Specifies the new values to be used for the specified vertex attribute.

VertexAttrib1(UInt32, Single*)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")]
[CLSCompliant(false)]
public static void VertexAttrib1(uint index, [Count(Count = 1)] float *v)
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Single* v

[length: 1] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib1(UInt32, Single[])

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")]
[CLSCompliant(false)]
public static void VertexAttrib1(uint index, [Count(Count = 1)] float[] v)
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Single[] v

[length: 1] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib2(Int32, Vector2)

Declaration
public static void VertexAttrib2(int index, Vector2 v)
Parameters
Type Name Description
Int32 index
Vector2 v

VertexAttrib2(Int32, ref Vector2)

Declaration
[CLSCompliant(false)]
public static void VertexAttrib2(int index, ref Vector2 v)
Parameters
Type Name Description
Int32 index
Vector2 v

VertexAttrib2(Int32, Single*)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
[CLSCompliant(false)]
public static void VertexAttrib2(int index, [Count(Count = 2)] float *v)
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Single* v

[length: 2] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib2(Int32, Single, Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2f")]
[CLSCompliant(false)]
public static void VertexAttrib2(int index, float x, float y)
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Single x

Specifies the new values to be used for the specified vertex attribute.

Single y

Specifies the new values to be used for the specified vertex attribute.

VertexAttrib2(Int32, ref Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
[CLSCompliant(false)]
public static void VertexAttrib2(int index, [Count(Count = 2)] ref float v)
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Single v

[length: 2] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib2(Int32, Single[])

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
[CLSCompliant(false)]
public static void VertexAttrib2(int index, [Count(Count = 2)] float[] v)
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Single[] v

[length: 2] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib2(UInt32, Single*)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
[CLSCompliant(false)]
public static void VertexAttrib2(uint index, [Count(Count = 2)] float *v)
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Single* v

[length: 2] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib2(UInt32, Single, Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2f")]
[CLSCompliant(false)]
public static void VertexAttrib2(uint index, float x, float y)
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Single x

Specifies the new values to be used for the specified vertex attribute.

Single y

Specifies the new values to be used for the specified vertex attribute.

VertexAttrib2(UInt32, ref Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
[CLSCompliant(false)]
public static void VertexAttrib2(uint index, [Count(Count = 2)] ref float v)
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Single v

[length: 2] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib2(UInt32, Single[])

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
[CLSCompliant(false)]
public static void VertexAttrib2(uint index, [Count(Count = 2)] float[] v)
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Single[] v

[length: 2] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib3(Int32, Vector3)

Declaration
public static void VertexAttrib3(int index, Vector3 v)
Parameters
Type Name Description
Int32 index
Vector3 v

VertexAttrib3(Int32, ref Vector3)

Declaration
[CLSCompliant(false)]
public static void VertexAttrib3(int index, ref Vector3 v)
Parameters
Type Name Description
Int32 index
Vector3 v

VertexAttrib3(Int32, Single*)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
[CLSCompliant(false)]
public static void VertexAttrib3(int index, [Count(Count = 3)] float *v)
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Single* v

[length: 3] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib3(Int32, Single, Single, Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3f")]
[CLSCompliant(false)]
public static void VertexAttrib3(int index, float x, float y, float z)
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Single x

Specifies the new values to be used for the specified vertex attribute.

Single y

Specifies the new values to be used for the specified vertex attribute.

Single z

Specifies the new values to be used for the specified vertex attribute.

VertexAttrib3(Int32, ref Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
[CLSCompliant(false)]
public static void VertexAttrib3(int index, [Count(Count = 3)] ref float v)
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Single v

[length: 3] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib3(Int32, Single[])

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
[CLSCompliant(false)]
public static void VertexAttrib3(int index, [Count(Count = 3)] float[] v)
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Single[] v

[length: 3] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib3(UInt32, Single*)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
[CLSCompliant(false)]
public static void VertexAttrib3(uint index, [Count(Count = 3)] float *v)
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Single* v

[length: 3] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib3(UInt32, Single, Single, Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3f")]
[CLSCompliant(false)]
public static void VertexAttrib3(uint index, float x, float y, float z)
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Single x

Specifies the new values to be used for the specified vertex attribute.

Single y

Specifies the new values to be used for the specified vertex attribute.

Single z

Specifies the new values to be used for the specified vertex attribute.

VertexAttrib3(UInt32, ref Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
[CLSCompliant(false)]
public static void VertexAttrib3(uint index, [Count(Count = 3)] ref float v)
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Single v

[length: 3] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib3(UInt32, Single[])

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
[CLSCompliant(false)]
public static void VertexAttrib3(uint index, [Count(Count = 3)] float[] v)
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Single[] v

[length: 3] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib4(Int32, Vector4)

Declaration
public static void VertexAttrib4(int index, Vector4 v)
Parameters
Type Name Description
Int32 index
Vector4 v

VertexAttrib4(Int32, ref Vector4)

Declaration
[CLSCompliant(false)]
public static void VertexAttrib4(int index, ref Vector4 v)
Parameters
Type Name Description
Int32 index
Vector4 v

VertexAttrib4(Int32, Single*)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
[CLSCompliant(false)]
public static void VertexAttrib4(int index, [Count(Count = 4)] float *v)
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Single* v

[length: 4] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib4(Int32, Single, Single, Single, Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4f")]
[CLSCompliant(false)]
public static void VertexAttrib4(int index, float x, float y, float z, float w)
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Single x

Specifies the new values to be used for the specified vertex attribute.

Single y

Specifies the new values to be used for the specified vertex attribute.

Single z

Specifies the new values to be used for the specified vertex attribute.

Single w

Specifies the new values to be used for the specified vertex attribute.

VertexAttrib4(Int32, ref Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
[CLSCompliant(false)]
public static void VertexAttrib4(int index, [Count(Count = 4)] ref float v)
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Single v

[length: 4] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib4(Int32, Single[])

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
[CLSCompliant(false)]
public static void VertexAttrib4(int index, [Count(Count = 4)] float[] v)
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Single[] v

[length: 4] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib4(UInt32, Single*)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
[CLSCompliant(false)]
public static void VertexAttrib4(uint index, [Count(Count = 4)] float *v)
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Single* v

[length: 4] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib4(UInt32, Single, Single, Single, Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4f")]
[CLSCompliant(false)]
public static void VertexAttrib4(uint index, float x, float y, float z, float w)
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Single x

Specifies the new values to be used for the specified vertex attribute.

Single y

Specifies the new values to be used for the specified vertex attribute.

Single z

Specifies the new values to be used for the specified vertex attribute.

Single w

Specifies the new values to be used for the specified vertex attribute.

VertexAttrib4(UInt32, ref Single)

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
[CLSCompliant(false)]
public static void VertexAttrib4(uint index, [Count(Count = 4)] ref float v)
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Single v

[length: 4] Specifies the new values to be used for the specified vertex attribute.

VertexAttrib4(UInt32, Single[])

[requires: v2.0 or ES_VERSION_2_0] Specify the value of a generic vertex attribute

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
[CLSCompliant(false)]
public static void VertexAttrib4(uint index, [Count(Count = 4)] float[] v)
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Single[] v

[length: 4] Specifies the new values to be used for the specified vertex attribute.

VertexAttribPointer(Int32, Int32, All, Boolean, Int32, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Define an array of generic vertex attribute data

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
[CLSCompliant(false)]
public static void VertexAttribPointer(int index, int size, All type, bool normalized, int stride, [Count(Computed = "size,type,stride")] IntPtr pointer)
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Int32 size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

All type

Specifies the data type of each component in the array. Symbolic constants Byte, UnsignedByte, Short, UnsignedShort, Fixed, or Float are accepted. The initial value is Float.

Boolean normalized

Specifies whether fixed-point data values should be normalized (True) or converted directly as fixed-point values (False) when they are accessed.

Int32 stride

Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.

IntPtr pointer

[length: COMPSIZE(size,type,stride)] Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.

VertexAttribPointer(Int32, Int32, VertexAttribPointerType, Boolean, Int32, Int32)

Declaration
public static void VertexAttribPointer(int index, int size, VertexAttribPointerType type, bool normalized, int stride, int offset)
Parameters
Type Name Description
Int32 index
Int32 size
VertexAttribPointerType type
Boolean normalized
Int32 stride
Int32 offset

VertexAttribPointer(Int32, Int32, VertexAttribPointerType, Boolean, Int32, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Define an array of generic vertex attribute data

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
[CLSCompliant(false)]
public static void VertexAttribPointer(int index, int size, VertexAttribPointerType type, bool normalized, int stride, [Count(Computed = "size,type,stride")] IntPtr pointer)
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Int32 size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

VertexAttribPointerType type

Specifies the data type of each component in the array. Symbolic constants Byte, UnsignedByte, Short, UnsignedShort, Fixed, or Float are accepted. The initial value is Float.

Boolean normalized

Specifies whether fixed-point data values should be normalized (True) or converted directly as fixed-point values (False) when they are accessed.

Int32 stride

Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.

IntPtr pointer

[length: COMPSIZE(size,type,stride)] Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.

VertexAttribPointer(UInt32, Int32, All, Boolean, Int32, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Define an array of generic vertex attribute data

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
[CLSCompliant(false)]
public static void VertexAttribPointer(uint index, int size, All type, bool normalized, int stride, [Count(Computed = "size,type,stride")] IntPtr pointer)
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Int32 size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

All type

Specifies the data type of each component in the array. Symbolic constants Byte, UnsignedByte, Short, UnsignedShort, Fixed, or Float are accepted. The initial value is Float.

Boolean normalized

Specifies whether fixed-point data values should be normalized (True) or converted directly as fixed-point values (False) when they are accessed.

Int32 stride

Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.

IntPtr pointer

[length: COMPSIZE(size,type,stride)] Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.

VertexAttribPointer(UInt32, Int32, VertexAttribPointerType, Boolean, Int32, Int32)

Declaration
[CLSCompliant(false)]
public static void VertexAttribPointer(uint index, int size, VertexAttribPointerType type, bool normalized, int stride, int offset)
Parameters
Type Name Description
UInt32 index
Int32 size
VertexAttribPointerType type
Boolean normalized
Int32 stride
Int32 offset

VertexAttribPointer(UInt32, Int32, VertexAttribPointerType, Boolean, Int32, IntPtr)

[requires: v2.0 or ES_VERSION_2_0] Define an array of generic vertex attribute data

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
[CLSCompliant(false)]
public static void VertexAttribPointer(uint index, int size, VertexAttribPointerType type, bool normalized, int stride, [Count(Computed = "size,type,stride")] IntPtr pointer)
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Int32 size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

VertexAttribPointerType type

Specifies the data type of each component in the array. Symbolic constants Byte, UnsignedByte, Short, UnsignedShort, Fixed, or Float are accepted. The initial value is Float.

Boolean normalized

Specifies whether fixed-point data values should be normalized (True) or converted directly as fixed-point values (False) when they are accessed.

Int32 stride

Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.

IntPtr pointer

[length: COMPSIZE(size,type,stride)] Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.

VertexAttribPointer<T5>(Int32, Int32, All, Boolean, Int32, ref T5)

[requires: v2.0 or ES_VERSION_2_0] Define an array of generic vertex attribute data

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
[CLSCompliant(false)]
public static void VertexAttribPointer<T5>(int index, int size, All type, bool normalized, int stride, [Count(Computed = "size,type,stride")] ref T5 pointer)
    where T5 : struct
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Int32 size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

All type

Specifies the data type of each component in the array. Symbolic constants Byte, UnsignedByte, Short, UnsignedShort, Fixed, or Float are accepted. The initial value is Float.

Boolean normalized

Specifies whether fixed-point data values should be normalized (True) or converted directly as fixed-point values (False) when they are accessed.

Int32 stride

Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.

T5 pointer

[length: COMPSIZE(size,type,stride)] Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.

Type Parameters
Name Description
T5

VertexAttribPointer<T5>(Int32, Int32, All, Boolean, Int32, T5[])

[requires: v2.0 or ES_VERSION_2_0] Define an array of generic vertex attribute data

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
[CLSCompliant(false)]
public static void VertexAttribPointer<T5>(int index, int size, All type, bool normalized, int stride, [Count(Computed = "size,type,stride")] T5[] pointer)
    where T5 : struct
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Int32 size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

All type

Specifies the data type of each component in the array. Symbolic constants Byte, UnsignedByte, Short, UnsignedShort, Fixed, or Float are accepted. The initial value is Float.

Boolean normalized

Specifies whether fixed-point data values should be normalized (True) or converted directly as fixed-point values (False) when they are accessed.

Int32 stride

Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.

T5[] pointer

[length: COMPSIZE(size,type,stride)] Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.

Type Parameters
Name Description
T5

VertexAttribPointer<T5>(Int32, Int32, All, Boolean, Int32, T5[,,])

[requires: v2.0 or ES_VERSION_2_0] Define an array of generic vertex attribute data

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
[CLSCompliant(false)]
public static void VertexAttribPointer<T5>(int index, int size, All type, bool normalized, int stride, [Count(Computed = "size,type,stride")] T5[,, ] pointer)
    where T5 : struct
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Int32 size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

All type

Specifies the data type of each component in the array. Symbolic constants Byte, UnsignedByte, Short, UnsignedShort, Fixed, or Float are accepted. The initial value is Float.

Boolean normalized

Specifies whether fixed-point data values should be normalized (True) or converted directly as fixed-point values (False) when they are accessed.

Int32 stride

Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.

T5[,,] pointer

[length: COMPSIZE(size,type,stride)] Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.

Type Parameters
Name Description
T5

VertexAttribPointer<T5>(Int32, Int32, All, Boolean, Int32, T5[,])

[requires: v2.0 or ES_VERSION_2_0] Define an array of generic vertex attribute data

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
[CLSCompliant(false)]
public static void VertexAttribPointer<T5>(int index, int size, All type, bool normalized, int stride, [Count(Computed = "size,type,stride")] T5[, ] pointer)
    where T5 : struct
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Int32 size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

All type

Specifies the data type of each component in the array. Symbolic constants Byte, UnsignedByte, Short, UnsignedShort, Fixed, or Float are accepted. The initial value is Float.

Boolean normalized

Specifies whether fixed-point data values should be normalized (True) or converted directly as fixed-point values (False) when they are accessed.

Int32 stride

Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.

T5[,] pointer

[length: COMPSIZE(size,type,stride)] Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.

Type Parameters
Name Description
T5

VertexAttribPointer<T5>(Int32, Int32, VertexAttribPointerType, Boolean, Int32, ref T5)

[requires: v2.0 or ES_VERSION_2_0] Define an array of generic vertex attribute data

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
[CLSCompliant(false)]
public static void VertexAttribPointer<T5>(int index, int size, VertexAttribPointerType type, bool normalized, int stride, [Count(Computed = "size,type,stride")] ref T5 pointer)
    where T5 : struct
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Int32 size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

VertexAttribPointerType type

Specifies the data type of each component in the array. Symbolic constants Byte, UnsignedByte, Short, UnsignedShort, Fixed, or Float are accepted. The initial value is Float.

Boolean normalized

Specifies whether fixed-point data values should be normalized (True) or converted directly as fixed-point values (False) when they are accessed.

Int32 stride

Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.

T5 pointer

[length: COMPSIZE(size,type,stride)] Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.

Type Parameters
Name Description
T5

VertexAttribPointer<T5>(Int32, Int32, VertexAttribPointerType, Boolean, Int32, T5[])

[requires: v2.0 or ES_VERSION_2_0] Define an array of generic vertex attribute data

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
[CLSCompliant(false)]
public static void VertexAttribPointer<T5>(int index, int size, VertexAttribPointerType type, bool normalized, int stride, [Count(Computed = "size,type,stride")] T5[] pointer)
    where T5 : struct
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Int32 size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

VertexAttribPointerType type

Specifies the data type of each component in the array. Symbolic constants Byte, UnsignedByte, Short, UnsignedShort, Fixed, or Float are accepted. The initial value is Float.

Boolean normalized

Specifies whether fixed-point data values should be normalized (True) or converted directly as fixed-point values (False) when they are accessed.

Int32 stride

Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.

T5[] pointer

[length: COMPSIZE(size,type,stride)] Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.

Type Parameters
Name Description
T5

VertexAttribPointer<T5>(Int32, Int32, VertexAttribPointerType, Boolean, Int32, T5[,,])

[requires: v2.0 or ES_VERSION_2_0] Define an array of generic vertex attribute data

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
[CLSCompliant(false)]
public static void VertexAttribPointer<T5>(int index, int size, VertexAttribPointerType type, bool normalized, int stride, [Count(Computed = "size,type,stride")] T5[,, ] pointer)
    where T5 : struct
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Int32 size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

VertexAttribPointerType type

Specifies the data type of each component in the array. Symbolic constants Byte, UnsignedByte, Short, UnsignedShort, Fixed, or Float are accepted. The initial value is Float.

Boolean normalized

Specifies whether fixed-point data values should be normalized (True) or converted directly as fixed-point values (False) when they are accessed.

Int32 stride

Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.

T5[,,] pointer

[length: COMPSIZE(size,type,stride)] Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.

Type Parameters
Name Description
T5

VertexAttribPointer<T5>(Int32, Int32, VertexAttribPointerType, Boolean, Int32, T5[,])

[requires: v2.0 or ES_VERSION_2_0] Define an array of generic vertex attribute data

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
[CLSCompliant(false)]
public static void VertexAttribPointer<T5>(int index, int size, VertexAttribPointerType type, bool normalized, int stride, [Count(Computed = "size,type,stride")] T5[, ] pointer)
    where T5 : struct
Parameters
Type Name Description
Int32 index

Specifies the index of the generic vertex attribute to be modified.

Int32 size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

VertexAttribPointerType type

Specifies the data type of each component in the array. Symbolic constants Byte, UnsignedByte, Short, UnsignedShort, Fixed, or Float are accepted. The initial value is Float.

Boolean normalized

Specifies whether fixed-point data values should be normalized (True) or converted directly as fixed-point values (False) when they are accessed.

Int32 stride

Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.

T5[,] pointer

[length: COMPSIZE(size,type,stride)] Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.

Type Parameters
Name Description
T5

VertexAttribPointer<T5>(UInt32, Int32, All, Boolean, Int32, ref T5)

[requires: v2.0 or ES_VERSION_2_0] Define an array of generic vertex attribute data

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
[CLSCompliant(false)]
public static void VertexAttribPointer<T5>(uint index, int size, All type, bool normalized, int stride, [Count(Computed = "size,type,stride")] ref T5 pointer)
    where T5 : struct
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Int32 size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

All type

Specifies the data type of each component in the array. Symbolic constants Byte, UnsignedByte, Short, UnsignedShort, Fixed, or Float are accepted. The initial value is Float.

Boolean normalized

Specifies whether fixed-point data values should be normalized (True) or converted directly as fixed-point values (False) when they are accessed.

Int32 stride

Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.

T5 pointer

[length: COMPSIZE(size,type,stride)] Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.

Type Parameters
Name Description
T5

VertexAttribPointer<T5>(UInt32, Int32, All, Boolean, Int32, T5[])

[requires: v2.0 or ES_VERSION_2_0] Define an array of generic vertex attribute data

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
[CLSCompliant(false)]
public static void VertexAttribPointer<T5>(uint index, int size, All type, bool normalized, int stride, [Count(Computed = "size,type,stride")] T5[] pointer)
    where T5 : struct
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Int32 size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

All type

Specifies the data type of each component in the array. Symbolic constants Byte, UnsignedByte, Short, UnsignedShort, Fixed, or Float are accepted. The initial value is Float.

Boolean normalized

Specifies whether fixed-point data values should be normalized (True) or converted directly as fixed-point values (False) when they are accessed.

Int32 stride

Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.

T5[] pointer

[length: COMPSIZE(size,type,stride)] Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.

Type Parameters
Name Description
T5

VertexAttribPointer<T5>(UInt32, Int32, All, Boolean, Int32, T5[,,])

[requires: v2.0 or ES_VERSION_2_0] Define an array of generic vertex attribute data

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
[CLSCompliant(false)]
public static void VertexAttribPointer<T5>(uint index, int size, All type, bool normalized, int stride, [Count(Computed = "size,type,stride")] T5[,, ] pointer)
    where T5 : struct
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Int32 size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

All type

Specifies the data type of each component in the array. Symbolic constants Byte, UnsignedByte, Short, UnsignedShort, Fixed, or Float are accepted. The initial value is Float.

Boolean normalized

Specifies whether fixed-point data values should be normalized (True) or converted directly as fixed-point values (False) when they are accessed.

Int32 stride

Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.

T5[,,] pointer

[length: COMPSIZE(size,type,stride)] Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.

Type Parameters
Name Description
T5

VertexAttribPointer<T5>(UInt32, Int32, All, Boolean, Int32, T5[,])

[requires: v2.0 or ES_VERSION_2_0] Define an array of generic vertex attribute data

Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
[CLSCompliant(false)]
public static void VertexAttribPointer<T5>(uint index, int size, All type, bool normalized, int stride, [Count(Computed = "size,type,stride")] T5[, ] pointer)
    where T5 : struct
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Int32 size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

All type

Specifies the data type of each component in the array. Symbolic constants Byte, UnsignedByte, Short, UnsignedShort, Fixed, or Float are accepted. The initial value is Float.

Boolean normalized

Specifies whether fixed-point data values should be normalized (True) or converted directly as fixed-point values (False) when they are accessed.

Int32 stride

Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.

T5[,] pointer

[length: COMPSIZE(size,type,stride)] Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.

Type Parameters
Name Description
T5

VertexAttribPointer<T5>(UInt32, Int32, VertexAttribPointerType, Boolean, Int32, ref T5)

[requires: v2.0 or ES_VERSION_2_0] Define an array of generic vertex attribute data

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
[CLSCompliant(false)]
public static void VertexAttribPointer<T5>(uint index, int size, VertexAttribPointerType type, bool normalized, int stride, [Count(Computed = "size,type,stride")] ref T5 pointer)
    where T5 : struct
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Int32 size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

VertexAttribPointerType type

Specifies the data type of each component in the array. Symbolic constants Byte, UnsignedByte, Short, UnsignedShort, Fixed, or Float are accepted. The initial value is Float.

Boolean normalized

Specifies whether fixed-point data values should be normalized (True) or converted directly as fixed-point values (False) when they are accessed.

Int32 stride

Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.

T5 pointer

[length: COMPSIZE(size,type,stride)] Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.

Type Parameters
Name Description
T5

VertexAttribPointer<T5>(UInt32, Int32, VertexAttribPointerType, Boolean, Int32, T5[])

[requires: v2.0 or ES_VERSION_2_0] Define an array of generic vertex attribute data

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
[CLSCompliant(false)]
public static void VertexAttribPointer<T5>(uint index, int size, VertexAttribPointerType type, bool normalized, int stride, [Count(Computed = "size,type,stride")] T5[] pointer)
    where T5 : struct
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Int32 size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

VertexAttribPointerType type

Specifies the data type of each component in the array. Symbolic constants Byte, UnsignedByte, Short, UnsignedShort, Fixed, or Float are accepted. The initial value is Float.

Boolean normalized

Specifies whether fixed-point data values should be normalized (True) or converted directly as fixed-point values (False) when they are accessed.

Int32 stride

Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.

T5[] pointer

[length: COMPSIZE(size,type,stride)] Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.

Type Parameters
Name Description
T5

VertexAttribPointer<T5>(UInt32, Int32, VertexAttribPointerType, Boolean, Int32, T5[,,])

[requires: v2.0 or ES_VERSION_2_0] Define an array of generic vertex attribute data

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
[CLSCompliant(false)]
public static void VertexAttribPointer<T5>(uint index, int size, VertexAttribPointerType type, bool normalized, int stride, [Count(Computed = "size,type,stride")] T5[,, ] pointer)
    where T5 : struct
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Int32 size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

VertexAttribPointerType type

Specifies the data type of each component in the array. Symbolic constants Byte, UnsignedByte, Short, UnsignedShort, Fixed, or Float are accepted. The initial value is Float.

Boolean normalized

Specifies whether fixed-point data values should be normalized (True) or converted directly as fixed-point values (False) when they are accessed.

Int32 stride

Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.

T5[,,] pointer

[length: COMPSIZE(size,type,stride)] Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.

Type Parameters
Name Description
T5

VertexAttribPointer<T5>(UInt32, Int32, VertexAttribPointerType, Boolean, Int32, T5[,])

[requires: v2.0 or ES_VERSION_2_0] Define an array of generic vertex attribute data

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
[CLSCompliant(false)]
public static void VertexAttribPointer<T5>(uint index, int size, VertexAttribPointerType type, bool normalized, int stride, [Count(Computed = "size,type,stride")] T5[, ] pointer)
    where T5 : struct
Parameters
Type Name Description
UInt32 index

Specifies the index of the generic vertex attribute to be modified.

Int32 size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

VertexAttribPointerType type

Specifies the data type of each component in the array. Symbolic constants Byte, UnsignedByte, Short, UnsignedShort, Fixed, or Float are accepted. The initial value is Float.

Boolean normalized

Specifies whether fixed-point data values should be normalized (True) or converted directly as fixed-point values (False) when they are accessed.

Int32 stride

Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.

T5[,] pointer

[length: COMPSIZE(size,type,stride)] Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.

Type Parameters
Name Description
T5

Viewport(Point, Size)

Declaration
public static void Viewport(Point location, Size size)
Parameters
Type Name Description
Point location
Size size

Viewport(Rectangle)

Declaration
public static void Viewport(Rectangle rectangle)
Parameters
Type Name Description
Rectangle rectangle

Viewport(Size)

Declaration
public static void Viewport(Size size)
Parameters
Type Name Description
Size size

Viewport(Int32, Int32, Int32, Int32)

[requires: v2.0 or ES_VERSION_2_0] Set the viewport

Declaration
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glViewport")]
public static void Viewport(int x, int y, int width, int height)
Parameters
Type Name Description
Int32 x

Specify the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0).

Int32 y

Specify the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0).

Int32 width

Specify the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window.

Int32 height

Specify the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window.

In This Article
Back to top Generated by DocFX