API reference
Preparing search index…

ImGui.ImDrawList_PrimQuadUV

  • Write a quadrilateral with UVs into pre-reserved vertex and index space.

    Parameters

    self

    ImDrawList handle on which this method operates.

    a

    Ordered vertex or start point a in absolute screen coordinates.

    b

    Ordered vertex or start point b in absolute screen coordinates.

    c

    Ordered vertex or start point c in absolute screen coordinates.

    d

    Ordered vertex or start point d in absolute screen coordinates.

    uv_a

    Texture UV coordinates for the corresponding vertex.

    uv_b

    Texture UV coordinates for the corresponding vertex.

    uv_c

    Texture UV coordinates for the corresponding vertex.

    uv_d

    Texture UV coordinates for the corresponding vertex.

    col
    number

    Packed ImU32 RGBA color; alpha controls opacity.

    Returns

    void
    Source & inheritance

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