mtlpp
mtlpp copied to clipboard
[Question] Glfw support
I was just wondering if there is GLFW support? If so is there any example code to use with glfw?
My understanding is that is an alternative to GLFW. Define a macro for macOS (or whatever platform you want this to run on) and then implement this as an alternative to GLFW. You might still need to implement this to your renderer system (using macros) so that your renderer code is able to be compiled with both GLFW and Metal.
check this one id glfwGetCocoaWindow ( GLFWwindow *window )