HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulesdl2-2.5.5.0Haskell2010

SDL.Video.Vulkan

  • 3 types
  • 6 values
  • Packagesdl2-2.5.5.0
  • Exports9
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceVulkan.hs

Vulkan types

3 declarations

Vulkan loader

3 declarations
valuevkLoadLibrary :: MonadIO m => Maybe FilePath -> m ()
#

Dynamically load a Vulkan loader library.

If a filePath is Nothing, SDL will use the value of the environment variable SDL_VULKAN_LIBRARY, if set, otherwise it loads the default Vulkan loader library.

This function should be called after initializing the video driver (i.e. initialize [InitVideo]), but before creating any windows with windowGraphicsContext = VulkanContext.

If no Vulkan loader library is loaded, analogue of vkLoadLibrary Nothing will be automatically called by SDL C library upon creation of the first Vulkan window.

Throws SDLException if there are no working Vulkan drivers installed.

Vulkan surface

2 declarations

Querying for the drawable size

1 declaration