Skip to Content
defold-typescript libraries
defold (official)

defold/extension-vulkan

A native extension that adds a Vulkan graphics adapter, used when the device supports Vulkan and falling back to OpenGL otherwise. It links MoltenVK on macOS and iOS. It adds no functions for scripts to call.

No Lua API — content, shaders, build-time tooling or engine-side native code only.

  • GitHub: defold/extension-vulkan — pinned to 1.1.0 (released while Defold 1.2.174 was current)
    1. Pick a release from defold/extension-vulkan releases and add its Source code (zip) URL (or a packaged .zip asset, if the library ships one) to game.project under [project] dependencies, then Fetch Libraries in the Defold editor.
    2. Enable shader.output_spirv, or builds fail to compile.
    3. To build with Vulkan only, exclude the OpenGL adapter through an application manifest.