API reference
Preparing search index…

ImGui.GetID

  • Calculate an identifier from the ID stack and the supplied value.

    Parameters

    str_id
    string | Uint8Array

    String identifier hashed with the current ID stack to distinguish this item or scope.

    Returns

    number

    ImGuiID hash of the supplied identifier combined with the current ID stack.

    calculate unique ID (hash of whole ID stack + given parameter).

    e.g. if you want to query into ImGuiStorage yourself

    Source & inheritance

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