Skip to content
/ demos Public
forked from vulkan-go/demos

Vulkan API crossplatform demos in Go

License

Notifications You must be signed in to change notification settings

Fohlen/demos

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang Vulkan API Demos

  • vulcaninfo
  • vulcandraw
  • vulcancube

Supported platforms

  • Windows (GLFW)
  • Android (Native)
  • Linux graphics (GLFW)
  • Linux computing (X11)
  • OS X / macOS (GLFW + MoltenVK)
  • iOS (Metal + MoltenVK)

How to run on desktops

For OS X / macOS you'll need to install the latest GLFW 3.3 from master https://github.com/glfw/glfw and prepare MoltenVK https://moltengl.com/moltenvk/ SDK beforehand so CMake could find it.

There is a Makefile https://github.com/vulkan-go/demos/blob/master/vulkancube/vulkancube_desktop/Makefile to show how to properly invoke go install specifying the path to GLFW.

For Windows you don't need to compile MoltenVK and can use GLFW 3.2.1 distro from the site http://www.glfw.org then just specify paths in Makefile or run commands by hand, specifying paths to GLFW distro folders.

Make sure your graphics card and driver are supported:

In all cases you will run XXX_desktop demos.

How to run on Android

Refer to xlab/android-go/examples/minimal

License

WTFPL

About

Vulkan API crossplatform demos in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 85.0%
  • Makefile 11.6%
  • GLSL 3.4%