API reference
Preparing search index…

ImGui.TextFilter_PassFilter

Test text against the parsed inclusion and exclusion filters.

ImGuiTextFilter handle on which this method operates.

UTF-8 text. With omitted/null text_end, strings are encoded; NUL-terminated nonempty byte views are used directly, other views are copied and NUL-terminated. With an explicit end, pass a Uint8Array: the selected bytes are copied and NUL-terminated for bounded filtering.

Exclusive endpoint view, not a length or another string. Explicit begin/end must share one backing buffer and satisfy begin.byteOffset <= end.byteOffset <= begin.byteOffset + begin.byteLength. An empty end view is valid; neither view needs NUL termination. Omitted/null end uses ordinary NUL-terminated UTF-8 conversion.

True if the text passes the built include/exclude filters, or if no filter is active.

  • Test text against the parsed inclusion and exclusion filters.

    Parameters

    self

    ImGuiTextFilter handle on which this method operates.

    text
    string | Uint8Array

    UTF-8 text. With omitted/null text_end, strings are encoded; NUL-terminated nonempty byte views are used directly, other views are copied and NUL-terminated. With an explicit end, pass a Uint8Array: the selected bytes are copied and NUL-terminated for bounded filtering.

    text_endOptional
    null

    Exclusive endpoint view, not a length or another string. Explicit begin/end must share one backing buffer and satisfy begin.byteOffset <= end.byteOffset <= begin.byteOffset + begin.byteLength. An empty end view is valid; neither view needs NUL termination. Omitted/null end uses ordinary NUL-terminated UTF-8 conversion.

    Returns

    boolean

    True if the text passes the built include/exclude filters, or if no filter is active.

    Source & inheritance
  • Test text against the parsed inclusion and exclusion filters.

    Parameters

    self

    ImGuiTextFilter handle on which this method operates.

    text
    Uint8Array

    UTF-8 text. With omitted/null text_end, strings are encoded; NUL-terminated nonempty byte views are used directly, other views are copied and NUL-terminated. With an explicit end, pass a Uint8Array: the selected bytes are copied and NUL-terminated for bounded filtering.

    text_end
    Uint8Array

    Exclusive endpoint view, not a length or another string. Explicit begin/end must share one backing buffer and satisfy begin.byteOffset <= end.byteOffset <= begin.byteOffset + begin.byteLength. An empty end view is valid; neither view needs NUL termination. Omitted/null end uses ordinary NUL-terminated UTF-8 conversion.

    Returns

    boolean

    True if the text passes the built include/exclude filters, or if no filter is active.

    Source & inheritance

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