-
I tried to use glfw to make rendering window for Windows and macOS, but I searched the entire library and found no relevant interface like glfwGetWin32Window or glfwGetCocoaWindow. So how do i get hwnd and nsWindow? |
Beta Was this translation helpful? Give feedback.
Answered by
haolange
May 1, 2022
Replies: 1 comment
-
Oh i found solution. public IntPtr windowPtr => new GlfwNativeWindow(m_Glfw, m_Glfwindow).Win32.Value.Hwnd; |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Perksey
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh i found solution.
public IntPtr windowPtr => new GlfwNativeWindow(m_Glfw, m_Glfwindow).Win32.Value.Hwnd;