API reference
Preparing search index…

ImGui.ImDrawList_CloneOutput

  • Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer.

    Parameters

    self

    ImDrawList handle on which this method operates.

    Returns

    null | ImDrawList

    Newly allocated draw-list clone containing the command, index, and vertex buffers; the native clone is not a borrowed window draw list.

    Handles, mapped views/buffers, and draw data added via ImDrawData_AddDrawList share native ownership. Copied JavaScript draw callbacks remain callable across frames while the clone retains their commands. Textures and shared drawing state are still borrowed; cloning does not extend their lifetime.

    Source & inheritance

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