API reference
Preparing search index…

ImGui.PushClipRect

  • Push a clipping rectangle for rendering and interaction.

    Parameters

    clip_rect_min

    Top-left corner of the rectangle in absolute screen coordinates.

    clip_rect_max

    Bottom-right corner of the rectangle in absolute screen coordinates.

    intersect_with_current_clip_rect
    boolean

    Whether to intersect the rectangle with the current clipping rectangle.

    Returns

    void
    • Mouse hovering is affected by ImGui.PushClipRect() calls, unlike direct calls to ImGui.ImDrawList_PushClipRect() which only affect rendering.
    Source & inheritance

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