-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there an easy way to get vertex data for rendering a text out of ImGui? #628
Labels
Comments
I added this in the FAQ and it is really the simplest way:
Let me know if that works for you. |
biojppm
added a commit
to biojppm/imgui
that referenced
this issue
Mar 4, 2018
The flags are ImGuiWindowFlags_NoBackground/NoWindow. They make it easier to create an invisible window for drawing texts outside of imgui via raw access to the draw lists as suggested in ocornut#628.
The info no longer appears on the FAQ page, as far as I can tell... Is this still a valid way to achieve this? |
This Q/A is a more complete version of it: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally I asked here, but then realized this is probably a better place.
ImGui already can load/process truetype fonts and render them, so I thought it would make sense to use this for my own font rendering purposes, instead of using stb_truetype directly.
To put it simply, I'm either looking to render text outside of ImGui windows, or just use ImGui to generate vertex data to use in conjuction with its font textures to render the text myself.
The text was updated successfully, but these errors were encountered: