@hackage / VulkanMemoryAllocator

Bindings to the VulkanMemoryAllocator library

Latest0.11.1.0

About

Metadata

  • Last updated , by AlexanderBondarenko
  • License BSD-3-Clause
  • Categories Graphics
  • Maintained by: Ellie Hermaszewska <live.long.and.prosper@monoid.al>

  • Lottery factor: 1

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    generic-instances (off by default)

    Derive Generic instances for all structs. Disabled by default because of code size and compile time impact.

    safe-foreign-calls (off by default)

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

    vma-ndebug (off by default)

    Compile VulkanMemoryAllocator with NDEBUG to disable assertions.

    vma-recording (off by default)

    Compile VulkanMemoryAllocator with VMA_RECORDING_ENABLED to enable recording functionality.

Readme

VulkanMemoryAllocator

Slightly high level Haskell bindings to the Vulkan Memory Allocator library.

These bindings are intended to be imported qualified and do not feature the Vma prefixes on commands, structures or constants.

This builds on the vulkan Package. It uses the same method of generating slightly-high-level bindings, see the vulkan readme for more info.