Fonts: proof of concept support for user textures.

# Conflicts:
#	imgui.h
#	imgui_internal.h
This commit is contained in:
ocornut
2025-06-11 15:59:19 +02:00
committed by ocornut
parent 91ed6e67b4
commit 39f6c793b3
3 changed files with 22 additions and 1 deletions
+1 -1
View File
@@ -3905,7 +3905,7 @@ struct ImGuiPlatformIO
// Textures list (the list is updated by calling ImGui::EndFrame or ImGui::Render)
// The ImGui_ImplXXXX_RenderDrawData() function of each backend generally access this via ImDrawData::Textures which points to this. The array is available here mostly because backends will want to destroy textures on shutdown.
ImVector<ImTextureData*> Textures; // List of textures used by Dear ImGui (most often 1).
ImVector<ImTextureData*> Textures; // List of textures used by Dear ImGui (most often 1) + contents of external texture list is automatically appended into this.
};
// (Optional) Support for IME (Input Method Editor) via the platform_io.Platform_SetImeDataFn() function. Handler is called during EndFrame().