1
0
Fork 0
mirror of https://github.com/gwm17/implot.git synced 2024-11-23 02:38:53 -05:00

Update README.md

This commit is contained in:
Evan Pezent 2020-04-30 09:18:59 -05:00 committed by GitHub
parent 8adde097e7
commit 5a2d5c1504
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,3 +83,7 @@ A: Yes, you can use the C binding, [cimplot](https://github.com/cimgui/cimplot)
## Special Notes
- By default, no anti-aliasing is done on line plots for performance reasons. If you use 4x MSAA, then you likely won't even notice. However, you can re-enable AA with the `ImPlotFlags_AntiAliased` flag.
- If you plan to render several thousands lines or points, then you should consider enabling 32-bit indices by uncommenting `#define ImDrawIdx unsigned int` in your `imconfig.h` file, OR handling the `ImGuiBackendFlags_RendererHasVtxOffset` flag in your renderer (the official OpenGL3 renderer supports this). If you fail to do this, then you may at some point hit the maximum number of indices that can be rendered.
## See Also
[ImGui Discussion Thread](https://github.com/ocornut/imgui/issues/3173)