vulkan-api: Low-level low-overhead vulkan api bindings

[ bsd3, graphics, library, opengl, vulkan ] [ Propose Tags ]

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.

Modules

[Index]

  • Graphics
    • Graphics.Vulkan
      • Graphics.Vulkan.Constants
      • Graphics.Vulkan.Core_1_0
      • Graphics.Vulkan.Core_1_1
      • Graphics.Vulkan.Ext
        • Graphics.Vulkan.Ext.VK_AMD_buffer_marker
        • Graphics.Vulkan.Ext.VK_AMD_draw_indirect_count
        • Graphics.Vulkan.Ext.VK_AMD_gcn_shader
        • Graphics.Vulkan.Ext.VK_AMD_gpu_shader_half_float
        • Graphics.Vulkan.Ext.VK_AMD_gpu_shader_int16
        • Graphics.Vulkan.Ext.VK_AMD_mixed_attachment_samples
        • Graphics.Vulkan.Ext.VK_AMD_negative_viewport_height
        • Graphics.Vulkan.Ext.VK_AMD_rasterization_order
        • Graphics.Vulkan.Ext.VK_AMD_shader_ballot
        • Graphics.Vulkan.Ext.VK_AMD_shader_core_properties
        • Graphics.Vulkan.Ext.VK_AMD_shader_explicit_vertex_parameter
        • Graphics.Vulkan.Ext.VK_AMD_shader_fragment_mask
        • Graphics.Vulkan.Ext.VK_AMD_shader_image_load_store_lod
        • Graphics.Vulkan.Ext.VK_AMD_shader_info
        • Graphics.Vulkan.Ext.VK_AMD_shader_trinary_minmax
        • Graphics.Vulkan.Ext.VK_AMD_texture_gather_bias_lod
        • Graphics.Vulkan.Ext.VK_ANDROID_external_memory_android_hardware_buffer
        • Graphics.Vulkan.Ext.VK_EXT_acquire_xlib_display
        • Graphics.Vulkan.Ext.VK_EXT_blend_operation_advanced
        • Graphics.Vulkan.Ext.VK_EXT_conservative_rasterization
        • Graphics.Vulkan.Ext.VK_EXT_debug_marker
        • Graphics.Vulkan.Ext.VK_EXT_debug_report
        • Graphics.Vulkan.Ext.VK_EXT_debug_utils
        • Graphics.Vulkan.Ext.VK_EXT_depth_range_unrestricted
        • Graphics.Vulkan.Ext.VK_EXT_descriptor_indexing
        • Graphics.Vulkan.Ext.VK_EXT_direct_mode_display
        • Graphics.Vulkan.Ext.VK_EXT_discard_rectangles
        • Graphics.Vulkan.Ext.VK_EXT_display_control
        • Graphics.Vulkan.Ext.VK_EXT_display_surface_counter
        • Graphics.Vulkan.Ext.VK_EXT_external_memory_dma_buf
        • Graphics.Vulkan.Ext.VK_EXT_external_memory_host
        • Graphics.Vulkan.Ext.VK_EXT_global_priority
        • Graphics.Vulkan.Ext.VK_EXT_hdr_metadata
        • Graphics.Vulkan.Ext.VK_EXT_post_depth_coverage
        • Graphics.Vulkan.Ext.VK_EXT_queue_family_foreign
        • Graphics.Vulkan.Ext.VK_EXT_sample_locations
        • Graphics.Vulkan.Ext.VK_EXT_sampler_filter_minmax
        • Graphics.Vulkan.Ext.VK_EXT_shader_stencil_export
        • Graphics.Vulkan.Ext.VK_EXT_shader_subgroup_ballot
        • Graphics.Vulkan.Ext.VK_EXT_shader_subgroup_vote
        • Graphics.Vulkan.Ext.VK_EXT_shader_viewport_index_layer
        • Graphics.Vulkan.Ext.VK_EXT_swapchain_colorspace
        • Graphics.Vulkan.Ext.VK_EXT_validation_cache
        • Graphics.Vulkan.Ext.VK_EXT_validation_flags
        • Graphics.Vulkan.Ext.VK_EXT_vertex_attribute_divisor
        • Graphics.Vulkan.Ext.VK_GOOGLE_display_timing
        • Graphics.Vulkan.Ext.VK_IMG_filter_cubic
        • Graphics.Vulkan.Ext.VK_IMG_format_pvrtc
        • Graphics.Vulkan.Ext.VK_KHR_16bit_storage
        • Graphics.Vulkan.Ext.VK_KHR_android_surface
        • Graphics.Vulkan.Ext.VK_KHR_bind_memory2
        • Graphics.Vulkan.Ext.VK_KHR_dedicated_allocation
        • Graphics.Vulkan.Ext.VK_KHR_descriptor_update_template
        • Graphics.Vulkan.Ext.VK_KHR_device_group
        • Graphics.Vulkan.Ext.VK_KHR_device_group_creation
        • Graphics.Vulkan.Ext.VK_KHR_display
        • Graphics.Vulkan.Ext.VK_KHR_display_swapchain
        • Graphics.Vulkan.Ext.VK_KHR_draw_indirect_count
        • Graphics.Vulkan.Ext.VK_KHR_external_fence
        • Graphics.Vulkan.Ext.VK_KHR_external_fence_capabilities
        • Graphics.Vulkan.Ext.VK_KHR_external_fence_fd
        • Graphics.Vulkan.Ext.VK_KHR_external_fence_win32
        • Graphics.Vulkan.Ext.VK_KHR_external_memory
        • Graphics.Vulkan.Ext.VK_KHR_external_memory_capabilities
        • Graphics.Vulkan.Ext.VK_KHR_external_memory_fd
        • Graphics.Vulkan.Ext.VK_KHR_external_memory_win32
        • Graphics.Vulkan.Ext.VK_KHR_external_semaphore
        • Graphics.Vulkan.Ext.VK_KHR_external_semaphore_capabilities
        • Graphics.Vulkan.Ext.VK_KHR_external_semaphore_fd
        • Graphics.Vulkan.Ext.VK_KHR_external_semaphore_win32
        • Graphics.Vulkan.Ext.VK_KHR_get_display_properties2
        • Graphics.Vulkan.Ext.VK_KHR_get_memory_requirements2
        • Graphics.Vulkan.Ext.VK_KHR_get_physical_device_properties2
        • Graphics.Vulkan.Ext.VK_KHR_get_surface_capabilities2
        • Graphics.Vulkan.Ext.VK_KHR_image_format_list
        • Graphics.Vulkan.Ext.VK_KHR_incremental_present
        • Graphics.Vulkan.Ext.VK_KHR_maintenance1
        • Graphics.Vulkan.Ext.VK_KHR_maintenance2
        • Graphics.Vulkan.Ext.VK_KHR_maintenance3
        • Graphics.Vulkan.Ext.VK_KHR_mir_surface
        • Graphics.Vulkan.Ext.VK_KHR_multiview
        • Graphics.Vulkan.Ext.VK_KHR_push_descriptor
        • Graphics.Vulkan.Ext.VK_KHR_relaxed_block_layout
        • Graphics.Vulkan.Ext.VK_KHR_sampler_mirror_clamp_to_edge
        • Graphics.Vulkan.Ext.VK_KHR_sampler_ycbcr_conversion
        • Graphics.Vulkan.Ext.VK_KHR_shader_draw_parameters
        • Graphics.Vulkan.Ext.VK_KHR_shared_presentable_image
        • Graphics.Vulkan.Ext.VK_KHR_storage_buffer_storage_class
        • Graphics.Vulkan.Ext.VK_KHR_surface
        • Graphics.Vulkan.Ext.VK_KHR_swapchain
        • Graphics.Vulkan.Ext.VK_KHR_variable_pointers
        • Graphics.Vulkan.Ext.VK_KHR_wayland_surface
        • Graphics.Vulkan.Ext.VK_KHR_win32_keyed_mutex
        • Graphics.Vulkan.Ext.VK_KHR_win32_surface
        • Graphics.Vulkan.Ext.VK_KHR_xcb_surface
        • Graphics.Vulkan.Ext.VK_KHR_xlib_surface
        • Graphics.Vulkan.Ext.VK_MVK_ios_surface
        • Graphics.Vulkan.Ext.VK_MVK_macos_surface
        • Graphics.Vulkan.Ext.VK_NN_vi_surface
        • Graphics.Vulkan.Ext.VK_NVX_device_generated_commands
        • Graphics.Vulkan.Ext.VK_NVX_multiview_per_view_attributes
        • Graphics.Vulkan.Ext.VK_NV_clip_space_w_scaling
        • Graphics.Vulkan.Ext.VK_NV_dedicated_allocation
        • Graphics.Vulkan.Ext.VK_NV_external_memory
        • Graphics.Vulkan.Ext.VK_NV_external_memory_capabilities
        • Graphics.Vulkan.Ext.VK_NV_external_memory_win32
        • Graphics.Vulkan.Ext.VK_NV_fill_rectangle
        • Graphics.Vulkan.Ext.VK_NV_fragment_coverage_to_color
        • Graphics.Vulkan.Ext.VK_NV_framebuffer_mixed_samples
        • Graphics.Vulkan.Ext.VK_NV_geometry_shader_passthrough
        • Graphics.Vulkan.Ext.VK_NV_glsl_shader
        • Graphics.Vulkan.Ext.VK_NV_sample_mask_override_coverage
        • Graphics.Vulkan.Ext.VK_NV_shader_subgroup_partitioned
        • Graphics.Vulkan.Ext.VK_NV_viewport_array2
        • Graphics.Vulkan.Ext.VK_NV_viewport_swizzle
        • Graphics.Vulkan.Ext.VK_NV_win32_keyed_mutex
      • Graphics.Vulkan.Marshal
        • Graphics.Vulkan.Marshal.Create
        • Graphics.Vulkan.Marshal.Internal
        • Graphics.Vulkan.Marshal.Proc

