vulkan: Bindings to the Vulkan graphics API.

[ bsd3, graphics, library ] [ Propose Tags ]

Please see readme.md


[Skip to Readme]

Modules

[Index]

Flags

Automatic Flags
NameDescriptionDefault
xlib

Enable xlib specific extensions

Enabled
xlib_xrandr

Enable xlib_xrandr specific extensions

Enabled
xcb

Enable xcb specific extensions

Enabled
wayland

Enable wayland specific extensions

Enabled
mir

Enable mir specific extensions

Enabled
android

Enable android specific extensions

Enabled
win32

Enable win32 specific extensions

Enabled
vi

Enable vi specific extensions

Enabled
ios

Enable ios specific extensions

Enabled
macos

Enable macos specific extensions

Enabled
safe-foreign-calls

Do not mark foreign imports as unsafe. This means that callbacks from Vulkan to Haskell will work. If you are using these then make sure this flag is enabled.

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Versions [RSS] 0.1.0.0, 0.2.0.0, 1.0.0.0, 1.2.0.0, 1.3.0.0, 1.3.1.0, 1.3.2.0, 1.5.0.0, 1.5.1.0, 1.6.0.0, 1.7.0.0, 2.0.0.0, 2.0.0.1, 2.1.0.0, 3.0.0.0, 3.1.0.0, 3.2.0.0, 3.3, 3.3.1, 3.4, 3.5, 3.6, 3.6.1, 3.6.2, 3.6.3, 3.6.4, 3.6.5, 3.6.6, 3.6.7, 3.6.8, 3.6.9, 3.6.10, 3.6.11, 3.6.11.1, 3.6.12, 3.6.13, 3.6.14, 3.6.15, 3.7, 3.8, 3.8.1, 3.8.2, 3.8.3, 3.9, 3.9.1, 3.10, 3.10.1, 3.10.2, 3.10.3, 3.10.4, 3.11, 3.11.0.2, 3.11.1, 3.11.2, 3.11.3, 3.11.4, 3.11.4.1, 3.11.5, 3.12, 3.12.1, 3.12.2, 3.13, 3.13.1, 3.13.2, 3.13.3, 3.13.4, 3.14, 3.14.1, 3.14.2, 3.15, 3.16, 3.16.1, 3.16.2, 3.17, 3.21, 3.21.1, 3.22, 3.22.1, 3.23, 3.23.1, 3.23.2, 3.23.3, 3.23.4, 3.24, 3.24.1, 3.24.2, 3.24.3, 3.24.4, 3.24.5, 3.25, 3.26, 3.26.1 (info)
Change log changelog.md
Dependencies base (>=4.9 && <5), cpphs, vector-sized (>=0.1 && <1.1) [details]
License BSD-3-Clause
Copyright 2018 Joe Hermaszewski
Author Joe Hermaszewski
Maintainer live.long.and.prosper@monoid.al
Category Graphics
Home page http://github.com/expipiplus1/vulkan#readme
Source repo head: git clone https://github.com/expipiplus1/vulkan
Uploaded by jophish at 2018-04-22T06:39:43Z
Distributions NixOS:3.26.1
Reverse Dependencies 10 direct, 1 indirect [details]
Downloads 35058 total (210 in the last 30 days)
Rating 2.5 (votes: 8) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for vulkan-2.1.0.0

[back to package description]

Vulkan

Haskell bindings to the Vulkan graphics API

Building

This package requires GHC 8.0 or higher due to the use of the DuplicateRecordFields and Strict language extensions.

Current Status

All the core Vulkan 1.0 and 1.1 functionality is here as well as all the extensions.

This is currently a 64 bit only library.

Examples can be found here

Differences from the vulkan API

Bools are strongly typed, this doesn't prevent any valid usage apart from passing the numeric literals 0 and 1 to functions.

Ideas

TODO: Move these to issues:

Wrappers for passing in size, pointer pair Wrappers for passing in null terminated list

withXXX functions for create/destroy pairs.

Haddock tables soon: https://github.com/haskell/haddock/pull/718