API reference
Preparing search index…

ImGui.ImageWithBgEx

  • Display a texture image with support for a background color and tint.

    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.

    bg_col

    RGBA background color behind the image, with floating-point components.

    tint_col

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

    Returns

    void
    Source & inheritance

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