Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/defold/extension-vulkan
Enables support for Vulkan graphics
https://github.com/defold/extension-vulkan
Last synced: 4 months ago
JSON representation
Enables support for Vulkan graphics
- Host: GitHub
- URL: https://github.com/defold/extension-vulkan
- Owner: defold
- License: mit
- Created: 2020-07-01T15:53:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-06T09:23:40.000Z (over 1 year ago)
- Last Synced: 2024-10-04T22:07:51.156Z (4 months ago)
- Language: C++
- Size: 14.6 KB
- Stars: 9
- Watchers: 12
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-defold - Vulkan
README
# 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:
**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](http://www.defold.com/manuals/libraries/). Open your ["game.project"](defold://open?path=/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](https://github.com/defold/extension-vulkan/releases) (recommended!).
### Enable Output Spirv option
Note that this extension requires that the 'Output Spirv' (`shader.output_spirv`) setting is enabled in the ["game.project"](defold://open?path=/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](https://forum.defold.com) and let us know about it. You can also [create an issue here](https://github.com/defold/extension-vulkan/issues/new/choose).
---
### 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"](defold://open?path=/game.project) file. You can create an application manifest using this tool: https://britzl.github.io/manifestation/