API reference
Preparing search index…

ImGui.ImDrawCmdFields

Draw-command scalars backed by native memory, not a snapshot.

interface ImDrawCmdFields {
    ClipRectW: number;
    ClipRectX: number;
    ClipRectY: number;
    ClipRectZ: number;
    ElemCount: number;
    IdxOffset: number;
    TextureId: bigint;
    UserCallbackDataOffset: number;
    UserCallbackDataSize: number;
    VtxOffset: number;
}
Source & inheritance
Member directory10

Properties

Properties

ClipRectW: number

Bottom clip edge, not a height; subtract DisplayPosY for viewport space.

Source & inheritance
ClipRectX: number

Left clip edge in display coordinates, before framebuffer scaling.

Source & inheritance
ClipRectY: number

Top clip edge in display coordinates, before framebuffer scaling.

Source & inheritance
ClipRectZ: number

Right clip edge, not a width; subtract DisplayPosX for viewport space.

Source & inheritance
ElemCount: number

Number of indices to render; triangle commands use multiples of three.

Source & inheritance
IdxOffset: number

Starting index-buffer element, not a byte offset.

Source & inheritance
TextureId: bigint

Renderer texture identifier stored as an unsigned 64-bit integer.

Source & inheritance
UserCallbackDataOffset: number

Internal payload byte offset in draw-list storage, or -1 without storage.

Source & inheritance
UserCallbackDataSize: number

Copied callback payload size in bytes; zero means external user data.

Source & inheritance
VtxOffset: number

Base vertex index; nonzero offsets require RendererHasVtxOffset support.

Source & inheritance

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