C# Class ImGuiNET.DrawCmd

Datei anzeigen Open project: mellinoe/ImGui.NET

Public Properties

Property Type Description
ClipRect Vector4
ElemCount uint
TextureId System.IntPtr
UserCallback System.IntPtr
UserCallbackData System.IntPtr

Property Details

ClipRect public_oe property

Clipping rectangle (x1, y1, x2, y2)
public Vector4 ClipRect
return Vector4

ElemCount public_oe property

Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[].
public uint ElemCount
return uint

TextureId public_oe property

User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas.
public IntPtr,System TextureId
return System.IntPtr

UserCallback public_oe property

If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally.
public IntPtr,System UserCallback
return System.IntPtr

UserCallbackData public_oe property

The draw callback code can access this.
public IntPtr,System UserCallbackData
return System.IntPtr