Skip to content

Dgzt/gdx-lwjgl3-angle-vulkan

Repository files navigation

Angle Vulkan backend for libGDX

A Google Angle based LWJGL3 backend for libGDX with vulkan rendering.

Supported operating systems:

Operating system Supported?
Windows (x64) Yes
Linux (x64) In progress
Mac OS X (x64) No1

Usage:

Add dependency to your lwjgl3 project:

implementation "org.lwjgl:lwjgl-opengles:3.3.4:natives-windows"

api 'com.github.Dgzt:gdx-lwjgl3-angle-vulkan:1.1.0'

Use Lwjgl3VulkanApplication application in your LWJGL3 launcher class:

import com.github.dgzt.gdx.lwjgl3.Lwjgl3ApplicationConfiguration;  
import com.github.dgzt.gdx.lwjgl3.Lwjgl3VulkanApplication;

...

public class Lwjgl3Launcher {  
    public static void main (String[] arg) {  
       Lwjgl3ApplicationConfiguration config = new Lwjgl3ApplicationConfiguration();
       ...
       config.setOpenGLEmulation(Lwjgl3ApplicationConfiguration.GLEmulation.ANGLE_GLES32, 0, 0);  
       new Lwjgl3VulkanApplication(new YourMainClass(), config);
    }
}

Footnotes

  1. Google Angle doesn't support Vulkan on MacOS. source

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages