vulkan: Bindings to the Vulkan graphics API.

[ bsd3, graphics, library ] [ Propose Tags ]

Please see readme.md


[Skip to Readme]
Versions 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 (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 Sun Apr 22 06:39:43 UTC 2018
Distributions NixOS:2.1.0.0
Downloads 2244 total (185 in the last 30 days)
Rating 2.5 (votes: 4) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
xlib

Enable xlib specific extensions

EnabledAutomatic
xlib_xrandr

Enable xlib_xrandr specific extensions

EnabledAutomatic
xcb

Enable xcb specific extensions

EnabledAutomatic
wayland

Enable wayland specific extensions

EnabledAutomatic
mir

Enable mir specific extensions

EnabledAutomatic
android

Enable android specific extensions

EnabledAutomatic
win32

Enable win32 specific extensions

EnabledAutomatic
vi

Enable vi specific extensions

EnabledAutomatic
ios

Enable ios specific extensions

EnabledAutomatic
macos

Enable macos specific extensions

EnabledAutomatic
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.

DisabledAutomatic

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


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