GraphicsContext.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.
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.