Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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:

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](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/