API reference
Preparing search index…

ImGui.ImFontAtlas_AddFont

  • Register a configured font source for the next atlas build.

    Parameters

    self

    ImFontAtlas handle on which this method operates.

    font_cfg

    Font-loading configuration; optional variants accept null for defaults. Ownership and merge settings affect how font data is retained.

    Returns

    null | ImFont

    Atlas-owned font handle (the destination font in merge mode). Glyphs become available after atlas building; invalid input may trigger native assertions.

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0