Class GraphicsBindingsBase
Implements BindingsBase for the OpenTK.Graphics namespace (OpenGL and OpenGL|ES).
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OpenTK.Graphics
Assembly: cs.temp.dll.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 |
---|---|---|
System.String | funcname | A System.String that defines the name of the function. |
Returns
Type | Description |
---|---|
System.IntPtr | A System.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.