IGraphicsContextInternal.GetAddress(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.