Flags

Automatic Flags
NameDescriptionDefault
useunsafeffidefault

Use unsafe foreign imports of Vulkan functions by default

Disabled
useplatformandroidkhr

Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_ANDROID_KHR

Disabled
useplatformiosmvk

Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_IOS_MVK

Disabled
useplatformmacosmvk

Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_MACOS_MVK

Disabled
useplatformmirkhr

Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_MIR_KHR

Disabled
useplatformvinn

Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_VI_NN

Disabled
useplatformwaylandkhr

Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_WAYLAND_KHR

Disabled
useplatformwin32khr

Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_WIN32_KHR

Disabled
useplatformxcbkhr

Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_XCB_KHR

Disabled
useplatformxlibkhr

Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_XLIB_KHR

Disabled
useplatformxlibxrandrext

Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_XLIB_XRANDR_EXT

Disabled
usenativeffi-1-0

Enable foreign-imported functions from Vulkan 1.0 feature set

Disabled
usenativeffi-1-1

Enable foreign-imported functions from Vulkan 1.1 feature set

Disabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 1.1.0.0, 1.1.1.0, 1.1.2.0, 1.1.2.1, 1.1.3.0, 1.1.3.1, 1.1.4.0, 1.2.0.0, 1.3.0.0, 1.4.0.0 (info)
Dependencies base (>=4.9 && <5) [details]
License BSD-3-Clause
Copyright Copyright: (c) 2018 Artem Chirkin
Author Artem Chirkin
Maintainer chirkin@arch.ethz.ch
Category vulkan, bsd3, graphics, library, opengl
Home page https://github.com/achirkin/vulkan#readme
Source repo head: git clone https://github.com/achirkin/vulkan(vulkan-api)
Uploaded by achirkin at 2019-06-07T18:47:49Z
Distributions NixOS:1.4.0.0
Reverse Dependencies 1 direct, 1 indirect [details]
Downloads 5073 total (40 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
Last success reported on 2019-06-07 [all 1 reports]