iOS Guides | Samples

OpenTK.Graphics.ES11.GL Class

Provides access to OpenGL ES 1.1 methods.

See Also: GL

Syntax

public sealed class GL : GraphicsBindingsBase

See Also

Remarks

This class contains all OpenGL enums and functions defined in the 3.1 specification. The official .spec files can be found at: http://opengl.org/registry/.

A valid OpenGL context must be created before calling any OpenGL function.

Use the ES.Load and ES.LoadAll methods to prepare function entry points prior to use. To maintain cross-platform compatibility, this must be done for both core and extension functions. The GameWindow and the GLControl class will take care of this automatically.

You can use the ES.SupportsExtension method to check whether any given category of extension functions exists in the current OpenGL context. Keep in mind that different OpenGL contexts may support different extensions, and under different entry points. Always check if all required extensions are still supported when changing visuals or pixel formats.

You may retrieve the entry point for an OpenGL function using the ES.GetDelegate method.

Opengl.org/Registry

Requirements

Namespace: OpenTK.Graphics.ES11
Assembly: OpenTK-1.0 (in OpenTK-1.0.dll)
Assembly Versions: 0.0.0.0

The members of OpenTK.Graphics.ES11.GL are listed below.

See Also: GraphicsBindingsBase

Public Constructors

GL()

Public Fields

Protected Properties

[read-only]
override
SyncRootObject.

Public Methods

