1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-28 02:50:06 +00:00

Docs: update Backends with basic Platform backend instructions.

This commit is contained in:
ocornut 2025-06-27 15:15:34 +02:00
parent 47570d045d
commit 68046106dd
2 changed files with 54 additions and 11 deletions

View file

@ -319,6 +319,10 @@ CODE
USING CUSTOM BACKEND / CUSTOM ENGINE
------------------------------------
IMPLEMENTING YOUR PLATFORM BACKEND:
-> see https://github.com/ocornut/imgui/blob/master/docs/BACKENDS.md for basic instructions.
-> the Platform backends in impl_impl_XXX.cpp files contain many implementations.
IMPLEMENTING YOUR RenderDrawData() function:
-> see https://github.com/ocornut/imgui/blob/master/docs/BACKENDS.md
-> the Renderer Backends in impl_impl_XXX.cpp files contain many implementations of a ImGui_ImplXXXX_RenderDrawData() function.
@ -327,10 +331,6 @@ IMPLEMENTING SUPPORT for ImGuiBackendFlags_RendererHasTextures:
-> see https://github.com/ocornut/imgui/blob/master/docs/BACKENDS.md
-> the Renderer Backends in impl_impl_XXX.cpp files contain many implementations of a ImGui_ImplXXXX_UpdateTexture() function.
IMPLEMENTING YOUR PLATFORM BACKEND:
-> missing documentation.
-> the Platform backends in impl_impl_XXX.cpp files contain many implementations.
Basic application/backend skeleton:
// Application init: create a Dear ImGui context, setup some options, load fonts