Class GraphicsBindingsBase
Implements BindingsBase for the OpenTK.Graphics namespace (OpenGL and OpenGL|ES).
Inherited Members
Namespace: OpenTK.Graphics
Assembly: OpenTK.dll
Syntax
public abstract class GraphicsBindingsBase : BindingsBase
Methods
GetAddress(String)
Retrieves an unmanaged function pointer to the specified function.
Declaration
protected override IntPtr GetAddress(string funcname)
Parameters
Type | Name | Description |
---|---|---|
String | funcname | A String that defines the name of the function. |
Returns
Type | Description |
---|---|
IntPtr | A IntPtr that contains the address of funcname or IntPtr.Zero, if the function is not supported by the drivers. |
Overrides
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.