Updated Developer Tips (markdown)
parent
695c03f755
commit
6c3235085e
@ -1,5 +1,11 @@
|
|||||||
If you are working on Dear ImGui codebase:
|
If you are working on Dear ImGui codebase:
|
||||||
|
|
||||||
|
### Metrics
|
||||||
|
The Metrics window exposes lots of information about the library state.
|
||||||
|
|
||||||
|
### Visual debugging
|
||||||
|
You can use drawlist primitives on the foreground drawlist, e.g. `GetForegroundDrawList()->AddRectFilled(...)` to bypass clipping of the current window's drawlist.
|
||||||
|
|
||||||
### Logging
|
### Logging
|
||||||
You can use the `IMGUI_DEBUG_LOG` macro (declared in `imgui_internal.h`) to easily print text to the console while including the current frame counter, which is very often useful in log.
|
You can use the `IMGUI_DEBUG_LOG` macro (declared in `imgui_internal.h`) to easily print text to the console while including the current frame counter, which is very often useful in log.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user