static
ActiveTexture(All)
static
AlphaFunc(All, Single)
static
AlphaFuncx(All, Int32)
static
BindBuffer(All, Int32)
static
BindBuffer(All, UInt32)
static
BindTexture(All, Int32)
static
BindTexture(All, UInt32)
static
BlendFunc(All, All)
static
BufferData(All, IntPtr, IntPtr, All)
static
BufferData<T2>(All, IntPtr, out T2, All)
static
BufferData<T2>(All, IntPtr, T2[,,], All)
static
BufferData<T2>(All, IntPtr, T2[,], All)
static
BufferData<T2>(All, IntPtr, T2[], All)
static
BufferSubData(All, IntPtr, IntPtr, IntPtr)
static
BufferSubData<T3>(All, IntPtr, IntPtr, out T3)
static
BufferSubData<T3>(All, IntPtr, IntPtr, T3[,,])
static
BufferSubData<T3>(All, IntPtr, IntPtr, T3[,])
static
BufferSubData<T3>(All, IntPtr, IntPtr, T3[])
static
Clear(ClearBufferMask)
static
Clear(Int32)
static
Clear(UInt32)
static
ClearColor(Single, Single, Single, Single)
static
ClearColorx(Int32, Int32, Int32, Int32)
static
ClearDepth(Single)
static
ClearDepthx(Int32)
static
ClearStencil(Int32)
static
ClientActiveTexture(All)
static
ClipPlane(All, ref Single)
static
ClipPlane(All, Single*)
static
ClipPlane(All, Single[])
static
ClipPlanex(All, ref Int32)
static
ClipPlanex(All, Int32*)
static
ClipPlanex(All, Int32[])
static
Color4(Byte, Byte, Byte, Byte)
static
Color4(Single, Single, Single, Single)
static
Color4x(Int32, Int32, Int32, Int32)
static
ColorMask(Boolean, Boolean, Boolean, Boolean)
static
ColorPointer(Int32, All, Int32, IntPtr)
static
ColorPointer<T3>(Int32, All, Int32, out T3)
static
ColorPointer<T3>(Int32, All, Int32, T3[,,])
static
ColorPointer<T3>(Int32, All, Int32, T3[,])
static
ColorPointer<T3>(Int32, All, Int32, T3[])
static
CompressedTexImage2D(All, Int32, All, Int32, Int32, Int32, Int32, IntPtr)
static
CompressedTexImage2D<T7>(All, Int32, All, Int32, Int32, Int32, Int32, out T7)
static
CompressedTexImage2D<T7>(All, Int32, All, Int32, Int32, Int32, Int32, T7[,,])
static
CompressedTexImage2D<T7>(All, Int32, All, Int32, Int32, Int32, Int32, T7[,])
static
CompressedTexImage2D<T7>(All, Int32, All, Int32, Int32, Int32, Int32, T7[])
static
CompressedTexSubImage2D(All, Int32, Int32, Int32, Int32, Int32, All, Int32, IntPtr)
static
CompressedTexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, Int32, out T8)
static
CompressedTexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, Int32, T8[,,])
static
CompressedTexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, Int32, T8[,])
static
CompressedTexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, Int32, T8[])
static
CopyTexImage2D(All, Int32, All, Int32, Int32, Int32, Int32, Int32)
static
CopyTexSubImage2D(All, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
static
CullFace(All)
static
DeleteBuffers(Int32, ref Int32)
static
DeleteBuffers(Int32, Int32*)
static
DeleteBuffers(Int32, Int32[])
static
DeleteBuffers(Int32, ref UInt32)
static
DeleteBuffers(Int32, UInt32*)
static
DeleteBuffers(Int32, UInt32[])
static
DeleteTextures(Int32, ref Int32)
static
DeleteTextures(Int32, Int32*)
static
DeleteTextures(Int32, Int32[])
static
DeleteTextures(Int32, ref UInt32)
static
DeleteTextures(Int32, UInt32*)
static
DeleteTextures(Int32, UInt32[])
static
DepthFunc(All)
static
DepthMask(Boolean)
static
DepthRange(Single, Single)
static
DepthRangex(Int32, Int32)
static
Disable(All)
static
DisableClientState(All)
static
DrawArrays(All, Int32, Int32)
static
DrawElements(All, Int32, All, IntPtr)
static
DrawElements<T3>(All, Int32, All, out T3)
static
DrawElements<T3>(All, Int32, All, T3[,,])
static
DrawElements<T3>(All, Int32, All, T3[,])
static
DrawElements<T3>(All, Int32, All, T3[])
static
Enable(All)
static
EnableClientState(All)
static
Finish()
static
Flush()
static
Fog(All, Single)
static
Fog(All, Single*)
static
Fog(All, Single[])
static
Fogx(All, Int32)
static
Fogx(All, Int32*)
static
Fogx(All, Int32[])
static
FrontFace(All)
static
Frustum(Single, Single, Single, Single, Single, Single)
static
Frustumx(Int32, Int32, Int32, Int32, Int32, Int32)
static
GenBuffers(Int32, ref Int32)
static
GenBuffers(Int32, Int32*)
static
GenBuffers(Int32, Int32[])
static
GenBuffers(Int32, ref UInt32)
static
GenBuffers(Int32, UInt32*)
static
GenBuffers(Int32, UInt32[])
static
GenTextures(Int32, ref Int32)
static
GenTextures(Int32, Int32*)
static
GenTextures(Int32, Int32[])
static
GenTextures(Int32, ref UInt32)
static
GenTextures(Int32, UInt32*)
static
GenTextures(Int32, UInt32[])
static
GetBoolean(All, out Boolean)
static
GetBoolean(All, Boolean*)
static
GetBoolean(All, Boolean[])
static
GetBufferParameter(All, All, out Int32)
static
GetBufferParameter(All, All, Int32*)
static
GetBufferParameter(All, All, Int32[])
static
GetClipPlane(All, out Single)
static
GetClipPlane(All, Single*)
static
GetClipPlane(All, Single[])
static
GetClipPlanex(All, out Int32)
static
GetClipPlanex(All, Int32*)
static
GetClipPlanex(All, Int32[])
static
GetError() : All
static
GetFixed(All, out Int32)
static
GetFixed(All, Int32*)
static
GetFixed(All, Int32[])
static
GetFloat(All, out Single)
static
GetFloat(All, Single*)
static
GetFloat(All, Single[])
static
GetInteger(All, out Int32)
static
GetInteger(All, Int32*)
static
GetInteger(All, Int32[])
static
GetLight(All, All, out Single)
static
GetLight(All, All, Single*)
static
GetLight(All, All, Single[])
static
GetLightx(All, All, out Int32)
static
GetLightx(All, All, Int32*)
static
GetLightx(All, All, Int32[])
static
GetMaterial(All, All, out Single)
static
GetMaterial(All, All, Single*)
static
GetMaterial(All, All, Single[])
static
GetMaterialx(All, All, out Int32)
static
GetMaterialx(All, All, Int32*)
static
GetMaterialx(All, All, Int32[])
static
GetPointer(All, IntPtr)
static
GetPointer<T1>(All, out T1)
static
GetPointer<T1>(All, T1[,,])
static
GetPointer<T1>(All, T1[,])
static
GetPointer<T1>(All, T1[])
static
GetString(All) : String
static
GetTexEnv(All, All, out Int32)
static
GetTexEnv(All, All, Int32*)
static
GetTexEnv(All, All, Int32[])
static
GetTexEnv(All, All, out Single)
static
GetTexEnv(All, All, Single*)
static
GetTexEnv(All, All, Single[])
static
GetTexEnvx(All, All, out Int32)
static
GetTexEnvx(All, All, Int32*)
static
GetTexEnvx(All, All, Int32[])
static
GetTexParameter(All, All, out Int32)
static
GetTexParameter(All, All, Int32*)
static
GetTexParameter(All, All, Int32[])
static
GetTexParameter(All, All, out Single)
static
GetTexParameter(All, All, Single*)
static
GetTexParameter(All, All, Single[])
static
GetTexParameterx(All, All, out Int32)
static
GetTexParameterx(All, All, Int32*)
static
GetTexParameterx(All, All, Int32[])
static
Hint(All, All)
static
IsBuffer(Int32) : Boolean
static
IsBuffer(UInt32) : Boolean
static
IsEnabled(All) : Boolean
static
IsTexture(Int32) : Boolean
static
IsTexture(UInt32) : Boolean
static
Light(All, All, Single)
static
Light(All, All, Single*)
static
Light(All, All, Single[])
static
LightModel(All, Single)
static
LightModel(All, Single*)
static
LightModel(All, Single[])
static
LightModelx(All, Int32)
static
LightModelx(All, Int32*)
static
LightModelx(All, Int32[])
static
Lightx(All, All, Int32)
static
Lightx(All, All, Int32*)
static
Lightx(All, All, Int32[])
static
LineWidth(Single)
static
LineWidthx(Int32)
static
LoadIdentity()
static
LoadMatrix(ref Single)
static
LoadMatrix(Single*)
static
LoadMatrix(Single[])
static
LoadMatrixx(ref Int32)
static
LoadMatrixx(Int32*)
static
LoadMatrixx(Int32[])
static
LogicOp(All)
static
Material(All, All, Single)
static
Material(All, All, Single*)
static
Material(All, All, Single[])
static
Materialx(All, All, Int32)
static
Materialx(All, All, Int32*)
static
Materialx(All, All, Int32[])
static
MatrixMode(All)
static
MultiTexCoord4(All, Single, Single, Single, Single)
static
MultiTexCoord4x(All, Int32, Int32, Int32, Int32)
static
MultMatrix(ref Single)
static
MultMatrix(Single*)
static
MultMatrix(Single[])
static
MultMatrixx(ref Int32)
static
MultMatrixx(Int32*)
static
MultMatrixx(Int32[])
static
Normal3(Single, Single, Single)
static
Normal3x(Int32, Int32, Int32)
static
NormalPointer(All, Int32, IntPtr)
static
NormalPointer<T2>(All, Int32, out T2)
static
NormalPointer<T2>(All, Int32, T2[,,])
static
NormalPointer<T2>(All, Int32, T2[,])
static
NormalPointer<T2>(All, Int32, T2[])
static
Ortho(Single, Single, Single, Single, Single, Single)
static
Orthox(Int32, Int32, Int32, Int32, Int32, Int32)
static
PixelStore(All, Int32)
static
PointParameter(All, Single)
static
PointParameter(All, Single*)
static
PointParameter(All, Single[])
static
PointParameterx(All, Int32)
static
PointParameterx(All, Int32*)
static
PointParameterx(All, Int32[])
static
PointSize(Single)
static
PointSizex(Int32)
static
PolygonOffset(Single, Single)
static
PolygonOffsetx(Int32, Int32)
static
PopMatrix()
static
PushMatrix()
static
ReadPixels(Int32, Int32, Int32, Int32, All, All, IntPtr)
static
ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, out T6)
static
ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, T6[,,])
static
ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, T6[,])
static
ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, T6[])
static
Rotate(Single, Single, Single, Single)
static
Rotatex(Int32, Int32, Int32, Int32)
static
SampleCoverage(Single, Boolean)
static
SampleCoveragex(Int32, Boolean)
static
Scale(Single, Single, Single)
static
Scalex(Int32, Int32, Int32)
static
Scissor(Int32, Int32, Int32, Int32)
static
ShadeModel(All)
static
StencilFunc(All, Int32, Int32)
static
StencilFunc(All, Int32, UInt32)
static
StencilMask(Int32)
static
StencilMask(UInt32)
static
StencilOp(All, All, All)
static
TexCoordPointer(Int32, All, Int32, IntPtr)
static
TexCoordPointer<T3>(Int32, All, Int32, out T3)
static
TexCoordPointer<T3>(Int32, All, Int32, T3[,,])
static
TexCoordPointer<T3>(Int32, All, Int32, T3[,])
static
TexCoordPointer<T3>(Int32, All, Int32, T3[])
static
TexEnv(All, All, Int32)
static
TexEnv(All, All, Int32*)
static
TexEnv(All, All, Int32[])
static
TexEnv(All, All, Single)
static
TexEnv(All, All, Single*)
static
TexEnv(All, All, Single[])
static
TexEnvx(All, All, Int32)
static
TexEnvx(All, All, Int32*)
static
TexEnvx(All, All, Int32[])
static
TexImage2D(All, Int32, Int32, Int32, Int32, Int32, All, All, IntPtr)
static
TexImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, out T8)
static
TexImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[,,])
static
TexImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[,])
static
TexImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[])
static
TexParameter(All, All, Int32)
static
TexParameter(All, All, Int32*)
static
TexParameter(All, All, Int32[])
static
TexParameter(All, All, Single)
static
TexParameter(All, All, Single*)
static
TexParameter(All, All, Single[])
static
TexParameterx(All, All, Int32)
static
TexParameterx(All, All, Int32*)
static
TexParameterx(All, All, Int32[])
static
TexSubImage2D(All, Int32, Int32, Int32, Int32, Int32, All, All, IntPtr)
static
TexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, out T8)
static
TexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[,,])
static
TexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[,])
static
TexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[])
static
Translate(Single, Single, Single)
static
Translatex(Int32, Int32, Int32)
static
VertexPointer(Int32, All, Int32, IntPtr)
static
VertexPointer<T3>(Int32, All, Int32, out T3)
static
VertexPointer<T3>(Int32, All, Int32, T3[,,])
static
VertexPointer<T3>(Int32, All, Int32, T3[,])
static
VertexPointer<T3>(Int32, All, Int32, T3[])
static
Viewport(Int32, Int32, Int32, Int32)