@hackage / vulkan-api

Low-level low-overhead vulkan api bindings

Latest1.4.0.0

About

Metadata

  • Last updated , by achirkin
  • License BSD-3-Clause
  • Categories Graphics
  • Maintained by: chirkin@arch.ethz.ch

  • Lottery factor: 0

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    useunsafeffidefault (off by default)

    Use unsafe foreign imports of Vulkan functions by default

    enablebetaextensions (off by default)

    Enable platform-specific extensions protected by CPP macros VK_ENABLE_BETA_EXTENSIONS

    useplatformandroidkhr (off by default)

    Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_ANDROID_KHR

    useplatformdirectfbext (off by default)

    Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_DIRECTFB_EXT

    useplatformfuchsia (off by default)

    Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_FUCHSIA

    useplatformggp (off by default)

    Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_GGP

    useplatformiosmvk (off by default)

    Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_IOS_MVK

    useplatformmacosmvk (off by default)

    Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_MACOS_MVK

    useplatformmetalext (off by default)

    Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_METAL_EXT

    useplatformvinn (off by default)

    Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_VI_NN

    useplatformwaylandkhr (off by default)

    Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_WAYLAND_KHR

    useplatformwin32khr (off by default)

    Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_WIN32_KHR

    useplatformxcbkhr (off by default)

    Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_XCB_KHR

    useplatformxlibkhr (off by default)

    Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_XLIB_KHR

    useplatformxlibxrandrext (off by default)

    Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_XLIB_XRANDR_EXT

    usenativeffi-1-0 (off by default)

    Enable foreign-imported functions from Vulkan 1.0 feature set

    usenativeffi-1-1 (off by default)

    Enable foreign-imported functions from Vulkan 1.1 feature set

    usenativeffi-1-2 (off by default)

    Enable foreign-imported functions from Vulkan 1.2 feature set

Readme

Haskell bindings for vulkan api as described in vk.xml.

You can find some simple examples at vulkan-examples page or a more complete triangle rendering program at vulkan-triangles page.

For further information, please refer to README.md.