Skip to content
This repository has been archived by the owner on May 1, 2021. It is now read-only.

oskarnp/odin-sokol

Repository files navigation

odin-sokol

Sokol bindings for the Odin programming language.

Status

Only MacOS Catalina and Metal+GL3.3 currently supported out-of-the-box since that is what I use personally, but should be easy to create build scripts for other platforms (PR:s welcome.) Sokol itself supports the following:

  • platforms: MacOS, iOS, HTML5, Win32, Linux, Android (TODO: RaspberryPi)
  • 3D-APIs: Metal, D3D11, GL3.2, GLES2, GLES3, WebGL, WebGL2

Examples

From root directory:

$ odin run examples/<name>.odin -define:RENDERER=\"metal\"
$ odin run examples/<name>.odin -define:RENDERER=\"glcore33\"

Replace <name> with the name of the example to run.

About

Sokol bindings for the Odin programming language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages