API reference
Preparing search index…

ImGui.ImDrawDataFields

Frame rendering totals and display-to-framebuffer geometry.

interface ImDrawDataFields {
    CmdListsCount: number;
    DisplayPosX: number;
    DisplayPosY: number;
    DisplaySizeX: number;
    DisplaySizeY: number;
    FramebufferScaleX: number;
    FramebufferScaleY: number;
    TotalIdxCount: number;
    TotalVtxCount: number;
    Valid: boolean;
}
Source & inheritance
Member directory10

Properties

Properties

CmdListsCount: number

Number of draw lists submitted for this frame.

Source & inheritance
DisplayPosX: number

Viewport left edge in display coordinates.

Source & inheritance
DisplayPosY: number

Viewport top edge in display coordinates.

Source & inheritance
DisplaySizeX: number

Viewport width in display units, before framebuffer scaling.

Source & inheritance
DisplaySizeY: number

Viewport height in display units, before framebuffer scaling.

Source & inheritance
FramebufferScaleX: number

Horizontal framebuffer pixels per display unit; commonly 1 or 2.

Source & inheritance
FramebufferScaleY: number

Vertical framebuffer pixels per display unit; commonly 1 or 2.

Source & inheritance
TotalIdxCount: number

Sum of index counts across all submitted draw lists.

Source & inheritance
TotalVtxCount: number

Sum of vertex counts across all submitted draw lists.

Source & inheritance
Valid: boolean

True after Render() and before the next NewFrame().

Source & inheritance

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