Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

convert GLFWwindow* to IntPtr

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

// Convert back to GLFWwindow*
(GLFWwindow*) ptr.ToPointer();
 
PREVIOUS NEXT
Tagged: #convert #IntPtr
ADD COMMENT
Topic
Name
7+2 =