|
@@ -61,14 +61,16 @@
|
|
#define IMGUI_IMPL_VULKAN_HAS_DYNAMIC_RENDERING
|
|
#define IMGUI_IMPL_VULKAN_HAS_DYNAMIC_RENDERING
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+// Current version of the backend use 1 descriptor for the font atlas + as many as additional calls done to ImGui_ImplVulkan_AddTexture().
|
|
|
|
+// It is expected that as early as Q1 2025 the backend will use a few more descriptors. Use this value + number of desired calls to ImGui_ImplVulkan_AddTexture().
|
|
|
|
+#define IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE (1) // Minimum per atlas
|
|
|
|
+
|
|
// Initialization data, for ImGui_ImplVulkan_Init()
|
|
// Initialization data, for ImGui_ImplVulkan_Init()
|
|
// [Please zero-clear before use!]
|
|
// [Please zero-clear before use!]
|
|
// - About descriptor pool:
|
|
// - About descriptor pool:
|
|
// - A VkDescriptorPool should be created with VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT,
|
|
// - A VkDescriptorPool should be created with VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT,
|
|
// and must contain a pool size large enough to hold a small number of VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER descriptors.
|
|
// and must contain a pool size large enough to hold a small number of VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER descriptors.
|
|
// - As an convenience, by setting DescriptorPoolSize > 0 the backend will create one for you.
|
|
// - As an convenience, by setting DescriptorPoolSize > 0 the backend will create one for you.
|
|
-// - Current version of the backend use 1 descriptor for the font atlas + as many as additional calls done to ImGui_ImplVulkan_AddTexture().
|
|
|
|
-// - It is expected that as early as Q1 2025 the backend will use a few more descriptors, so aim at 10 + number of desierd calls to ImGui_ImplVulkan_AddTexture().
|
|
|
|
// - About dynamic rendering:
|
|
// - About dynamic rendering:
|
|
// - When using dynamic rendering, set UseDynamicRendering=true and fill PipelineRenderingCreateInfo structure.
|
|
// - When using dynamic rendering, set UseDynamicRendering=true and fill PipelineRenderingCreateInfo structure.
|
|
struct ImGui_ImplVulkan_InitInfo
|
|
struct ImGui_ImplVulkan_InitInfo
|