MCPcopy Create free account
hub / github.com/RenderKit/embree / ClearOutputData

Method ClearOutputData

tutorials/common/imgui/imgui_draw.cpp:3131–3143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3129}
3130
3131void ImFont::ClearOutputData()
3132{
3133 FontSize = 0.0f;
3134 FallbackAdvanceX = 0.0f;
3135 Glyphs.clear();
3136 IndexAdvanceX.clear();
3137 IndexLookup.clear();
3138 FallbackGlyph = NULL;
3139 ContainerAtlas = NULL;
3140 DirtyLookupTables = true;
3141 Ascent = Descent = 0.0f;
3142 MetricsTotalSurface = 0;
3143}
3144
3145static ImWchar FindFirstExistingGlyph(ImFont* font, const ImWchar* candidate_chars, int candidate_chars_count)
3146{

Callers 1

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected