API reference
Preparing search index…

ImGui.TextUnformattedEx

Display text without format-string processing.

raw text without formatting.

Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.

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: its bytes are read directly and need no NUL terminator.

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.

  • Display text without format-string processing.

    Parameters

    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: its bytes are read directly and need no NUL terminator.

    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

    void

    raw text without formatting.

    Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.

    Source & inheritance
  • Display text without format-string processing.

    Parameters

    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: its bytes are read directly and need no NUL terminator.

    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

    void

    raw text without formatting.

    Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.

    Source & inheritance

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