From d6cbe4dc030617f246406269473f427cdab75a05 Mon Sep 17 00:00:00 2001 From: omar Date: Fri, 10 Jan 2025 14:09:17 +0100 Subject: [PATCH] Updated Getting Started (markdown) --- Getting-Started.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Getting-Started.md b/Getting-Started.md index 0988011..a833076 100644 --- a/Getting-Started.md +++ b/Getting-Started.md @@ -370,6 +370,8 @@ Full standalone example: [example_sdl2_vulkan/main.cpp](https://github.com/ocorn Unfortunately this is the most complex one and may not work with all app setups. We are always working on making imgui_impl_vulkan.cpp more compatible with existing engines, so please don't hesitate to post feedback. +You must provide a Descriptor Pool with room for at least `IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE` combined image sampler (`VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER`). You may also set the ImGui_ImplVulkan_InitInfo::DescriptorPoolSize field to that or a larger value for the backend to automatically create one for you, which won't be shared with your app. + Add to Includes: ```cpp #include "imgui.h"