Closed
Description
Version/Branch of Dear ImGui: v1.60 WIP
I'm trying to load an icon image with stb_image lib to make a imageButton, but I don't know what to pass to the creation function as texture_id parameter.
I try to use the raw image data returned by stbi_load function but failed, I try to use VkImage, VkImageView and VkDeviceMemory data but all failed.
The original image will be like this:
I've read the demo file but I still don't understand what to pass.
I've read the imgui_impl_glfw_vulkan file but I got
"// Missing features:
// [ ] User texture binding. Changes of ImTextureID aren't supported by this binding! See #914
"
I'm sorry that i am new to both vulkan and imgui, I would appreciate that if anyone can help me.