| 16392 | } |
| 16393 | |
| 16394 | static const char* FormatTextureRefForDebugDisplay(char* buf, int buf_size, ImTextureRef tex_ref) |
| 16395 | { |
| 16396 | char* buf_p = buf; |
| 16397 | char* buf_end = buf + buf_size; |
| 16398 | if (tex_ref._TexData != NULL) |
| 16399 | buf_p += ImFormatString(buf_p, buf_end - buf_p, "#%03d: ", tex_ref._TexData->UniqueID); |
| 16400 | ImFormatString(buf_p, buf_end - buf_p, "0x%X", ImGui::DebugTextureIDToU64(tex_ref.GetTexID())); |
| 16401 | return buf; |
| 16402 | } |
| 16403 | |
| 16404 | #ifdef IMGUI_ENABLE_FREETYPE |
| 16405 | namespace ImGuiFreeType { IMGUI_API const ImFontLoader* GetFontLoader(); IMGUI_API bool DebugEditFontLoaderFlags(unsigned int* p_font_builder_flags); } |
no test coverage detected