You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
766 B
26 lines
766 B
using System.Runtime.InteropServices; |
|
|
|
namespace ImGuiNET |
|
{ |
|
/// <summary> |
|
/// All draw data to render an ImGui frame |
|
/// </summary> |
|
[StructLayout(LayoutKind.Sequential)] |
|
public unsafe struct DrawData |
|
{ |
|
/// <summary> |
|
/// Only valid after Render() is called and before the next NewFrame() is called. |
|
/// </summary> |
|
public byte Valid; |
|
public NativeDrawList** CmdLists; |
|
public int CmdListsCount; |
|
/// <summary> |
|
/// For convenience, sum of all cmd_lists vtx_buffer.Size |
|
/// </summary> |
|
public int TotalVtxCount; |
|
/// <summary> |
|
/// For convenience, sum of all cmd_lists idx_buffer.Size |
|
/// </summary> |
|
public int TotalIdxCount; |
|
}; |
|
}
|
|
|