GraphicsContext.IGraphicsContextInternal.GetAddress(String) Method

Definition

Gets the address of an OpenGL extension function.

IntPtr IGraphicsContextInternal.GetAddress (string function);

Parameters

function
String

The name of the OpenGL function (e.g. "glGetString")

Returns

A pointer to the specified function or IntPtr.Zero if the function isn't available in the current opengl context.

Implements

Applies to