API reference
Preparing search index…

ImGui.ImDrawList_PushClipRect

  • Push a render-only clipping rectangle.

    Parameters

    self

    ImDrawList handle on which this method operates.

    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 = false

    Whether to intersect the rectangle with the current clipping rectangle.

    Returns

    void

    Render-level scissoring.

    This is passed down to your render function but not used for CPU-side coarse clipping.

    Prefer using higher-level ImGui.PushClipRect() to affect logic (hit-testing and widget culling)

    Source & inheritance

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