Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Vulkan API crossplatform demos in Go

License

NotificationsYou must be signed in to change notification settings

vulkan-go/demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • 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

GLFW v3.3

A standardgo run main.go /go build in each of the glfw demo folders should work out of the box for most platforms.

For macOS / iOS the MoltenVK.framework needs to be installed in the /Library/Frameworks folder for the build to find it. It can be downloaded as part of he Vulkan SDK:https://vulkan.lunarg.com/sdk/home

Manual configuration

ForOS X / macOS you'll need to install the latest GLFW 3.3 from masterhttps://github.com/glfw/glfwand prepare MoltenVKhttps://moltengl.com/moltenvk/ SDK beforehand so CMake could find it.

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

ForWindows you don't need to compile MoltenVK and can use GLFW 3.2.1 distro from the sitehttp://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 runXXX_desktop demos.

How to run on Android

Refer toxlab/android-go/examples/minimal

License

WTFPL

About

Vulkan API crossplatform demos in Go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors5


[8]ページ先頭

©2009-2025 Movatter.jp