convert glfwwindow 2a to intptr

Solutions on MaxInterview for convert glfwwindow 2a to intptr by the best coders in the world

showing results for - "convert glfwwindow 2a to intptr"
Tidiane
18 Mar 2020
1// C++/CLR
2// Convert to IntPtr
3IntPtr ptr(window);
4
5// Convert back to GLFWwindow*
6(GLFWwindow*) ptr.ToPointer();