Show / Hide Table of Contents

Class GraphicsBindingsBase

Implements BindingsBase for the OpenTK.Graphics namespace (OpenGL and OpenGL|ES).

Inheritance
Object
BindingsBase
GraphicsBindingsBase
GL
GL
GL
GL
GL
Inherited Members
BindingsBase.RebuildExtensionList
BindingsBase.SyncRoot
BindingsBase.MarshalPtrToString(IntPtr)
BindingsBase.MarshalStringToPtr(String)
BindingsBase.FreeStringPtr(IntPtr)
BindingsBase.MarshalStringArrayToPtr(String[])
BindingsBase.FreeStringArrayPtr(IntPtr, Int32)
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
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
BindingsBase.GetAddress(String)
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.

In This Article
Back to top Generated by DocFX