Skip to content

defold/extension-vulkan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vulkan Extension

THIS EXTENSION IS DEPRECATED

This extension is no longer maintained and is no longer needed to use vulkan in Defold. To enable vulkan support, you can select graphics adapters via the app manifest:

image

Please report any issues to the main Defold repository! (https://github.com/defold/defold)

This extension enables Vulkan support for Defold, by adding a Vulkan graphics adapter that will be used if the client device supports it. If Vulkan is not supported, the default OpenGL will be used instead.

Installation

Add project dependencies

In order to add Vulkan support you need to add the extension to your own project by adding this extension as a Defold library dependency. Open your "game.project" file and in the dependencies field under project add:

https://github.com/defold/extension-vulkan/archive/master.zip

Or point to the ZIP file of a specific release (recommended!).

Enable Output Spirv option

Note that this extension requires that the 'Output Spirv' (shader.output_spirv) setting is enabled in the "game.project" file, otherwise you will get compilation errors when building your projects.

Getting help

If you run into trouble or if you notice any artifacts while using this extension, please visit our forum and let us know about it. You can also create an issue here.


Using only Vulkan

If you want to only build using only Vulkan you need to exclude the OpenGL graphics adapter. You can do this by creating an application manifest and using it in the Native Extension section of your "game.project" file. You can create an application manifest using this tool: https://britzl.github.io/manifestation/

About

Enables support for Vulkan graphics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages