Answers for "convert GLFWwindow* to IntPtr"

C++
0

convert GLFWwindow* to IntPtr

// C++/CLR
// Convert to IntPtr
IntPtr ptr(window);

// Convert back to GLFWwindow*
(GLFWwindow*) ptr.ToPointer();
Posted by: Guest on April-03-2020

Browse Popular Code Answers by Language