| 15972 | } |
| 15973 | |
| 15974 | static const char* FormatTextureRefForDebugDisplay(char* buf, int buf_size, ImTextureRef tex_ref) |
| 15975 | { |
| 15976 | char* buf_end = buf + buf_size; |
| 15977 | if (tex_ref._TexData != NULL) |
| 15978 | buf += ImFormatString(buf, buf_end - buf, "#%03d: ", tex_ref._TexData->UniqueID); |
| 15979 | return FormatTextureIDForDebugDisplay(buf, (int)(buf_end - buf), tex_ref.GetTexID()); // Calling TexRef::GetTexID() to avoid assert of cmd->GetTexID() |
| 15980 | } |
| 15981 | |
| 15982 | #ifdef IMGUI_ENABLE_FREETYPE |
| 15983 | namespace ImGuiFreeType { IMGUI_API const ImFontLoader* GetFontLoader(); IMGUI_API bool DebugEditFontLoaderFlags(unsigned int* p_font_builder_flags); } |
no test coverage detected