Show / Hide Table of Contents

Class WGLLoader.BindingsContext

The bindings context for WGL.

Inheritance
object
WGLLoader.BindingsContext
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OpenTK.Graphics
Assembly: OpenTK.Graphics.dll
Syntax
public static class WGLLoader.BindingsContext

Methods

GetProcAddress(string)

The wglGetProcAddress function returns the address of an OpenGL extension function for use with the current OpenGL rendering context.

Declaration
public static nint GetProcAddress(string procName)
Parameters
Type Name Description
string procName

Points to a null-terminated string that is the name of the extension function. The name of the extension function must be identical to a corresponding function implemented by OpenGL.

Returns
Type Description
nint

When the function succeeds, the return value is the address of the extension function. When no current rendering context exists or the function fails, the return value is NULL. To get extended error information, call GetLastError.

In this article
Back to top Generated by DocFX