API reference
Preparing search index…

ImGui.CheckboxFlagsIntPtr

  • Display a checkbox that sets or clears a group of bits in an integer flag value.

    Parameters

    label
    string | Uint8Array

    Widget label; interactive widgets also use it for ID generation. A ## suffix can distinguish IDs without displaying the suffix.

    flags
    Int32Array

    Mutable bit field in flags[0]; the checkbox sets or clears flags_value bits. Pass Int32Array storage, not a JS scalar; native access uses the supplied backing memory.

    flags_value
    number

    Bit mask tested and toggled in flags[0] by the checkbox.

    Returns

    boolean

    True if the widget changed the supplied value; false if it remained unchanged.

    Source & inheritance

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