dear-imgui-2.3.0: Haskell bindings for Dear ImGui.
Safe HaskellSafe-Inferred
LanguageHaskell2010

DearImGui.Vulkan

Description

Vulkan backend for Dear ImGui.

Synopsis

Documentation

withVulkan :: MonadUnliftIO m => InitInfo -> (Bool -> m a) -> m a Source #

Wraps ImGui_ImplVulkan_Init and ImGui_ImplVulkan_Shutdown.

vulkanInit :: MonadIO m => InitInfo -> m (FunPtr (Result -> IO ()), Bool) Source #

Wraps ImGui_ImplVulkan_Init.

Use vulkanShutdown to clean up on shutdown. Prefer using withVulkan when possible, as it automatically handles cleanup.

vulkanShutdown :: MonadIO m => (FunPtr a, b) -> m () Source #

Wraps ImGui_ImplVulkan_Shutdown.

Counterpart to vulkanInit, for clean-up.

vulkanNewFrame :: MonadIO m => m () Source #

Wraps ImGui_ImplVulkan_NewFrame.

vulkanRenderDrawData :: MonadIO m => DrawData -> CommandBuffer -> Maybe Pipeline -> m () Source #

Wraps ImGui_ImplVulkan_RenderDrawData.

vulkanCreateFontsTexture :: MonadIO m => m Bool Source #

Wraps ImGui_ImplVulkan_CreateFontsTexture.

vulkanDestroyFontsTexture :: MonadIO m => m () Source #

You probably never need to call this, as it is called by ImGui_ImplVulkan_CreateFontsTexture() and ImGui_ImplVulkan_Shutdown(). | Wraps ImGui_ImplVulkan_DestroyFontsTexture.

vulkanSetMinImageCount :: MonadIO m => Word32 -> m () Source #

Wraps ImGui_ImplVulkan_SetMinImageCount.

vulkanAddTexture :: MonadIO m => Sampler -> ImageView -> ImageLayout -> m DescriptorSet Source #

Wraps ImGui_ImplVulkan_AddTexture.