Esempio n. 1
0
 /// <summary>
 ///     Determines whether the specified <paramref name="window" /> is equal to this instance.
 /// </summary>
 /// <param name="window">A <see cref="NativeWindow" /> instance to compare for equality.</param>
 /// <returns><c>true</c> if objects represent the same window, otherwise <c>false</c>.</returns>
 public bool Equals(NativeWindow window)
 {
     if (ReferenceEquals(null, window))
     {
         return(false);
     }
     return(ReferenceEquals(this, window) || GlfwWindow.Equals(window.GlfwWindow));
 }
Esempio n. 2
0
 /// <inheritdoc cref="Object.GetHashCode" />
 public override int GetHashCode()
 {
     return(GlfwWindow.GetHashCode());
 }
Esempio n. 3
0
 public static extern IntPtr GetX11Window(GlfwWindow glfwWindow);
Esempio n. 4
0
 GetOSMesaDepthBuffer(GlfwWindow glfwWindow, out int width, out int height, out int bytesPerValue,
                      out IntPtr buffer);
Esempio n. 5
0
 public static extern IntPtr GetWaylandWindow(GlfwWindow glfwWindow);
Esempio n. 6
0
 public static extern IntPtr GetWin32Window(GlfwWindow glfwWindow);
Esempio n. 7
0
 GetOSMesaColorBuffer(GlfwWindow glfwWindow, out int width, out int height, out int format, out IntPtr buffer);
Esempio n. 8
0
 public static extern EGLSurface GetEglSurface(GlfwWindow glfwWindow);
Esempio n. 9
0
 public static extern HGLRC GetWglContext(GlfwWindow glfwWindow);
Esempio n. 10
0
 public static extern EGLContext GetEglContext(GlfwWindow glfwWindow);
Esempio n. 11
0
 public static extern GLXContext GetGLXContext(GlfwWindow glfwWindow);
Esempio n. 12
0
 public static extern OSMesaContext GetOSMesaContext(GlfwWindow glfwWindow);
Esempio n. 13
0
 public static extern NSOpenGLContext GetNSGLContext(GlfwWindow glfwWindow);
Esempio n. 14
0
 public static extern IntPtr GetCocoaWindow(GlfwWindow glfwWindow);