vulkan-api: Low-level low-overhead vulkan api bindings
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] [Quick Jump]
- Graphics
- Graphics.Vulkan
- Graphics.Vulkan.Constants
- Graphics.Vulkan.Core_1_0
- Graphics.Vulkan.Core_1_1
- Graphics.Vulkan.Core_1_2
- Graphics.Vulkan.Ext
- Graphics.Vulkan.Ext.VK_AMD_buffer_marker
- Graphics.Vulkan.Ext.VK_AMD_device_coherent_memory
- Graphics.Vulkan.Ext.VK_AMD_display_native_hdr
- 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_memory_overallocation_behavior
- Graphics.Vulkan.Ext.VK_AMD_mixed_attachment_samples
- Graphics.Vulkan.Ext.VK_AMD_negative_viewport_height
- Graphics.Vulkan.Ext.VK_AMD_pipeline_compiler_control
- 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_core_properties2
- 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_4444_formats
- Graphics.Vulkan.Ext.VK_EXT_acquire_xlib_display
- Graphics.Vulkan.Ext.VK_EXT_astc_decode_mode
- Graphics.Vulkan.Ext.VK_EXT_blend_operation_advanced
- Graphics.Vulkan.Ext.VK_EXT_buffer_device_address
- Graphics.Vulkan.Ext.VK_EXT_calibrated_timestamps
- Graphics.Vulkan.Ext.VK_EXT_conditional_rendering
- Graphics.Vulkan.Ext.VK_EXT_conservative_rasterization
- Graphics.Vulkan.Ext.VK_EXT_custom_border_color
- 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_clip_enable
- 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_directfb_surface
- 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_extended_dynamic_state
- Graphics.Vulkan.Ext.VK_EXT_external_memory_dma_buf
- Graphics.Vulkan.Ext.VK_EXT_external_memory_host
- Graphics.Vulkan.Ext.VK_EXT_filter_cubic
- Graphics.Vulkan.Ext.VK_EXT_fragment_density_map
- Graphics.Vulkan.Ext.VK_EXT_fragment_density_map2
- Graphics.Vulkan.Ext.VK_EXT_fragment_shader_interlock
- Graphics.Vulkan.Ext.VK_EXT_full_screen_exclusive
- Graphics.Vulkan.Ext.VK_EXT_global_priority
- Graphics.Vulkan.Ext.VK_EXT_hdr_metadata
- Graphics.Vulkan.Ext.VK_EXT_headless_surface
- Graphics.Vulkan.Ext.VK_EXT_host_query_reset
- Graphics.Vulkan.Ext.VK_EXT_image_drm_format_modifier
- Graphics.Vulkan.Ext.VK_EXT_image_robustness
- Graphics.Vulkan.Ext.VK_EXT_index_type_uint8
- Graphics.Vulkan.Ext.VK_EXT_inline_uniform_block
- Graphics.Vulkan.Ext.VK_EXT_line_rasterization
- Graphics.Vulkan.Ext.VK_EXT_memory_budget
- Graphics.Vulkan.Ext.VK_EXT_memory_priority
- Graphics.Vulkan.Ext.VK_EXT_metal_surface
- Graphics.Vulkan.Ext.VK_EXT_pci_bus_info
- Graphics.Vulkan.Ext.VK_EXT_pipeline_creation_cache_control
- Graphics.Vulkan.Ext.VK_EXT_pipeline_creation_feedback
- Graphics.Vulkan.Ext.VK_EXT_post_depth_coverage
- Graphics.Vulkan.Ext.VK_EXT_private_data
- Graphics.Vulkan.Ext.VK_EXT_queue_family_foreign
- Graphics.Vulkan.Ext.VK_EXT_robustness2
- Graphics.Vulkan.Ext.VK_EXT_sample_locations
- Graphics.Vulkan.Ext.VK_EXT_sampler_filter_minmax
- Graphics.Vulkan.Ext.VK_EXT_scalar_block_layout
- Graphics.Vulkan.Ext.VK_EXT_separate_stencil_usage
- Graphics.Vulkan.Ext.VK_EXT_shader_atomic_float
- Graphics.Vulkan.Ext.VK_EXT_shader_demote_to_helper_invocation
- 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_subgroup_size_control
- Graphics.Vulkan.Ext.VK_EXT_swapchain_colorspace
- Graphics.Vulkan.Ext.VK_EXT_texel_buffer_alignment
- Graphics.Vulkan.Ext.VK_EXT_texture_compression_astc_hdr
- Graphics.Vulkan.Ext.VK_EXT_tooling_info
- Graphics.Vulkan.Ext.VK_EXT_transform_feedback
- Graphics.Vulkan.Ext.VK_EXT_validation_cache
- Graphics.Vulkan.Ext.VK_EXT_validation_features
- Graphics.Vulkan.Ext.VK_EXT_validation_flags
- Graphics.Vulkan.Ext.VK_EXT_vertex_attribute_divisor
- Graphics.Vulkan.Ext.VK_EXT_ycbcr_image_arrays
- Graphics.Vulkan.Ext.VK_FUCHSIA_imagepipe_surface
- Graphics.Vulkan.Ext.VK_GGP_frame_token
- Graphics.Vulkan.Ext.VK_GGP_stream_descriptor_surface
- Graphics.Vulkan.Ext.VK_GOOGLE_decorate_string
- Graphics.Vulkan.Ext.VK_GOOGLE_display_timing
- Graphics.Vulkan.Ext.VK_GOOGLE_hlsl_functionality1
- Graphics.Vulkan.Ext.VK_GOOGLE_user_type
- Graphics.Vulkan.Ext.VK_IMG_filter_cubic
- Graphics.Vulkan.Ext.VK_IMG_format_pvrtc
- Graphics.Vulkan.Ext.VK_INTEL_performance_query
- Graphics.Vulkan.Ext.VK_INTEL_shader_integer_functions2
- Graphics.Vulkan.Ext.VK_KHR_16bit_storage
- Graphics.Vulkan.Ext.VK_KHR_8bit_storage
- Graphics.Vulkan.Ext.VK_KHR_android_surface
- Graphics.Vulkan.Ext.VK_KHR_bind_memory2
- Graphics.Vulkan.Ext.VK_KHR_buffer_device_address
- Graphics.Vulkan.Ext.VK_KHR_create_renderpass2
- Graphics.Vulkan.Ext.VK_KHR_dedicated_allocation
- Graphics.Vulkan.Ext.VK_KHR_deferred_host_operations
- Graphics.Vulkan.Ext.VK_KHR_depth_stencil_resolve
- 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_driver_properties
- 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_imageless_framebuffer
- 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_multiview
- Graphics.Vulkan.Ext.VK_KHR_performance_query
- Graphics.Vulkan.Ext.VK_KHR_pipeline_executable_properties
- Graphics.Vulkan.Ext.VK_KHR_pipeline_library
- Graphics.Vulkan.Ext.VK_KHR_push_descriptor
- Graphics.Vulkan.Ext.VK_KHR_ray_tracing
- 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_separate_depth_stencil_layouts
- Graphics.Vulkan.Ext.VK_KHR_shader_atomic_int64
- Graphics.Vulkan.Ext.VK_KHR_shader_clock
- Graphics.Vulkan.Ext.VK_KHR_shader_draw_parameters
- Graphics.Vulkan.Ext.VK_KHR_shader_float16_int8
- Graphics.Vulkan.Ext.VK_KHR_shader_float_controls
- Graphics.Vulkan.Ext.VK_KHR_shader_non_semantic_info
- Graphics.Vulkan.Ext.VK_KHR_shader_subgroup_extended_types
- Graphics.Vulkan.Ext.VK_KHR_shared_presentable_image
- Graphics.Vulkan.Ext.VK_KHR_spirv_1_4
- Graphics.Vulkan.Ext.VK_KHR_storage_buffer_storage_class
- Graphics.Vulkan.Ext.VK_KHR_surface
- Graphics.Vulkan.Ext.VK_KHR_surface_protected_capabilities
- Graphics.Vulkan.Ext.VK_KHR_swapchain
- Graphics.Vulkan.Ext.VK_KHR_swapchain_mutable_format
- Graphics.Vulkan.Ext.VK_KHR_timeline_semaphore
- Graphics.Vulkan.Ext.VK_KHR_uniform_buffer_standard_layout
- Graphics.Vulkan.Ext.VK_KHR_variable_pointers
- Graphics.Vulkan.Ext.VK_KHR_vulkan_memory_model
- 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_image_view_handle
- Graphics.Vulkan.Ext.VK_NVX_multiview_per_view_attributes
- Graphics.Vulkan.Ext.VK_NV_clip_space_w_scaling
- Graphics.Vulkan.Ext.VK_NV_compute_shader_derivatives
- Graphics.Vulkan.Ext.VK_NV_cooperative_matrix
- Graphics.Vulkan.Ext.VK_NV_corner_sampled_image
- Graphics.Vulkan.Ext.VK_NV_coverage_reduction_mode
- Graphics.Vulkan.Ext.VK_NV_dedicated_allocation
- Graphics.Vulkan.Ext.VK_NV_dedicated_allocation_image_aliasing
- Graphics.Vulkan.Ext.VK_NV_device_diagnostic_checkpoints
- Graphics.Vulkan.Ext.VK_NV_device_diagnostics_config
- Graphics.Vulkan.Ext.VK_NV_device_generated_commands
- 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_fragment_shader_barycentric
- 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_mesh_shader
- Graphics.Vulkan.Ext.VK_NV_ray_tracing
- Graphics.Vulkan.Ext.VK_NV_representative_fragment_test
- Graphics.Vulkan.Ext.VK_NV_sample_mask_override_coverage
- Graphics.Vulkan.Ext.VK_NV_scissor_exclusive
- Graphics.Vulkan.Ext.VK_NV_shader_image_footprint
- Graphics.Vulkan.Ext.VK_NV_shader_sm_builtins
- Graphics.Vulkan.Ext.VK_NV_shader_subgroup_partitioned
- Graphics.Vulkan.Ext.VK_NV_shading_rate_image
- Graphics.Vulkan.Ext.VK_NV_viewport_array2
- Graphics.Vulkan.Ext.VK_NV_viewport_swizzle
- Graphics.Vulkan.Ext.VK_NV_win32_keyed_mutex
- Graphics.Vulkan.Ext.VK_QCOM_render_pass_shader_resolve
- Graphics.Vulkan.Ext.VK_QCOM_render_pass_store_ops
- Graphics.Vulkan.Ext.VK_QCOM_render_pass_transform
- Graphics.Vulkan.Marshal
- Graphics.Vulkan
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
useunsafeffidefault | Use unsafe foreign imports of Vulkan functions by default | Disabled |
enablebetaextensions | Enable platform-specific extensions protected by CPP macros VK_ENABLE_BETA_EXTENSIONS | Disabled |
useplatformandroidkhr | Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_ANDROID_KHR | Disabled |
useplatformdirectfbext | Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_DIRECTFB_EXT | Disabled |
useplatformfuchsia | Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_FUCHSIA | Disabled |
useplatformggp | Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_GGP | 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 |
useplatformmetalext | Enable platform-specific extensions protected by CPP macros VK_USE_PLATFORM_METAL_EXT | 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 |
usenativeffi-1-2 | Enable foreign-imported functions from Vulkan 1.2 feature set | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- vulkan-api-1.4.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
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 2021-04-05T13:34:39Z |
Distributions | NixOS:1.4.0.0 |
Reverse Dependencies | 1 direct, 1 indirect [details] |
Downloads | 5281 total (21 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |