Using Vulkan with SFML?

守給你的承諾、 提交于 2019-12-24 19:33:27

问题


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.



来源:https://stackoverflow.com/questions/52963428/using-vulkan-with-sfml

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!