-
I set up an Xcode project to build the hello-triangle sample on macOS. Then I changed its configuration to use Metal rather than OpenGL as the backend. I expected it wouldn't work without further changes because I was not yet including or linking to libMoltenVK.dylib and libvulkan.1.dylib. Yet it did work. Why? Does libsdl2.dylib or some static library serve the same purpose? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
MoltenVK and libvulkan are for Vulkan only, not for Metal. They're not needed unless you absolutely want to use the Vulkan backend on macos (it's only really useful to us since MoltenVK translates Vulkan to Metal). |
Beta Was this translation helpful? Give feedback.
MoltenVK and libvulkan are for Vulkan only, not for Metal. They're not needed unless you absolutely want to use the Vulkan backend on macos (it's only really useful to us since MoltenVK translates Vulkan to Metal).