Edit

Share via


IGraphicsContextInternal.GetAddress(String) Method

Definition

Gets the address of an OpenGL extension function.

public IntPtr GetAddress (string function);
abstract member GetAddress : string -> nativeint

Parameters

function
String

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

Returns

IntPtr

nativeint

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

Applies to