Skip to main content

Struct ImDrawDataPtr

Assembly: ImGui.NET.dll
View Source
Declaration
public struct ImDrawDataPtr

Properties

NativePtr

View Source
Declaration
public readonly ImDrawData* NativePtr { get; }

Valid

View Source
Declaration
public ref bool Valid { get; }

CmdListsCount

View Source
Declaration
public ref int CmdListsCount { get; }

TotalIdxCount

View Source
Declaration
public ref int TotalIdxCount { get; }

TotalVtxCount

View Source
Declaration
public ref int TotalVtxCount { get; }

CmdLists

View Source
Declaration
public IntPtr CmdLists { get; set; }

DisplayPos

View Source
Declaration
public ref Vector2 DisplayPos { get; }

DisplaySize

View Source
Declaration
public ref Vector2 DisplaySize { get; }

FramebufferScale

View Source
Declaration
public ref Vector2 FramebufferScale { get; }

OwnerViewport

View Source
Declaration
public ImGuiViewportPtr OwnerViewport { get; }

CmdListsRange

View Source
Declaration
public RangePtrAccessor<ImDrawListPtr> CmdListsRange { get; }

Methods

Clear()

View Source
Declaration
public void Clear()

DeIndexAllBuffers()

View Source
Declaration
public void DeIndexAllBuffers()

Destroy()

View Source
Declaration
public void Destroy()

ScaleClipRects(Vector2)

View Source
Declaration
public void ScaleClipRects(Vector2 fb_scale)
Parameters
TypeName
System.Numerics.Vector2fb_scale