Show / Hide Table of Contents

Class GLFWBindingsContext

Provides methods for querying available functions in a GLFW context.

Inheritance
object
GLFWBindingsContext
Implements
IBindingsContext
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OpenTK.Windowing.GraphicsLibraryFramework
Assembly: OpenTK.Windowing.GraphicsLibraryFramework.dll
Syntax
public class GLFWBindingsContext : IBindingsContext

Methods

GetProcAddress(string)

Retrieves an unmanaged function pointer to the specified function on the specified bindings context.

Declaration
public IntPtr GetProcAddress(string procName)
Parameters
Type Name Description
string procName

An ASCII-encoded string that defines the name of the function.

Returns
Type Description
IntPtr

A IntPtr that contains the address of procName or IntPtr.Zero, if the function is not supported by the drivers.

Remarks

Note: some drivers are known to return non-zero values for unsupported functions. Typical values include 1 and 2 - inheritors are advised to check for and ignore these values.

Implements

IBindingsContext
In This Article
Back to top Generated by DocFX