Rebuild this ImTextureID.
Free old Texture image DescriptorSet.
Get Texture Info.
Create Texture DescriptorSet.
Free old Texture image DescriptorSet.
Get Texture Info.
Create Texture DescriptorSet.
Definition at line 49 of file SlateImage.cpp.
50 {
52
57 {
58 ImGui_ImplVulkan_RemoveTexture(
reinterpret_cast<VkDescriptorSet
>(
m_TextureID));
60 }
61
66
70 m_TextureID =
reinterpret_cast<ImTextureID
>(ImGui_ImplVulkan_AddTexture(info->sampler, info->imageView, info->imageLayout));
71 }
#define SPICES_PROFILE_ZONE
std::string m_TextureName
Texture name.
ImTextureID m_TextureID
ImTextureID.
static std::shared_ptr< RendererResourcePool > GetRendererResourcePool()
Get RendererResourcePool in use.
Referenced by SlateImage().