-->

Using Vulkan with SFML?

2019-08-19 08:16发布

问题:

Im currently using GLFW for window creation and user input. GLFW simply allows us to say:

glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API);

To tell GLFW were not working with OpenGL. It even provides function like

glfwCreateWindowSurface(...)

To automate window surface creation for different platforms.

Is there any way I can do something similar with SFML? I could not find any information about it on their website, so i assume the answer is no. But maybe there is some kind of hack, or is this not advised?

回答1:

This is not yet integrated into SFML, but there's an open pull request adding/discussing this feature.



标签: c++ sfml vulkan