API reference
Preparing search index…

ImGui.ImageImVec4

  • Display an image with the legacy tint and border colors.

    Parameters

    user_texture_id
    bigint

    Renderer texture identifier (ImTextureID bigint), not an SFML texture object.

    image_size

    Displayed image width and height in screen pixels, independent of texture dimensions.

    uv0

    Texture coordinates at the upper-left corner; (0,0) is the usual full-image start.

    uv1

    Texture coordinates at the lower-right corner; (1,1) is the usual full-image end.

    tint_col

    RGBA color multiplied into the image; white preserves its colors.

    border_col

    RGBA image border color; zero alpha suppresses the border.

    Returns

    void

    Obsoleted in Dear ImGui 1.91.9 (February 2025). This legacy JS overload still accepts border_col. Modern image functions use ImGuiCol.Border for the border color and ImGuiStyleVar.ImageBorderSize for its thickness.

    Source & inheritance

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