API reference
Preparing search index…

ImGui.ImFontAtlas_AddFontDefault

  • Add the embedded default font to the atlas.

    Parameters

    self

    ImFontAtlas handle on which this method operates.

    font_cfg
    null | ImFontConfig = null

    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