API reference
Preparing search index…

ImGui.TextBuffer_resize

  • Resize the text buffer.

    Parameters

    self

    ImGuiTextBuffer handle on which this method operates.

    size
    number

    New text length in bytes, excluding the NUL terminator.

    Returns

    void

    Calling resize(0) empties the string without freeing the buffer, like ImVector.resize(0). A nonzero size changes the text length and preserves its null terminator.

    Source & inheritance

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