GetProcAddress() public static method

public static GetProcAddress ( string procedureName ) : IntPtr
procedureName string
return System.IntPtr
Ejemplo n.º 1
0
 public static void Init()
 {
     SwapInterval = (SwapIntervalFunc)Marshal.GetDelegateForFunctionPointer(GL.GetProcAddress("wglSwapIntervalEXT"), typeof(SwapIntervalFunc));
 }
Ejemplo n.º 2
0
 public static void Init()
 {
     SwapIntervalMesa = (SwapIntervalMesaFunc)Marshal.GetDelegateForFunctionPointer(GL.GetProcAddress("glXSwapIntervalMESA"), typeof(SwapIntervalMesaFunc));
 }