GithubHelp home page GithubHelp logo

fohlen / demos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vulkan-go/demos

1.0 2.0 0.0 2.16 MB

Vulkan API crossplatform demos in Go

Home Page: https://vulkanGo.com

License: Do What The F*ck You Want To Public License

Makefile 11.63% Go 84.97% GLSL 3.40%

demos's Introduction

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

demos's People

Contributors

diegoflassa avatar jclc avatar xlab avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.