//
using HexaGen.Runtime;
using System;
using System.Diagnostics;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Dalamud.Bindings.ImGui;
public unsafe partial class ImGui
{
public static Vector2* ImVec2()
{
Vector2* ret = ImGuiNative.ImVec2();
return ret;
}
public static Vector2* ImVec2(float x, float y)
{
Vector2* ret = ImGuiNative.ImVec2(x, y);
return ret;
}
public static void Destroy(Vector2* self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref Vector2 self)
{
fixed (Vector2* pself = &self)
{
ImGuiNative.Destroy((Vector2*)pself);
}
}
public static void Destroy(Vector4* self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref Vector4 self)
{
fixed (Vector4* pself = &self)
{
ImGuiNative.Destroy((Vector4*)pself);
}
}
public static void Destroy(ImGuiStylePtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiStyle self)
{
fixed (ImGuiStyle* pself = &self)
{
ImGuiNative.Destroy((ImGuiStyle*)pself);
}
}
public static void Destroy(ImGuiIOPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiIO self)
{
fixed (ImGuiIO* pself = &self)
{
ImGuiNative.Destroy((ImGuiIO*)pself);
}
}
public static void Destroy(ImGuiInputTextCallbackDataPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiInputTextCallbackData self)
{
fixed (ImGuiInputTextCallbackData* pself = &self)
{
ImGuiNative.Destroy((ImGuiInputTextCallbackData*)pself);
}
}
public static void Destroy(ImGuiWindowClassPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiWindowClass self)
{
fixed (ImGuiWindowClass* pself = &self)
{
ImGuiNative.Destroy((ImGuiWindowClass*)pself);
}
}
public static void Destroy(ImGuiPayloadPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiPayload self)
{
fixed (ImGuiPayload* pself = &self)
{
ImGuiNative.Destroy((ImGuiPayload*)pself);
}
}
public static void Destroy(ImGuiTableColumnSortSpecsPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiTableColumnSortSpecs self)
{
fixed (ImGuiTableColumnSortSpecs* pself = &self)
{
ImGuiNative.Destroy((ImGuiTableColumnSortSpecs*)pself);
}
}
public static void Destroy(ImGuiTableSortSpecsPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiTableSortSpecs self)
{
fixed (ImGuiTableSortSpecs* pself = &self)
{
ImGuiNative.Destroy((ImGuiTableSortSpecs*)pself);
}
}
public static void Destroy(ImGuiOnceUponAFramePtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiOnceUponAFrame self)
{
fixed (ImGuiOnceUponAFrame* pself = &self)
{
ImGuiNative.Destroy((ImGuiOnceUponAFrame*)pself);
}
}
public static void Destroy(ImGuiTextFilterPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiTextFilter self)
{
fixed (ImGuiTextFilter* pself = &self)
{
ImGuiNative.Destroy((ImGuiTextFilter*)pself);
}
}
public static void Destroy(ImGuiTextRangePtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiTextRange self)
{
fixed (ImGuiTextRange* pself = &self)
{
ImGuiNative.Destroy((ImGuiTextRange*)pself);
}
}
public static void Destroy(ImGuiTextBufferPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiTextBuffer self)
{
fixed (ImGuiTextBuffer* pself = &self)
{
ImGuiNative.Destroy((ImGuiTextBuffer*)pself);
}
}
public static void Destroy(ImGuiStoragePairPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiStoragePair self)
{
fixed (ImGuiStoragePair* pself = &self)
{
ImGuiNative.Destroy((ImGuiStoragePair*)pself);
}
}
public static void Destroy(ImGuiListClipperPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiListClipper self)
{
fixed (ImGuiListClipper* pself = &self)
{
ImGuiNative.Destroy((ImGuiListClipper*)pself);
}
}
public static void Destroy(ImColorPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImColor self)
{
fixed (ImColor* pself = &self)
{
ImGuiNative.Destroy((ImColor*)pself);
}
}
public static void Destroy(ImDrawCmdPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImDrawCmd self)
{
fixed (ImDrawCmd* pself = &self)
{
ImGuiNative.Destroy((ImDrawCmd*)pself);
}
}
public static void Destroy(ImDrawListSplitterPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImDrawListSplitter self)
{
fixed (ImDrawListSplitter* pself = &self)
{
ImGuiNative.Destroy((ImDrawListSplitter*)pself);
}
}
public static void Destroy(ImDrawListPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImDrawList self)
{
fixed (ImDrawList* pself = &self)
{
ImGuiNative.Destroy((ImDrawList*)pself);
}
}
public static void Destroy(ImDrawDataPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImDrawData self)
{
fixed (ImDrawData* pself = &self)
{
ImGuiNative.Destroy((ImDrawData*)pself);
}
}
public static void Destroy(ImFontConfigPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImFontConfig self)
{
fixed (ImFontConfig* pself = &self)
{
ImGuiNative.Destroy((ImFontConfig*)pself);
}
}
public static void Destroy(ImFontGlyphRangesBuilderPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImFontGlyphRangesBuilder self)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
ImGuiNative.Destroy((ImFontGlyphRangesBuilder*)pself);
}
}
public static void Destroy(ImFontAtlasCustomRectPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImFontAtlasCustomRect self)
{
fixed (ImFontAtlasCustomRect* pself = &self)
{
ImGuiNative.Destroy((ImFontAtlasCustomRect*)pself);
}
}
public static void Destroy(ImFontAtlasPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImFontAtlas self)
{
fixed (ImFontAtlas* pself = &self)
{
ImGuiNative.Destroy((ImFontAtlas*)pself);
}
}
public static void Destroy(ImFontPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImFont self)
{
fixed (ImFont* pself = &self)
{
ImGuiNative.Destroy((ImFont*)pself);
}
}
public static void Destroy(ImGuiViewportPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiViewport self)
{
fixed (ImGuiViewport* pself = &self)
{
ImGuiNative.Destroy((ImGuiViewport*)pself);
}
}
public static void Destroy(ImGuiPlatformIOPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiPlatformIO self)
{
fixed (ImGuiPlatformIO* pself = &self)
{
ImGuiNative.Destroy((ImGuiPlatformIO*)pself);
}
}
public static void Destroy(ImGuiPlatformMonitorPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiPlatformMonitor self)
{
fixed (ImGuiPlatformMonitor* pself = &self)
{
ImGuiNative.Destroy((ImGuiPlatformMonitor*)pself);
}
}
public static void Destroy(ImGuiPlatformImeDataPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiPlatformImeData self)
{
fixed (ImGuiPlatformImeData* pself = &self)
{
ImGuiNative.Destroy((ImGuiPlatformImeData*)pself);
}
}
public static void Destroy(ImVec1Ptr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImVec1 self)
{
fixed (ImVec1* pself = &self)
{
ImGuiNative.Destroy((ImVec1*)pself);
}
}
public static void Destroy(ImVec2IhPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImVec2Ih self)
{
fixed (ImVec2Ih* pself = &self)
{
ImGuiNative.Destroy((ImVec2Ih*)pself);
}
}
public static void Destroy(ImRectPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImRect self)
{
fixed (ImRect* pself = &self)
{
ImGuiNative.Destroy((ImRect*)pself);
}
}
public static void Destroy(ImDrawListSharedDataPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImDrawListSharedData self)
{
fixed (ImDrawListSharedData* pself = &self)
{
ImGuiNative.Destroy((ImDrawListSharedData*)pself);
}
}
public static void Destroy(ImGuiStyleModPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiStyleMod self)
{
fixed (ImGuiStyleMod* pself = &self)
{
ImGuiNative.Destroy((ImGuiStyleMod*)pself);
}
}
public static void Destroy(ImGuiComboPreviewDataPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiComboPreviewData self)
{
fixed (ImGuiComboPreviewData* pself = &self)
{
ImGuiNative.Destroy((ImGuiComboPreviewData*)pself);
}
}
public static void Destroy(ImGuiMenuColumnsPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiMenuColumns self)
{
fixed (ImGuiMenuColumns* pself = &self)
{
ImGuiNative.Destroy((ImGuiMenuColumns*)pself);
}
}
public static void Destroy(ImGuiInputTextStatePtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiInputTextState self)
{
fixed (ImGuiInputTextState* pself = &self)
{
ImGuiNative.Destroy((ImGuiInputTextState*)pself);
}
}
public static void Destroy(ImGuiPopupDataPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiPopupData self)
{
fixed (ImGuiPopupData* pself = &self)
{
ImGuiNative.Destroy((ImGuiPopupData*)pself);
}
}
public static void Destroy(ImGuiNextWindowDataPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiNextWindowData self)
{
fixed (ImGuiNextWindowData* pself = &self)
{
ImGuiNative.Destroy((ImGuiNextWindowData*)pself);
}
}
public static void Destroy(ImGuiNextItemDataPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiNextItemData self)
{
fixed (ImGuiNextItemData* pself = &self)
{
ImGuiNative.Destroy((ImGuiNextItemData*)pself);
}
}
public static void Destroy(ImGuiLastItemDataPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiLastItemData self)
{
fixed (ImGuiLastItemData* pself = &self)
{
ImGuiNative.Destroy((ImGuiLastItemData*)pself);
}
}
public static void Destroy(ImGuiStackSizesPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiStackSizes self)
{
fixed (ImGuiStackSizes* pself = &self)
{
ImGuiNative.Destroy((ImGuiStackSizes*)pself);
}
}
public static void Destroy(ImGuiPtrOrIndexPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiPtrOrIndex self)
{
fixed (ImGuiPtrOrIndex* pself = &self)
{
ImGuiNative.Destroy((ImGuiPtrOrIndex*)pself);
}
}
public static void Destroy(ImGuiInputEventPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiInputEvent self)
{
fixed (ImGuiInputEvent* pself = &self)
{
ImGuiNative.Destroy((ImGuiInputEvent*)pself);
}
}
public static void Destroy(ImGuiListClipperDataPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiListClipperData self)
{
fixed (ImGuiListClipperData* pself = &self)
{
ImGuiNative.Destroy((ImGuiListClipperData*)pself);
}
}
public static void Destroy(ImGuiNavItemDataPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiNavItemData self)
{
fixed (ImGuiNavItemData* pself = &self)
{
ImGuiNative.Destroy((ImGuiNavItemData*)pself);
}
}
public static void Destroy(ImGuiOldColumnDataPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiOldColumnData self)
{
fixed (ImGuiOldColumnData* pself = &self)
{
ImGuiNative.Destroy((ImGuiOldColumnData*)pself);
}
}
public static void Destroy(ImGuiOldColumnsPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiOldColumns self)
{
fixed (ImGuiOldColumns* pself = &self)
{
ImGuiNative.Destroy((ImGuiOldColumns*)pself);
}
}
public static void Destroy(ImGuiDockContextPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiDockContext self)
{
fixed (ImGuiDockContext* pself = &self)
{
ImGuiNative.Destroy((ImGuiDockContext*)pself);
}
}
public static void Destroy(ImGuiWindowSettingsPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiWindowSettings self)
{
fixed (ImGuiWindowSettings* pself = &self)
{
ImGuiNative.Destroy((ImGuiWindowSettings*)pself);
}
}
public static void Destroy(ImGuiSettingsHandlerPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiSettingsHandler self)
{
fixed (ImGuiSettingsHandler* pself = &self)
{
ImGuiNative.Destroy((ImGuiSettingsHandler*)pself);
}
}
public static void Destroy(ImGuiMetricsConfigPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiMetricsConfig self)
{
fixed (ImGuiMetricsConfig* pself = &self)
{
ImGuiNative.Destroy((ImGuiMetricsConfig*)pself);
}
}
public static void Destroy(ImGuiStackLevelInfoPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiStackLevelInfo self)
{
fixed (ImGuiStackLevelInfo* pself = &self)
{
ImGuiNative.Destroy((ImGuiStackLevelInfo*)pself);
}
}
public static void Destroy(ImGuiStackToolPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiStackTool self)
{
fixed (ImGuiStackTool* pself = &self)
{
ImGuiNative.Destroy((ImGuiStackTool*)pself);
}
}
public static void Destroy(ImGuiContextHookPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiContextHook self)
{
fixed (ImGuiContextHook* pself = &self)
{
ImGuiNative.Destroy((ImGuiContextHook*)pself);
}
}
public static void Destroy(ImGuiContextPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiContext self)
{
fixed (ImGuiContext* pself = &self)
{
ImGuiNative.Destroy((ImGuiContext*)pself);
}
}
public static void Destroy(ImGuiTabItemPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiTabItem self)
{
fixed (ImGuiTabItem* pself = &self)
{
ImGuiNative.Destroy((ImGuiTabItem*)pself);
}
}
public static void Destroy(ImGuiTabBarPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiTabBar self)
{
fixed (ImGuiTabBar* pself = &self)
{
ImGuiNative.Destroy((ImGuiTabBar*)pself);
}
}
public static void Destroy(ImGuiTableColumnPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiTableColumn self)
{
fixed (ImGuiTableColumn* pself = &self)
{
ImGuiNative.Destroy((ImGuiTableColumn*)pself);
}
}
public static void Destroy(ImGuiTableInstanceDataPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiTableInstanceData self)
{
fixed (ImGuiTableInstanceData* pself = &self)
{
ImGuiNative.Destroy((ImGuiTableInstanceData*)pself);
}
}
public static void Destroy(ImGuiTableTempDataPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiTableTempData self)
{
fixed (ImGuiTableTempData* pself = &self)
{
ImGuiNative.Destroy((ImGuiTableTempData*)pself);
}
}
public static void Destroy(ImGuiTableColumnSettingsPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiTableColumnSettings self)
{
fixed (ImGuiTableColumnSettings* pself = &self)
{
ImGuiNative.Destroy((ImGuiTableColumnSettings*)pself);
}
}
public static void Destroy(ImGuiTableSettingsPtr self)
{
ImGuiNative.Destroy(self);
}
public static void Destroy(ref ImGuiTableSettings self)
{
fixed (ImGuiTableSettings* pself = &self)
{
ImGuiNative.Destroy((ImGuiTableSettings*)pself);
}
}
public static Vector4* ImVec4()
{
Vector4* ret = ImGuiNative.ImVec4();
return ret;
}
public static Vector4* ImVec4(float x, float y, float z, float w)
{
Vector4* ret = ImGuiNative.ImVec4(x, y, z, w);
return ret;
}
public static ImGuiContextPtr CreateContext(ImFontAtlasPtr sharedFontAtlas)
{
ImGuiContextPtr ret = ImGuiNative.CreateContext(sharedFontAtlas);
return ret;
}
public static ImGuiContextPtr CreateContext()
{
ImGuiContextPtr ret = ImGuiNative.CreateContext((ImFontAtlas*)(default));
return ret;
}
public static ImGuiContextPtr CreateContext(ref ImFontAtlas sharedFontAtlas)
{
fixed (ImFontAtlas* psharedFontAtlas = &sharedFontAtlas)
{
ImGuiContextPtr ret = ImGuiNative.CreateContext((ImFontAtlas*)psharedFontAtlas);
return ret;
}
}
public static void DestroyContext(ImGuiContextPtr ctx)
{
ImGuiNative.DestroyContext(ctx);
}
public static void DestroyContext()
{
ImGuiNative.DestroyContext((ImGuiContext*)(default));
}
public static void DestroyContext(ref ImGuiContext ctx)
{
fixed (ImGuiContext* pctx = &ctx)
{
ImGuiNative.DestroyContext((ImGuiContext*)pctx);
}
}
public static ImGuiContextPtr GetCurrentContext()
{
ImGuiContextPtr ret = ImGuiNative.GetCurrentContext();
return ret;
}
public static void SetCurrentContext(ImGuiContextPtr ctx)
{
ImGuiNative.SetCurrentContext(ctx);
}
public static void SetCurrentContext(ref ImGuiContext ctx)
{
fixed (ImGuiContext* pctx = &ctx)
{
ImGuiNative.SetCurrentContext((ImGuiContext*)pctx);
}
}
public static ImGuiIOPtr GetIO()
{
ImGuiIOPtr ret = ImGuiNative.GetIO();
return ret;
}
public static ImGuiStylePtr GetStyle()
{
ImGuiStylePtr ret = ImGuiNative.GetStyle();
return ret;
}
public static void NewFrame()
{
ImGuiNative.NewFrame();
}
public static void EndFrame()
{
ImGuiNative.EndFrame();
}
public static void Render()
{
ImGuiNative.Render();
}
public static ImDrawDataPtr GetDrawData()
{
ImDrawDataPtr ret = ImGuiNative.GetDrawData();
return ret;
}
public static void ShowDemoWindow(bool* pOpen)
{
ImGuiNative.ShowDemoWindow(pOpen);
}
public static void ShowDemoWindow()
{
ImGuiNative.ShowDemoWindow((bool*)(default));
}
public static void ShowDemoWindow(ref bool pOpen)
{
fixed (bool* ppOpen = &pOpen)
{
ImGuiNative.ShowDemoWindow((bool*)ppOpen);
}
}
public static void ShowMetricsWindow(bool* pOpen)
{
ImGuiNative.ShowMetricsWindow(pOpen);
}
public static void ShowMetricsWindow()
{
ImGuiNative.ShowMetricsWindow((bool*)(default));
}
public static void ShowMetricsWindow(ref bool pOpen)
{
fixed (bool* ppOpen = &pOpen)
{
ImGuiNative.ShowMetricsWindow((bool*)ppOpen);
}
}
public static void ShowDebugLogWindow(bool* pOpen)
{
ImGuiNative.ShowDebugLogWindow(pOpen);
}
public static void ShowDebugLogWindow()
{
ImGuiNative.ShowDebugLogWindow((bool*)(default));
}
public static void ShowDebugLogWindow(ref bool pOpen)
{
fixed (bool* ppOpen = &pOpen)
{
ImGuiNative.ShowDebugLogWindow((bool*)ppOpen);
}
}
public static void ShowStackToolWindow(bool* pOpen)
{
ImGuiNative.ShowStackToolWindow(pOpen);
}
public static void ShowStackToolWindow()
{
ImGuiNative.ShowStackToolWindow((bool*)(default));
}
public static void ShowStackToolWindow(ref bool pOpen)
{
fixed (bool* ppOpen = &pOpen)
{
ImGuiNative.ShowStackToolWindow((bool*)ppOpen);
}
}
public static void ShowAboutWindow(bool* pOpen)
{
ImGuiNative.ShowAboutWindow(pOpen);
}
public static void ShowAboutWindow()
{
ImGuiNative.ShowAboutWindow((bool*)(default));
}
public static void ShowAboutWindow(ref bool pOpen)
{
fixed (bool* ppOpen = &pOpen)
{
ImGuiNative.ShowAboutWindow((bool*)ppOpen);
}
}
public static void ShowStyleEditor(ImGuiStylePtr reference)
{
ImGuiNative.ShowStyleEditor(reference);
}
public static void ShowStyleEditor()
{
ImGuiNative.ShowStyleEditor((ImGuiStyle*)(default));
}
public static void ShowStyleEditor(ref ImGuiStyle reference)
{
fixed (ImGuiStyle* preference = &reference)
{
ImGuiNative.ShowStyleEditor((ImGuiStyle*)preference);
}
}
public static bool ShowStyleSelector(byte* label)
{
byte ret = ImGuiNative.ShowStyleSelector(label);
return ret != 0;
}
public static bool ShowStyleSelector(ref byte label)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.ShowStyleSelector((byte*)plabel);
return ret != 0;
}
}
public static bool ShowStyleSelector(ReadOnlySpan label)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.ShowStyleSelector((byte*)plabel);
return ret != 0;
}
}
public static bool ShowStyleSelector(string label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.ShowStyleSelector(pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static void ShowFontSelector(byte* label)
{
ImGuiNative.ShowFontSelector(label);
}
public static void ShowFontSelector(ref byte label)
{
fixed (byte* plabel = &label)
{
ImGuiNative.ShowFontSelector((byte*)plabel);
}
}
public static void ShowFontSelector(ReadOnlySpan label)
{
fixed (byte* plabel = label)
{
ImGuiNative.ShowFontSelector((byte*)plabel);
}
}
public static void ShowFontSelector(string label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImGuiNative.ShowFontSelector(pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
public static void ShowUserGuide()
{
ImGuiNative.ShowUserGuide();
}
public static byte* GetVersion()
{
byte* ret = ImGuiNative.GetVersion();
return ret;
}
public static string GetVersionS()
{
string ret = Utils.DecodeStringUTF8(ImGuiNative.GetVersion());
return ret;
}
public static void StyleColorsDark(ImGuiStylePtr dst)
{
ImGuiNative.StyleColorsDark(dst);
}
public static void StyleColorsDark()
{
ImGuiNative.StyleColorsDark((ImGuiStyle*)(default));
}
public static void StyleColorsDark(ref ImGuiStyle dst)
{
fixed (ImGuiStyle* pdst = &dst)
{
ImGuiNative.StyleColorsDark((ImGuiStyle*)pdst);
}
}
public static void StyleColorsLight(ImGuiStylePtr dst)
{
ImGuiNative.StyleColorsLight(dst);
}
public static void StyleColorsLight()
{
ImGuiNative.StyleColorsLight((ImGuiStyle*)(default));
}
public static void StyleColorsLight(ref ImGuiStyle dst)
{
fixed (ImGuiStyle* pdst = &dst)
{
ImGuiNative.StyleColorsLight((ImGuiStyle*)pdst);
}
}
public static void StyleColorsClassic(ImGuiStylePtr dst)
{
ImGuiNative.StyleColorsClassic(dst);
}
public static void StyleColorsClassic()
{
ImGuiNative.StyleColorsClassic((ImGuiStyle*)(default));
}
public static void StyleColorsClassic(ref ImGuiStyle dst)
{
fixed (ImGuiStyle* pdst = &dst)
{
ImGuiNative.StyleColorsClassic((ImGuiStyle*)pdst);
}
}
public static bool Begin(byte* name, bool* pOpen, ImGuiWindowFlags flags)
{
byte ret = ImGuiNative.Begin(name, pOpen, flags);
return ret != 0;
}
public static bool Begin(byte* name, bool* pOpen)
{
byte ret = ImGuiNative.Begin(name, pOpen, (ImGuiWindowFlags)(0));
return ret != 0;
}
public static bool Begin(byte* name)
{
byte ret = ImGuiNative.Begin(name, (bool*)(default), (ImGuiWindowFlags)(0));
return ret != 0;
}
public static bool Begin(byte* name, ImGuiWindowFlags flags)
{
byte ret = ImGuiNative.Begin(name, (bool*)(default), flags);
return ret != 0;
}
public static bool Begin(ref byte name, bool* pOpen, ImGuiWindowFlags flags)
{
fixed (byte* pname = &name)
{
byte ret = ImGuiNative.Begin((byte*)pname, pOpen, flags);
return ret != 0;
}
}
public static bool Begin(ref byte name, bool* pOpen)
{
fixed (byte* pname = &name)
{
byte ret = ImGuiNative.Begin((byte*)pname, pOpen, (ImGuiWindowFlags)(0));
return ret != 0;
}
}
public static bool Begin(ref byte name)
{
fixed (byte* pname = &name)
{
byte ret = ImGuiNative.Begin((byte*)pname, (bool*)(default), (ImGuiWindowFlags)(0));
return ret != 0;
}
}
public static bool Begin(ref byte name, ImGuiWindowFlags flags)
{
fixed (byte* pname = &name)
{
byte ret = ImGuiNative.Begin((byte*)pname, (bool*)(default), flags);
return ret != 0;
}
}
public static bool Begin(ReadOnlySpan name, bool* pOpen, ImGuiWindowFlags flags)
{
fixed (byte* pname = name)
{
byte ret = ImGuiNative.Begin((byte*)pname, pOpen, flags);
return ret != 0;
}
}
public static bool Begin(ReadOnlySpan name, bool* pOpen)
{
fixed (byte* pname = name)
{
byte ret = ImGuiNative.Begin((byte*)pname, pOpen, (ImGuiWindowFlags)(0));
return ret != 0;
}
}
public static bool Begin(ReadOnlySpan name)
{
fixed (byte* pname = name)
{
byte ret = ImGuiNative.Begin((byte*)pname, (bool*)(default), (ImGuiWindowFlags)(0));
return ret != 0;
}
}
public static bool Begin(ReadOnlySpan name, ImGuiWindowFlags flags)
{
fixed (byte* pname = name)
{
byte ret = ImGuiNative.Begin((byte*)pname, (bool*)(default), flags);
return ret != 0;
}
}
public static bool Begin(string name, bool* pOpen, ImGuiWindowFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (name != null)
{
pStrSize0 = Utils.GetByteCountUTF8(name);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Begin(pStr0, pOpen, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Begin(string name, bool* pOpen)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (name != null)
{
pStrSize0 = Utils.GetByteCountUTF8(name);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Begin(pStr0, pOpen, (ImGuiWindowFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Begin(string name)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (name != null)
{
pStrSize0 = Utils.GetByteCountUTF8(name);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Begin(pStr0, (bool*)(default), (ImGuiWindowFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Begin(string name, ImGuiWindowFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (name != null)
{
pStrSize0 = Utils.GetByteCountUTF8(name);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Begin(pStr0, (bool*)(default), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Begin(byte* name, ref bool pOpen, ImGuiWindowFlags flags)
{
fixed (bool* ppOpen = &pOpen)
{
byte ret = ImGuiNative.Begin(name, (bool*)ppOpen, flags);
return ret != 0;
}
}
public static bool Begin(byte* name, ref bool pOpen)
{
fixed (bool* ppOpen = &pOpen)
{
byte ret = ImGuiNative.Begin(name, (bool*)ppOpen, (ImGuiWindowFlags)(0));
return ret != 0;
}
}
public static bool Begin(ref byte name, ref bool pOpen, ImGuiWindowFlags flags)
{
fixed (byte* pname = &name)
{
fixed (bool* ppOpen = &pOpen)
{
byte ret = ImGuiNative.Begin((byte*)pname, (bool*)ppOpen, flags);
return ret != 0;
}
}
}
public static bool Begin(ref byte name, ref bool pOpen)
{
fixed (byte* pname = &name)
{
fixed (bool* ppOpen = &pOpen)
{
byte ret = ImGuiNative.Begin((byte*)pname, (bool*)ppOpen, (ImGuiWindowFlags)(0));
return ret != 0;
}
}
}
public static bool Begin(ReadOnlySpan name, ref bool pOpen, ImGuiWindowFlags flags)
{
fixed (byte* pname = name)
{
fixed (bool* ppOpen = &pOpen)
{
byte ret = ImGuiNative.Begin((byte*)pname, (bool*)ppOpen, flags);
return ret != 0;
}
}
}
public static bool Begin(ReadOnlySpan name, ref bool pOpen)
{
fixed (byte* pname = name)
{
fixed (bool* ppOpen = &pOpen)
{
byte ret = ImGuiNative.Begin((byte*)pname, (bool*)ppOpen, (ImGuiWindowFlags)(0));
return ret != 0;
}
}
}
public static bool Begin(string name, ref bool pOpen, ImGuiWindowFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (name != null)
{
pStrSize0 = Utils.GetByteCountUTF8(name);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (bool* ppOpen = &pOpen)
{
byte ret = ImGuiNative.Begin(pStr0, (bool*)ppOpen, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool Begin(string name, ref bool pOpen)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (name != null)
{
pStrSize0 = Utils.GetByteCountUTF8(name);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (bool* ppOpen = &pOpen)
{
byte ret = ImGuiNative.Begin(pStr0, (bool*)ppOpen, (ImGuiWindowFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static void Begin(ImGuiListClipperPtr self, int itemsCount, float itemsHeight)
{
ImGuiNative.Begin(self, itemsCount, itemsHeight);
}
public static void Begin(ImGuiListClipperPtr self, int itemsCount)
{
ImGuiNative.Begin(self, itemsCount, (float)(-1.0f));
}
public static void Begin(ref ImGuiListClipper self, int itemsCount, float itemsHeight)
{
fixed (ImGuiListClipper* pself = &self)
{
ImGuiNative.Begin((ImGuiListClipper*)pself, itemsCount, itemsHeight);
}
}
public static void Begin(ref ImGuiListClipper self, int itemsCount)
{
fixed (ImGuiListClipper* pself = &self)
{
ImGuiNative.Begin((ImGuiListClipper*)pself, itemsCount, (float)(-1.0f));
}
}
public static void End()
{
ImGuiNative.End();
}
public static void End(ImGuiListClipperPtr self)
{
ImGuiNative.End(self);
}
public static void End(ref ImGuiListClipper self)
{
fixed (ImGuiListClipper* pself = &self)
{
ImGuiNative.End((ImGuiListClipper*)pself);
}
}
public static bool BeginChild(byte* strId, Vector2 size, bool border, ImGuiWindowFlags flags)
{
byte ret = ImGuiNative.BeginChild(strId, size, border ? (byte)1 : (byte)0, flags);
return ret != 0;
}
public static bool BeginChild(byte* strId, Vector2 size, bool border)
{
byte ret = ImGuiNative.BeginChild(strId, size, border ? (byte)1 : (byte)0, (ImGuiWindowFlags)(0));
return ret != 0;
}
public static bool BeginChild(byte* strId, Vector2 size)
{
byte ret = ImGuiNative.BeginChild(strId, size, (byte)(0), (ImGuiWindowFlags)(0));
return ret != 0;
}
public static bool BeginChild(byte* strId)
{
byte ret = ImGuiNative.BeginChild(strId, (Vector2)(new Vector2(0,0)), (byte)(0), (ImGuiWindowFlags)(0));
return ret != 0;
}
public static bool BeginChild(byte* strId, bool border)
{
byte ret = ImGuiNative.BeginChild(strId, (Vector2)(new Vector2(0,0)), border ? (byte)1 : (byte)0, (ImGuiWindowFlags)(0));
return ret != 0;
}
public static bool BeginChild(byte* strId, Vector2 size, ImGuiWindowFlags flags)
{
byte ret = ImGuiNative.BeginChild(strId, size, (byte)(0), flags);
return ret != 0;
}
public static bool BeginChild(byte* strId, ImGuiWindowFlags flags)
{
byte ret = ImGuiNative.BeginChild(strId, (Vector2)(new Vector2(0,0)), (byte)(0), flags);
return ret != 0;
}
public static bool BeginChild(byte* strId, bool border, ImGuiWindowFlags flags)
{
byte ret = ImGuiNative.BeginChild(strId, (Vector2)(new Vector2(0,0)), border ? (byte)1 : (byte)0, flags);
return ret != 0;
}
public static bool BeginChild(ref byte strId, Vector2 size, bool border, ImGuiWindowFlags flags)
{
fixed (byte* pstrId = &strId)
{
byte ret = ImGuiNative.BeginChild((byte*)pstrId, size, border ? (byte)1 : (byte)0, flags);
return ret != 0;
}
}
public static bool BeginChild(ref byte strId, Vector2 size, bool border)
{
fixed (byte* pstrId = &strId)
{
byte ret = ImGuiNative.BeginChild((byte*)pstrId, size, border ? (byte)1 : (byte)0, (ImGuiWindowFlags)(0));
return ret != 0;
}
}
public static bool BeginChild(ref byte strId, Vector2 size)
{
fixed (byte* pstrId = &strId)
{
byte ret = ImGuiNative.BeginChild((byte*)pstrId, size, (byte)(0), (ImGuiWindowFlags)(0));
return ret != 0;
}
}
public static bool BeginChild(ref byte strId)
{
fixed (byte* pstrId = &strId)
{
byte ret = ImGuiNative.BeginChild((byte*)pstrId, (Vector2)(new Vector2(0,0)), (byte)(0), (ImGuiWindowFlags)(0));
return ret != 0;
}
}
public static bool BeginChild(ref byte strId, bool border)
{
fixed (byte* pstrId = &strId)
{
byte ret = ImGuiNative.BeginChild((byte*)pstrId, (Vector2)(new Vector2(0,0)), border ? (byte)1 : (byte)0, (ImGuiWindowFlags)(0));
return ret != 0;
}
}
public static bool BeginChild(ref byte strId, Vector2 size, ImGuiWindowFlags flags)
{
fixed (byte* pstrId = &strId)
{
byte ret = ImGuiNative.BeginChild((byte*)pstrId, size, (byte)(0), flags);
return ret != 0;
}
}
public static bool BeginChild(ref byte strId, ImGuiWindowFlags flags)
{
fixed (byte* pstrId = &strId)
{
byte ret = ImGuiNative.BeginChild((byte*)pstrId, (Vector2)(new Vector2(0,0)), (byte)(0), flags);
return ret != 0;
}
}
public static bool BeginChild(ref byte strId, bool border, ImGuiWindowFlags flags)
{
fixed (byte* pstrId = &strId)
{
byte ret = ImGuiNative.BeginChild((byte*)pstrId, (Vector2)(new Vector2(0,0)), border ? (byte)1 : (byte)0, flags);
return ret != 0;
}
}
public static bool BeginChild(ReadOnlySpan strId, Vector2 size, bool border, ImGuiWindowFlags flags)
{
fixed (byte* pstrId = strId)
{
byte ret = ImGuiNative.BeginChild((byte*)pstrId, size, border ? (byte)1 : (byte)0, flags);
return ret != 0;
}
}
public static bool BeginChild(ReadOnlySpan strId, Vector2 size, bool border)
{
fixed (byte* pstrId = strId)
{
byte ret = ImGuiNative.BeginChild((byte*)pstrId, size, border ? (byte)1 : (byte)0, (ImGuiWindowFlags)(0));
return ret != 0;
}
}
public static bool BeginChild(ReadOnlySpan strId, Vector2 size)
{
fixed (byte* pstrId = strId)
{
byte ret = ImGuiNative.BeginChild((byte*)pstrId, size, (byte)(0), (ImGuiWindowFlags)(0));
return ret != 0;
}
}
public static bool BeginChild(ReadOnlySpan strId)
{
fixed (byte* pstrId = strId)
{
byte ret = ImGuiNative.BeginChild((byte*)pstrId, (Vector2)(new Vector2(0,0)), (byte)(0), (ImGuiWindowFlags)(0));
return ret != 0;
}
}
public static bool BeginChild(ReadOnlySpan strId, bool border)
{
fixed (byte* pstrId = strId)
{
byte ret = ImGuiNative.BeginChild((byte*)pstrId, (Vector2)(new Vector2(0,0)), border ? (byte)1 : (byte)0, (ImGuiWindowFlags)(0));
return ret != 0;
}
}
public static bool BeginChild(ReadOnlySpan strId, Vector2 size, ImGuiWindowFlags flags)
{
fixed (byte* pstrId = strId)
{
byte ret = ImGuiNative.BeginChild((byte*)pstrId, size, (byte)(0), flags);
return ret != 0;
}
}
public static bool BeginChild(ReadOnlySpan strId, ImGuiWindowFlags flags)
{
fixed (byte* pstrId = strId)
{
byte ret = ImGuiNative.BeginChild((byte*)pstrId, (Vector2)(new Vector2(0,0)), (byte)(0), flags);
return ret != 0;
}
}
public static bool BeginChild(ReadOnlySpan strId, bool border, ImGuiWindowFlags flags)
{
fixed (byte* pstrId = strId)
{
byte ret = ImGuiNative.BeginChild((byte*)pstrId, (Vector2)(new Vector2(0,0)), border ? (byte)1 : (byte)0, flags);
return ret != 0;
}
}
public static bool BeginChild(string strId, Vector2 size, bool border, ImGuiWindowFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (strId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(strId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.BeginChild(pStr0, size, border ? (byte)1 : (byte)0, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool BeginChild(string strId, Vector2 size, bool border)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (strId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(strId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.BeginChild(pStr0, size, border ? (byte)1 : (byte)0, (ImGuiWindowFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool BeginChild(string strId, Vector2 size)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (strId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(strId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.BeginChild(pStr0, size, (byte)(0), (ImGuiWindowFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool BeginChild(string strId)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (strId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(strId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.BeginChild(pStr0, (Vector2)(new Vector2(0,0)), (byte)(0), (ImGuiWindowFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool BeginChild(string strId, bool border)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (strId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(strId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.BeginChild(pStr0, (Vector2)(new Vector2(0,0)), border ? (byte)1 : (byte)0, (ImGuiWindowFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool BeginChild(string strId, Vector2 size, ImGuiWindowFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (strId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(strId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.BeginChild(pStr0, size, (byte)(0), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool BeginChild(string strId, ImGuiWindowFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (strId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(strId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.BeginChild(pStr0, (Vector2)(new Vector2(0,0)), (byte)(0), flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool BeginChild(string strId, bool border, ImGuiWindowFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (strId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(strId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.BeginChild(pStr0, (Vector2)(new Vector2(0,0)), border ? (byte)1 : (byte)0, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool BeginChild(uint id, Vector2 size, bool border, ImGuiWindowFlags flags)
{
byte ret = ImGuiNative.BeginChild(id, size, border ? (byte)1 : (byte)0, flags);
return ret != 0;
}
public static bool BeginChild(uint id, Vector2 size, bool border)
{
byte ret = ImGuiNative.BeginChild(id, size, border ? (byte)1 : (byte)0, (ImGuiWindowFlags)(0));
return ret != 0;
}
public static bool BeginChild(uint id, Vector2 size)
{
byte ret = ImGuiNative.BeginChild(id, size, (byte)(0), (ImGuiWindowFlags)(0));
return ret != 0;
}
public static bool BeginChild(uint id)
{
byte ret = ImGuiNative.BeginChild(id, (Vector2)(new Vector2(0,0)), (byte)(0), (ImGuiWindowFlags)(0));
return ret != 0;
}
public static bool BeginChild(uint id, bool border)
{
byte ret = ImGuiNative.BeginChild(id, (Vector2)(new Vector2(0,0)), border ? (byte)1 : (byte)0, (ImGuiWindowFlags)(0));
return ret != 0;
}
public static bool BeginChild(uint id, Vector2 size, ImGuiWindowFlags flags)
{
byte ret = ImGuiNative.BeginChild(id, size, (byte)(0), flags);
return ret != 0;
}
public static bool BeginChild(uint id, ImGuiWindowFlags flags)
{
byte ret = ImGuiNative.BeginChild(id, (Vector2)(new Vector2(0,0)), (byte)(0), flags);
return ret != 0;
}
public static bool BeginChild(uint id, bool border, ImGuiWindowFlags flags)
{
byte ret = ImGuiNative.BeginChild(id, (Vector2)(new Vector2(0,0)), border ? (byte)1 : (byte)0, flags);
return ret != 0;
}
public static void EndChild()
{
ImGuiNative.EndChild();
}
public static bool IsWindowAppearing()
{
byte ret = ImGuiNative.IsWindowAppearing();
return ret != 0;
}
public static bool IsWindowCollapsed()
{
byte ret = ImGuiNative.IsWindowCollapsed();
return ret != 0;
}
public static bool IsWindowFocused(ImGuiFocusedFlags flags)
{
byte ret = ImGuiNative.IsWindowFocused(flags);
return ret != 0;
}
public static bool IsWindowFocused()
{
byte ret = ImGuiNative.IsWindowFocused((ImGuiFocusedFlags)(0));
return ret != 0;
}
public static bool IsWindowHovered(ImGuiHoveredFlags flags)
{
byte ret = ImGuiNative.IsWindowHovered(flags);
return ret != 0;
}
public static bool IsWindowHovered()
{
byte ret = ImGuiNative.IsWindowHovered((ImGuiHoveredFlags)(0));
return ret != 0;
}
public static ImDrawListPtr GetWindowDrawList()
{
ImDrawListPtr ret = ImGuiNative.GetWindowDrawList();
return ret;
}
public static float GetWindowDpiScale()
{
float ret = ImGuiNative.GetWindowDpiScale();
return ret;
}
public static Vector2 GetWindowPos()
{
Vector2 ret;
ImGuiNative.GetWindowPos(&ret);
return ret;
}
public static void GetWindowPos(Vector2* pOut)
{
ImGuiNative.GetWindowPos(pOut);
}
public static void GetWindowPos(ref Vector2 pOut)
{
fixed (Vector2* ppOut = &pOut)
{
ImGuiNative.GetWindowPos((Vector2*)ppOut);
}
}
public static Vector2 GetWindowSize()
{
Vector2 ret;
ImGuiNative.GetWindowSize(&ret);
return ret;
}
public static void GetWindowSize(Vector2* pOut)
{
ImGuiNative.GetWindowSize(pOut);
}
public static void GetWindowSize(ref Vector2 pOut)
{
fixed (Vector2* ppOut = &pOut)
{
ImGuiNative.GetWindowSize((Vector2*)ppOut);
}
}
public static float GetWindowWidth()
{
float ret = ImGuiNative.GetWindowWidth();
return ret;
}
public static float GetWindowHeight()
{
float ret = ImGuiNative.GetWindowHeight();
return ret;
}
public static ImGuiViewportPtr GetWindowViewport()
{
ImGuiViewportPtr ret = ImGuiNative.GetWindowViewport();
return ret;
}
public static void SetNextWindowPos(Vector2 pos, ImGuiCond cond, Vector2 pivot)
{
ImGuiNative.SetNextWindowPos(pos, cond, pivot);
}
public static void SetNextWindowPos(Vector2 pos, ImGuiCond cond)
{
ImGuiNative.SetNextWindowPos(pos, cond, (Vector2)(new Vector2(0,0)));
}
public static void SetNextWindowPos(Vector2 pos)
{
ImGuiNative.SetNextWindowPos(pos, (ImGuiCond)(0), (Vector2)(new Vector2(0,0)));
}
public static void SetNextWindowPos(Vector2 pos, Vector2 pivot)
{
ImGuiNative.SetNextWindowPos(pos, (ImGuiCond)(0), pivot);
}
public static void SetNextWindowSize(Vector2 size, ImGuiCond cond)
{
ImGuiNative.SetNextWindowSize(size, cond);
}
public static void SetNextWindowSize(Vector2 size)
{
ImGuiNative.SetNextWindowSize(size, (ImGuiCond)(0));
}
public static void SetNextWindowSizeConstraints(Vector2 sizeMin, Vector2 sizeMax, ImGuiSizeCallback customCallback, void* customCallbackData)
{
ImGuiNative.SetNextWindowSizeConstraints(sizeMin, sizeMax, customCallback, customCallbackData);
}
public static void SetNextWindowSizeConstraints(Vector2 sizeMin, Vector2 sizeMax, ImGuiSizeCallback customCallback)
{
ImGuiNative.SetNextWindowSizeConstraints(sizeMin, sizeMax, customCallback, (void*)(default));
}
public static void SetNextWindowSizeConstraints(Vector2 sizeMin, Vector2 sizeMax)
{
ImGuiNative.SetNextWindowSizeConstraints(sizeMin, sizeMax, (ImGuiSizeCallback)(default), (void*)(default));
}
public static void SetNextWindowSizeConstraints(Vector2 sizeMin, Vector2 sizeMax, void* customCallbackData)
{
ImGuiNative.SetNextWindowSizeConstraints(sizeMin, sizeMax, (ImGuiSizeCallback)(default), customCallbackData);
}
public static void SetNextWindowContentSize(Vector2 size)
{
ImGuiNative.SetNextWindowContentSize(size);
}
public static void SetNextWindowCollapsed(bool collapsed, ImGuiCond cond)
{
ImGuiNative.SetNextWindowCollapsed(collapsed ? (byte)1 : (byte)0, cond);
}
public static void SetNextWindowCollapsed(bool collapsed)
{
ImGuiNative.SetNextWindowCollapsed(collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0));
}
public static void SetNextWindowFocus()
{
ImGuiNative.SetNextWindowFocus();
}
public static void SetNextWindowBgAlpha(float alpha)
{
ImGuiNative.SetNextWindowBgAlpha(alpha);
}
public static void SetNextWindowViewport(uint viewportId)
{
ImGuiNative.SetNextWindowViewport(viewportId);
}
public static void SetWindowPos(Vector2 pos, ImGuiCond cond)
{
ImGuiNative.SetWindowPos(pos, cond);
}
public static void SetWindowPos(Vector2 pos)
{
ImGuiNative.SetWindowPos(pos, (ImGuiCond)(0));
}
public static void SetWindowPos(byte* name, Vector2 pos, ImGuiCond cond)
{
ImGuiNative.SetWindowPos(name, pos, cond);
}
public static void SetWindowPos(byte* name, Vector2 pos)
{
ImGuiNative.SetWindowPos(name, pos, (ImGuiCond)(0));
}
public static void SetWindowPos(ref byte name, Vector2 pos, ImGuiCond cond)
{
fixed (byte* pname = &name)
{
ImGuiNative.SetWindowPos((byte*)pname, pos, cond);
}
}
public static void SetWindowPos(ref byte name, Vector2 pos)
{
fixed (byte* pname = &name)
{
ImGuiNative.SetWindowPos((byte*)pname, pos, (ImGuiCond)(0));
}
}
public static void SetWindowPos(ReadOnlySpan name, Vector2 pos, ImGuiCond cond)
{
fixed (byte* pname = name)
{
ImGuiNative.SetWindowPos((byte*)pname, pos, cond);
}
}
public static void SetWindowPos(ReadOnlySpan name, Vector2 pos)
{
fixed (byte* pname = name)
{
ImGuiNative.SetWindowPos((byte*)pname, pos, (ImGuiCond)(0));
}
}
public static void SetWindowPos(string name, Vector2 pos, ImGuiCond cond)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (name != null)
{
pStrSize0 = Utils.GetByteCountUTF8(name);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImGuiNative.SetWindowPos(pStr0, pos, cond);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
public static void SetWindowPos(string name, Vector2 pos)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (name != null)
{
pStrSize0 = Utils.GetByteCountUTF8(name);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImGuiNative.SetWindowPos(pStr0, pos, (ImGuiCond)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
public static void SetWindowSize(Vector2 size, ImGuiCond cond)
{
ImGuiNative.SetWindowSize(size, cond);
}
public static void SetWindowSize(Vector2 size)
{
ImGuiNative.SetWindowSize(size, (ImGuiCond)(0));
}
public static void SetWindowSize(byte* name, Vector2 size, ImGuiCond cond)
{
ImGuiNative.SetWindowSize(name, size, cond);
}
public static void SetWindowSize(byte* name, Vector2 size)
{
ImGuiNative.SetWindowSize(name, size, (ImGuiCond)(0));
}
public static void SetWindowSize(ref byte name, Vector2 size, ImGuiCond cond)
{
fixed (byte* pname = &name)
{
ImGuiNative.SetWindowSize((byte*)pname, size, cond);
}
}
public static void SetWindowSize(ref byte name, Vector2 size)
{
fixed (byte* pname = &name)
{
ImGuiNative.SetWindowSize((byte*)pname, size, (ImGuiCond)(0));
}
}
public static void SetWindowSize(ReadOnlySpan name, Vector2 size, ImGuiCond cond)
{
fixed (byte* pname = name)
{
ImGuiNative.SetWindowSize((byte*)pname, size, cond);
}
}
public static void SetWindowSize(ReadOnlySpan name, Vector2 size)
{
fixed (byte* pname = name)
{
ImGuiNative.SetWindowSize((byte*)pname, size, (ImGuiCond)(0));
}
}
public static void SetWindowSize(string name, Vector2 size, ImGuiCond cond)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (name != null)
{
pStrSize0 = Utils.GetByteCountUTF8(name);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImGuiNative.SetWindowSize(pStr0, size, cond);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
public static void SetWindowSize(string name, Vector2 size)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (name != null)
{
pStrSize0 = Utils.GetByteCountUTF8(name);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImGuiNative.SetWindowSize(pStr0, size, (ImGuiCond)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
public static void SetWindowCollapsed(bool collapsed, ImGuiCond cond)
{
ImGuiNative.SetWindowCollapsed(collapsed ? (byte)1 : (byte)0, cond);
}
public static void SetWindowCollapsed(bool collapsed)
{
ImGuiNative.SetWindowCollapsed(collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0));
}
public static void SetWindowCollapsed(byte* name, bool collapsed, ImGuiCond cond)
{
ImGuiNative.SetWindowCollapsed(name, collapsed ? (byte)1 : (byte)0, cond);
}
public static void SetWindowCollapsed(byte* name, bool collapsed)
{
ImGuiNative.SetWindowCollapsed(name, collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0));
}
public static void SetWindowCollapsed(ref byte name, bool collapsed, ImGuiCond cond)
{
fixed (byte* pname = &name)
{
ImGuiNative.SetWindowCollapsed((byte*)pname, collapsed ? (byte)1 : (byte)0, cond);
}
}
public static void SetWindowCollapsed(ref byte name, bool collapsed)
{
fixed (byte* pname = &name)
{
ImGuiNative.SetWindowCollapsed((byte*)pname, collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0));
}
}
public static void SetWindowCollapsed(ReadOnlySpan name, bool collapsed, ImGuiCond cond)
{
fixed (byte* pname = name)
{
ImGuiNative.SetWindowCollapsed((byte*)pname, collapsed ? (byte)1 : (byte)0, cond);
}
}
public static void SetWindowCollapsed(ReadOnlySpan name, bool collapsed)
{
fixed (byte* pname = name)
{
ImGuiNative.SetWindowCollapsed((byte*)pname, collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0));
}
}
public static void SetWindowCollapsed(string name, bool collapsed, ImGuiCond cond)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (name != null)
{
pStrSize0 = Utils.GetByteCountUTF8(name);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImGuiNative.SetWindowCollapsed(pStr0, collapsed ? (byte)1 : (byte)0, cond);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
public static void SetWindowCollapsed(string name, bool collapsed)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (name != null)
{
pStrSize0 = Utils.GetByteCountUTF8(name);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImGuiNative.SetWindowCollapsed(pStr0, collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
public static void SetWindowFocus()
{
ImGuiNative.SetWindowFocus();
}
public static void SetWindowFocus(byte* name)
{
ImGuiNative.SetWindowFocus(name);
}
public static void SetWindowFocus(ref byte name)
{
fixed (byte* pname = &name)
{
ImGuiNative.SetWindowFocus((byte*)pname);
}
}
public static void SetWindowFocus(ReadOnlySpan name)
{
fixed (byte* pname = name)
{
ImGuiNative.SetWindowFocus((byte*)pname);
}
}
public static void SetWindowFocus(string name)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (name != null)
{
pStrSize0 = Utils.GetByteCountUTF8(name);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImGuiNative.SetWindowFocus(pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
public static void SetWindowFontScale(float scale)
{
ImGuiNative.SetWindowFontScale(scale);
}
public static Vector2 GetContentRegionAvail()
{
Vector2 ret;
ImGuiNative.GetContentRegionAvail(&ret);
return ret;
}
public static void GetContentRegionAvail(Vector2* pOut)
{
ImGuiNative.GetContentRegionAvail(pOut);
}
public static void GetContentRegionAvail(ref Vector2 pOut)
{
fixed (Vector2* ppOut = &pOut)
{
ImGuiNative.GetContentRegionAvail((Vector2*)ppOut);
}
}
public static Vector2 GetContentRegionMax()
{
Vector2 ret;
ImGuiNative.GetContentRegionMax(&ret);
return ret;
}
public static void GetContentRegionMax(Vector2* pOut)
{
ImGuiNative.GetContentRegionMax(pOut);
}
public static void GetContentRegionMax(ref Vector2 pOut)
{
fixed (Vector2* ppOut = &pOut)
{
ImGuiNative.GetContentRegionMax((Vector2*)ppOut);
}
}
public static Vector2 GetWindowContentRegionMin()
{
Vector2 ret;
ImGuiNative.GetWindowContentRegionMin(&ret);
return ret;
}
public static void GetWindowContentRegionMin(Vector2* pOut)
{
ImGuiNative.GetWindowContentRegionMin(pOut);
}
public static void GetWindowContentRegionMin(ref Vector2 pOut)
{
fixed (Vector2* ppOut = &pOut)
{
ImGuiNative.GetWindowContentRegionMin((Vector2*)ppOut);
}
}
public static Vector2 GetWindowContentRegionMax()
{
Vector2 ret;
ImGuiNative.GetWindowContentRegionMax(&ret);
return ret;
}
public static void GetWindowContentRegionMax(Vector2* pOut)
{
ImGuiNative.GetWindowContentRegionMax(pOut);
}
public static void GetWindowContentRegionMax(ref Vector2 pOut)
{
fixed (Vector2* ppOut = &pOut)
{
ImGuiNative.GetWindowContentRegionMax((Vector2*)ppOut);
}
}
public static float GetScrollX()
{
float ret = ImGuiNative.GetScrollX();
return ret;
}
public static float GetScrollY()
{
float ret = ImGuiNative.GetScrollY();
return ret;
}
public static void SetScrollX(float scrollX)
{
ImGuiNative.SetScrollX(scrollX);
}
public static void SetScrollY(float scrollY)
{
ImGuiNative.SetScrollY(scrollY);
}
public static float GetScrollMaxX()
{
float ret = ImGuiNative.GetScrollMaxX();
return ret;
}
public static float GetScrollMaxY()
{
float ret = ImGuiNative.GetScrollMaxY();
return ret;
}
public static void SetScrollHereX(float centerXRatio)
{
ImGuiNative.SetScrollHereX(centerXRatio);
}
public static void SetScrollHereX()
{
ImGuiNative.SetScrollHereX((float)(0.5f));
}
public static void SetScrollHereY(float centerYRatio)
{
ImGuiNative.SetScrollHereY(centerYRatio);
}
public static void SetScrollHereY()
{
ImGuiNative.SetScrollHereY((float)(0.5f));
}
public static void SetScrollFromPosX(float localX, float centerXRatio)
{
ImGuiNative.SetScrollFromPosX(localX, centerXRatio);
}
public static void SetScrollFromPosX(float localX)
{
ImGuiNative.SetScrollFromPosX(localX, (float)(0.5f));
}
public static void SetScrollFromPosY(float localY, float centerYRatio)
{
ImGuiNative.SetScrollFromPosY(localY, centerYRatio);
}
public static void SetScrollFromPosY(float localY)
{
ImGuiNative.SetScrollFromPosY(localY, (float)(0.5f));
}
public static void PushFont(ImFontPtr font)
{
ImGuiNative.PushFont(font);
}
public static void PushFont(ref ImFont font)
{
fixed (ImFont* pfont = &font)
{
ImGuiNative.PushFont((ImFont*)pfont);
}
}
public static void PopFont()
{
ImGuiNative.PopFont();
}
public static void PushStyleColor(ImGuiCol idx, uint col)
{
ImGuiNative.PushStyleColor(idx, col);
}
public static void PushStyleColor(ImGuiCol idx, Vector4 col)
{
ImGuiNative.PushStyleColor(idx, col);
}
public static void PopStyleColor(int count)
{
ImGuiNative.PopStyleColor(count);
}
public static void PopStyleColor()
{
ImGuiNative.PopStyleColor((int)(1));
}
public static void PushStyleVar(ImGuiStyleVar idx, float val)
{
ImGuiNative.PushStyleVar(idx, val);
}
public static void PushStyleVar(ImGuiStyleVar idx, Vector2 val)
{
ImGuiNative.PushStyleVar(idx, val);
}
public static void PopStyleVar(int count)
{
ImGuiNative.PopStyleVar(count);
}
public static void PopStyleVar()
{
ImGuiNative.PopStyleVar((int)(1));
}
public static void PushAllowKeyboardFocus(bool allowKeyboardFocus)
{
ImGuiNative.PushAllowKeyboardFocus(allowKeyboardFocus ? (byte)1 : (byte)0);
}
public static void PopAllowKeyboardFocus()
{
ImGuiNative.PopAllowKeyboardFocus();
}
public static void PushButtonRepeat(bool repeat)
{
ImGuiNative.PushButtonRepeat(repeat ? (byte)1 : (byte)0);
}
public static void PopButtonRepeat()
{
ImGuiNative.PopButtonRepeat();
}
public static void PushItemWidth(float itemWidth)
{
ImGuiNative.PushItemWidth(itemWidth);
}
public static void PopItemWidth()
{
ImGuiNative.PopItemWidth();
}
public static void SetNextItemWidth(float itemWidth)
{
ImGuiNative.SetNextItemWidth(itemWidth);
}
public static float CalcItemWidth()
{
float ret = ImGuiNative.CalcItemWidth();
return ret;
}
public static void PushTextWrapPos(float wrapLocalPosX)
{
ImGuiNative.PushTextWrapPos(wrapLocalPosX);
}
public static void PushTextWrapPos()
{
ImGuiNative.PushTextWrapPos((float)(0.0f));
}
public static void PopTextWrapPos()
{
ImGuiNative.PopTextWrapPos();
}
public static ImFontPtr GetFont()
{
ImFontPtr ret = ImGuiNative.GetFont();
return ret;
}
public static float GetFontSize()
{
float ret = ImGuiNative.GetFontSize();
return ret;
}
public static ImTextureID GetFontTexIdWhitePixel()
{
ImTextureID ret = ImGuiNative.GetFontTexIdWhitePixel();
return ret;
}
public static Vector2 GetFontTexUvWhitePixel()
{
Vector2 ret;
ImGuiNative.GetFontTexUvWhitePixel(&ret);
return ret;
}
public static void GetFontTexUvWhitePixel(Vector2* pOut)
{
ImGuiNative.GetFontTexUvWhitePixel(pOut);
}
public static void GetFontTexUvWhitePixel(ref Vector2 pOut)
{
fixed (Vector2* ppOut = &pOut)
{
ImGuiNative.GetFontTexUvWhitePixel((Vector2*)ppOut);
}
}
public static uint GetColorU32(ImGuiCol idx, float alphaMul)
{
uint ret = ImGuiNative.GetColorU32(idx, alphaMul);
return ret;
}
public static uint GetColorU32(ImGuiCol idx)
{
uint ret = ImGuiNative.GetColorU32(idx, (float)(1.0f));
return ret;
}
public static uint GetColorU32(Vector4 col)
{
uint ret = ImGuiNative.GetColorU32(col);
return ret;
}
public static uint GetColorU32(uint col)
{
uint ret = ImGuiNative.GetColorU32(col);
return ret;
}
public static Vector4* GetStyleColorVec4(ImGuiCol idx)
{
Vector4* ret = ImGuiNative.GetStyleColorVec4(idx);
return ret;
}
public static void Separator()
{
ImGuiNative.Separator();
}
public static void SameLine(float offsetFromStartX, float spacing)
{
ImGuiNative.SameLine(offsetFromStartX, spacing);
}
public static void SameLine(float offsetFromStartX)
{
ImGuiNative.SameLine(offsetFromStartX, (float)(-1.0f));
}
public static void SameLine()
{
ImGuiNative.SameLine((float)(0.0f), (float)(-1.0f));
}
public static void NewLine()
{
ImGuiNative.NewLine();
}
public static void Spacing()
{
ImGuiNative.Spacing();
}
public static void Dummy(Vector2 size)
{
ImGuiNative.Dummy(size);
}
public static void Indent(float indentW)
{
ImGuiNative.Indent(indentW);
}
public static void Indent()
{
ImGuiNative.Indent((float)(0.0f));
}
public static void Unindent(float indentW)
{
ImGuiNative.Unindent(indentW);
}
public static void Unindent()
{
ImGuiNative.Unindent((float)(0.0f));
}
public static void BeginGroup()
{
ImGuiNative.BeginGroup();
}
public static void EndGroup()
{
ImGuiNative.EndGroup();
}
public static Vector2 GetCursorPos()
{
Vector2 ret;
ImGuiNative.GetCursorPos(&ret);
return ret;
}
public static void GetCursorPos(Vector2* pOut)
{
ImGuiNative.GetCursorPos(pOut);
}
public static void GetCursorPos(ref Vector2 pOut)
{
fixed (Vector2* ppOut = &pOut)
{
ImGuiNative.GetCursorPos((Vector2*)ppOut);
}
}
public static float GetCursorPosX()
{
float ret = ImGuiNative.GetCursorPosX();
return ret;
}
public static float GetCursorPosY()
{
float ret = ImGuiNative.GetCursorPosY();
return ret;
}
public static void SetCursorPos(Vector2 localPos)
{
ImGuiNative.SetCursorPos(localPos);
}
public static void SetCursorPosX(float localX)
{
ImGuiNative.SetCursorPosX(localX);
}
public static void SetCursorPosY(float localY)
{
ImGuiNative.SetCursorPosY(localY);
}
public static Vector2 GetCursorStartPos()
{
Vector2 ret;
ImGuiNative.GetCursorStartPos(&ret);
return ret;
}
public static void GetCursorStartPos(Vector2* pOut)
{
ImGuiNative.GetCursorStartPos(pOut);
}
public static void GetCursorStartPos(ref Vector2 pOut)
{
fixed (Vector2* ppOut = &pOut)
{
ImGuiNative.GetCursorStartPos((Vector2*)ppOut);
}
}
public static Vector2 GetCursorScreenPos()
{
Vector2 ret;
ImGuiNative.GetCursorScreenPos(&ret);
return ret;
}
public static void GetCursorScreenPos(Vector2* pOut)
{
ImGuiNative.GetCursorScreenPos(pOut);
}
public static void GetCursorScreenPos(ref Vector2 pOut)
{
fixed (Vector2* ppOut = &pOut)
{
ImGuiNative.GetCursorScreenPos((Vector2*)ppOut);
}
}
public static void SetCursorScreenPos(Vector2 pos)
{
ImGuiNative.SetCursorScreenPos(pos);
}
public static void AlignTextToFramePadding()
{
ImGuiNative.AlignTextToFramePadding();
}
public static float GetTextLineHeight()
{
float ret = ImGuiNative.GetTextLineHeight();
return ret;
}
public static float GetTextLineHeightWithSpacing()
{
float ret = ImGuiNative.GetTextLineHeightWithSpacing();
return ret;
}
public static float GetFrameHeight()
{
float ret = ImGuiNative.GetFrameHeight();
return ret;
}
public static float GetFrameHeightWithSpacing()
{
float ret = ImGuiNative.GetFrameHeightWithSpacing();
return ret;
}
public static void PopID()
{
ImGuiNative.PopID();
}
public static bool Button(byte* label, Vector2 size)
{
byte ret = ImGuiNative.Button(label, size);
return ret != 0;
}
public static bool Button(byte* label)
{
byte ret = ImGuiNative.Button(label, (Vector2)(new Vector2(0,0)));
return ret != 0;
}
public static bool Button(ref byte label, Vector2 size)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.Button((byte*)plabel, size);
return ret != 0;
}
}
public static bool Button(ref byte label)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.Button((byte*)plabel, (Vector2)(new Vector2(0,0)));
return ret != 0;
}
}
public static bool Button(ReadOnlySpan label, Vector2 size)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.Button((byte*)plabel, size);
return ret != 0;
}
}
public static bool Button(ReadOnlySpan label)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.Button((byte*)plabel, (Vector2)(new Vector2(0,0)));
return ret != 0;
}
}
public static bool Button(string label, Vector2 size)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Button(pStr0, size);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Button(string label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Button(pStr0, (Vector2)(new Vector2(0,0)));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool SmallButton(byte* label)
{
byte ret = ImGuiNative.SmallButton(label);
return ret != 0;
}
public static bool SmallButton(ref byte label)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.SmallButton((byte*)plabel);
return ret != 0;
}
}
public static bool SmallButton(ReadOnlySpan label)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.SmallButton((byte*)plabel);
return ret != 0;
}
}
public static bool SmallButton(string label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.SmallButton(pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool InvisibleButton(byte* strId, Vector2 size, ImGuiButtonFlags flags)
{
byte ret = ImGuiNative.InvisibleButton(strId, size, flags);
return ret != 0;
}
public static bool InvisibleButton(byte* strId, Vector2 size)
{
byte ret = ImGuiNative.InvisibleButton(strId, size, (ImGuiButtonFlags)(0));
return ret != 0;
}
public static bool InvisibleButton(ref byte strId, Vector2 size, ImGuiButtonFlags flags)
{
fixed (byte* pstrId = &strId)
{
byte ret = ImGuiNative.InvisibleButton((byte*)pstrId, size, flags);
return ret != 0;
}
}
public static bool InvisibleButton(ref byte strId, Vector2 size)
{
fixed (byte* pstrId = &strId)
{
byte ret = ImGuiNative.InvisibleButton((byte*)pstrId, size, (ImGuiButtonFlags)(0));
return ret != 0;
}
}
public static bool InvisibleButton(ReadOnlySpan strId, Vector2 size, ImGuiButtonFlags flags)
{
fixed (byte* pstrId = strId)
{
byte ret = ImGuiNative.InvisibleButton((byte*)pstrId, size, flags);
return ret != 0;
}
}
public static bool InvisibleButton(ReadOnlySpan strId, Vector2 size)
{
fixed (byte* pstrId = strId)
{
byte ret = ImGuiNative.InvisibleButton((byte*)pstrId, size, (ImGuiButtonFlags)(0));
return ret != 0;
}
}
public static bool InvisibleButton(string strId, Vector2 size, ImGuiButtonFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (strId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(strId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.InvisibleButton(pStr0, size, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool InvisibleButton(string strId, Vector2 size)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (strId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(strId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.InvisibleButton(pStr0, size, (ImGuiButtonFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool ArrowButton(byte* strId, ImGuiDir dir)
{
byte ret = ImGuiNative.ArrowButton(strId, dir);
return ret != 0;
}
public static bool ArrowButton(ref byte strId, ImGuiDir dir)
{
fixed (byte* pstrId = &strId)
{
byte ret = ImGuiNative.ArrowButton((byte*)pstrId, dir);
return ret != 0;
}
}
public static bool ArrowButton(ReadOnlySpan strId, ImGuiDir dir)
{
fixed (byte* pstrId = strId)
{
byte ret = ImGuiNative.ArrowButton((byte*)pstrId, dir);
return ret != 0;
}
}
public static bool ArrowButton(string strId, ImGuiDir dir)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (strId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(strId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.ArrowButton(pStr0, dir);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static void Image(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 tintCol, Vector4 borderCol)
{
ImGuiNative.Image(userTextureId, size, uv0, uv1, tintCol, borderCol);
}
public static void Image(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 tintCol)
{
ImGuiNative.Image(userTextureId, size, uv0, uv1, tintCol, (Vector4)(new Vector4(0,0,0,0)));
}
public static void Image(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1)
{
ImGuiNative.Image(userTextureId, size, uv0, uv1, (Vector4)(new Vector4(1,1,1,1)), (Vector4)(new Vector4(0,0,0,0)));
}
public static void Image(ImTextureID userTextureId, Vector2 size, Vector2 uv0)
{
ImGuiNative.Image(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (Vector4)(new Vector4(0,0,0,0)));
}
public static void Image(ImTextureID userTextureId, Vector2 size)
{
ImGuiNative.Image(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (Vector4)(new Vector4(0,0,0,0)));
}
public static void Image(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector4 tintCol)
{
ImGuiNative.Image(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), tintCol, (Vector4)(new Vector4(0,0,0,0)));
}
public static void Image(ImTextureID userTextureId, Vector2 size, Vector4 tintCol)
{
ImGuiNative.Image(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, (Vector4)(new Vector4(0,0,0,0)));
}
public static void Image(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector4 tintCol, Vector4 borderCol)
{
ImGuiNative.Image(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), tintCol, borderCol);
}
public static void Image(ImTextureID userTextureId, Vector2 size, Vector4 tintCol, Vector4 borderCol)
{
ImGuiNative.Image(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, borderCol);
}
public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, int framePadding, Vector4 bgCol, Vector4 tintCol)
{
byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, uv1, framePadding, bgCol, tintCol);
return ret != 0;
}
public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, int framePadding, Vector4 bgCol)
{
byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, uv1, framePadding, bgCol, (Vector4)(new Vector4(1,1,1,1)));
return ret != 0;
}
public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, int framePadding)
{
byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, uv1, framePadding, (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1)));
return ret != 0;
}
public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1)
{
byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, uv1, (int)(-1), (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1)));
return ret != 0;
}
public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0)
{
byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), (int)(-1), (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1)));
return ret != 0;
}
public static bool ImageButton(ImTextureID userTextureId, Vector2 size)
{
byte ret = ImGuiNative.ImageButton(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (int)(-1), (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1)));
return ret != 0;
}
public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, int framePadding)
{
byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), framePadding, (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1)));
return ret != 0;
}
public static bool ImageButton(ImTextureID userTextureId, Vector2 size, int framePadding)
{
byte ret = ImGuiNative.ImageButton(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), framePadding, (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1)));
return ret != 0;
}
public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 bgCol)
{
byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, uv1, (int)(-1), bgCol, (Vector4)(new Vector4(1,1,1,1)));
return ret != 0;
}
public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector4 bgCol)
{
byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), (int)(-1), bgCol, (Vector4)(new Vector4(1,1,1,1)));
return ret != 0;
}
public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector4 bgCol)
{
byte ret = ImGuiNative.ImageButton(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (int)(-1), bgCol, (Vector4)(new Vector4(1,1,1,1)));
return ret != 0;
}
public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, int framePadding, Vector4 bgCol)
{
byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), framePadding, bgCol, (Vector4)(new Vector4(1,1,1,1)));
return ret != 0;
}
public static bool ImageButton(ImTextureID userTextureId, Vector2 size, int framePadding, Vector4 bgCol)
{
byte ret = ImGuiNative.ImageButton(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), framePadding, bgCol, (Vector4)(new Vector4(1,1,1,1)));
return ret != 0;
}
public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 bgCol, Vector4 tintCol)
{
byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, uv1, (int)(-1), bgCol, tintCol);
return ret != 0;
}
public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector4 bgCol, Vector4 tintCol)
{
byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), (int)(-1), bgCol, tintCol);
return ret != 0;
}
public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector4 bgCol, Vector4 tintCol)
{
byte ret = ImGuiNative.ImageButton(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (int)(-1), bgCol, tintCol);
return ret != 0;
}
public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, int framePadding, Vector4 bgCol, Vector4 tintCol)
{
byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), framePadding, bgCol, tintCol);
return ret != 0;
}
public static bool ImageButton(ImTextureID userTextureId, Vector2 size, int framePadding, Vector4 bgCol, Vector4 tintCol)
{
byte ret = ImGuiNative.ImageButton(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), framePadding, bgCol, tintCol);
return ret != 0;
}
public static bool Checkbox(byte* label, bool* v)
{
byte ret = ImGuiNative.Checkbox(label, v);
return ret != 0;
}
public static bool Checkbox(ref byte label, bool* v)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.Checkbox((byte*)plabel, v);
return ret != 0;
}
}
public static bool Checkbox(ReadOnlySpan label, bool* v)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.Checkbox((byte*)plabel, v);
return ret != 0;
}
}
public static bool Checkbox(string label, bool* v)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Checkbox(pStr0, v);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Checkbox(byte* label, ref bool v)
{
fixed (bool* pv = &v)
{
byte ret = ImGuiNative.Checkbox(label, (bool*)pv);
return ret != 0;
}
}
public static bool Checkbox(ref byte label, ref bool v)
{
fixed (byte* plabel = &label)
{
fixed (bool* pv = &v)
{
byte ret = ImGuiNative.Checkbox((byte*)plabel, (bool*)pv);
return ret != 0;
}
}
}
public static bool Checkbox(ReadOnlySpan label, ref bool v)
{
fixed (byte* plabel = label)
{
fixed (bool* pv = &v)
{
byte ret = ImGuiNative.Checkbox((byte*)plabel, (bool*)pv);
return ret != 0;
}
}
}
public static bool Checkbox(string label, ref bool v)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (bool* pv = &v)
{
byte ret = ImGuiNative.Checkbox(pStr0, (bool*)pv);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool CheckboxFlags(byte* label, int* flags, int flagsValue)
{
byte ret = ImGuiNative.CheckboxFlags(label, flags, flagsValue);
return ret != 0;
}
public static bool CheckboxFlags(ref byte label, int* flags, int flagsValue)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.CheckboxFlags((byte*)plabel, flags, flagsValue);
return ret != 0;
}
}
public static bool CheckboxFlags(ReadOnlySpan label, int* flags, int flagsValue)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.CheckboxFlags((byte*)plabel, flags, flagsValue);
return ret != 0;
}
}
public static bool CheckboxFlags(string label, int* flags, int flagsValue)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.CheckboxFlags(pStr0, flags, flagsValue);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool CheckboxFlags(byte* label, ref int flags, int flagsValue)
{
fixed (int* pflags = &flags)
{
byte ret = ImGuiNative.CheckboxFlags(label, (int*)pflags, flagsValue);
return ret != 0;
}
}
public static bool CheckboxFlags(ref byte label, ref int flags, int flagsValue)
{
fixed (byte* plabel = &label)
{
fixed (int* pflags = &flags)
{
byte ret = ImGuiNative.CheckboxFlags((byte*)plabel, (int*)pflags, flagsValue);
return ret != 0;
}
}
}
public static bool CheckboxFlags(ReadOnlySpan label, ref int flags, int flagsValue)
{
fixed (byte* plabel = label)
{
fixed (int* pflags = &flags)
{
byte ret = ImGuiNative.CheckboxFlags((byte*)plabel, (int*)pflags, flagsValue);
return ret != 0;
}
}
}
public static bool CheckboxFlags(string label, ref int flags, int flagsValue)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (int* pflags = &flags)
{
byte ret = ImGuiNative.CheckboxFlags(pStr0, (int*)pflags, flagsValue);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool CheckboxFlags(byte* label, uint* flags, uint flagsValue)
{
byte ret = ImGuiNative.CheckboxFlags(label, flags, flagsValue);
return ret != 0;
}
public static bool CheckboxFlags(ref byte label, uint* flags, uint flagsValue)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.CheckboxFlags((byte*)plabel, flags, flagsValue);
return ret != 0;
}
}
public static bool CheckboxFlags(ReadOnlySpan label, uint* flags, uint flagsValue)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.CheckboxFlags((byte*)plabel, flags, flagsValue);
return ret != 0;
}
}
public static bool CheckboxFlags(string label, uint* flags, uint flagsValue)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.CheckboxFlags(pStr0, flags, flagsValue);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool CheckboxFlags(byte* label, ref uint flags, uint flagsValue)
{
fixed (uint* pflags = &flags)
{
byte ret = ImGuiNative.CheckboxFlags(label, (uint*)pflags, flagsValue);
return ret != 0;
}
}
public static bool CheckboxFlags(ref byte label, ref uint flags, uint flagsValue)
{
fixed (byte* plabel = &label)
{
fixed (uint* pflags = &flags)
{
byte ret = ImGuiNative.CheckboxFlags((byte*)plabel, (uint*)pflags, flagsValue);
return ret != 0;
}
}
}
public static bool CheckboxFlags(ReadOnlySpan label, ref uint flags, uint flagsValue)
{
fixed (byte* plabel = label)
{
fixed (uint* pflags = &flags)
{
byte ret = ImGuiNative.CheckboxFlags((byte*)plabel, (uint*)pflags, flagsValue);
return ret != 0;
}
}
}
public static bool CheckboxFlags(string label, ref uint flags, uint flagsValue)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (uint* pflags = &flags)
{
byte ret = ImGuiNative.CheckboxFlags(pStr0, (uint*)pflags, flagsValue);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool RadioButton(byte* label, bool active)
{
byte ret = ImGuiNative.RadioButton(label, active ? (byte)1 : (byte)0);
return ret != 0;
}
public static bool RadioButton(ref byte label, bool active)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.RadioButton((byte*)plabel, active ? (byte)1 : (byte)0);
return ret != 0;
}
}
public static bool RadioButton(ReadOnlySpan label, bool active)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.RadioButton((byte*)plabel, active ? (byte)1 : (byte)0);
return ret != 0;
}
}
public static bool RadioButton(string label, bool active)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.RadioButton(pStr0, active ? (byte)1 : (byte)0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool RadioButton(byte* label, int* v, int vButton)
{
byte ret = ImGuiNative.RadioButton(label, v, vButton);
return ret != 0;
}
public static bool RadioButton(ref byte label, int* v, int vButton)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.RadioButton((byte*)plabel, v, vButton);
return ret != 0;
}
}
public static bool RadioButton(ReadOnlySpan label, int* v, int vButton)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.RadioButton((byte*)plabel, v, vButton);
return ret != 0;
}
}
public static bool RadioButton(string label, int* v, int vButton)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.RadioButton(pStr0, v, vButton);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool RadioButton(byte* label, ref int v, int vButton)
{
fixed (int* pv = &v)
{
byte ret = ImGuiNative.RadioButton(label, (int*)pv, vButton);
return ret != 0;
}
}
public static bool RadioButton(ref byte label, ref int v, int vButton)
{
fixed (byte* plabel = &label)
{
fixed (int* pv = &v)
{
byte ret = ImGuiNative.RadioButton((byte*)plabel, (int*)pv, vButton);
return ret != 0;
}
}
}
public static bool RadioButton(ReadOnlySpan label, ref int v, int vButton)
{
fixed (byte* plabel = label)
{
fixed (int* pv = &v)
{
byte ret = ImGuiNative.RadioButton((byte*)plabel, (int*)pv, vButton);
return ret != 0;
}
}
}
public static bool RadioButton(string label, ref int v, int vButton)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (int* pv = &v)
{
byte ret = ImGuiNative.RadioButton(pStr0, (int*)pv, vButton);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static void ProgressBar(float fraction, Vector2 sizeArg, byte* overlay)
{
ImGuiNative.ProgressBar(fraction, sizeArg, overlay);
}
public static void ProgressBar(float fraction, Vector2 sizeArg)
{
ImGuiNative.ProgressBar(fraction, sizeArg, (byte*)(default));
}
public static void ProgressBar(float fraction)
{
ImGuiNative.ProgressBar(fraction, (Vector2)(new Vector2(-float.MinValue,0)), (byte*)(default));
}
public static void ProgressBar(float fraction, byte* overlay)
{
ImGuiNative.ProgressBar(fraction, (Vector2)(new Vector2(-float.MinValue,0)), overlay);
}
public static void ProgressBar(float fraction, Vector2 sizeArg, ref byte overlay)
{
fixed (byte* poverlay = &overlay)
{
ImGuiNative.ProgressBar(fraction, sizeArg, (byte*)poverlay);
}
}
public static void ProgressBar(float fraction, ref byte overlay)
{
fixed (byte* poverlay = &overlay)
{
ImGuiNative.ProgressBar(fraction, (Vector2)(new Vector2(-float.MinValue,0)), (byte*)poverlay);
}
}
public static void ProgressBar(float fraction, Vector2 sizeArg, ReadOnlySpan overlay)
{
fixed (byte* poverlay = overlay)
{
ImGuiNative.ProgressBar(fraction, sizeArg, (byte*)poverlay);
}
}
public static void ProgressBar(float fraction, ReadOnlySpan overlay)
{
fixed (byte* poverlay = overlay)
{
ImGuiNative.ProgressBar(fraction, (Vector2)(new Vector2(-float.MinValue,0)), (byte*)poverlay);
}
}
public static void ProgressBar(float fraction, Vector2 sizeArg, string overlay)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (overlay != null)
{
pStrSize0 = Utils.GetByteCountUTF8(overlay);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(overlay, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImGuiNative.ProgressBar(fraction, sizeArg, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
public static void ProgressBar(float fraction, string overlay)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (overlay != null)
{
pStrSize0 = Utils.GetByteCountUTF8(overlay);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(overlay, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImGuiNative.ProgressBar(fraction, (Vector2)(new Vector2(-float.MinValue,0)), pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
public static void Bullet()
{
ImGuiNative.Bullet();
}
public static bool BeginCombo(byte* label, byte* previewValue, ImGuiComboFlags flags)
{
byte ret = ImGuiNative.BeginCombo(label, previewValue, flags);
return ret != 0;
}
public static bool BeginCombo(byte* label, byte* previewValue)
{
byte ret = ImGuiNative.BeginCombo(label, previewValue, (ImGuiComboFlags)(0));
return ret != 0;
}
public static bool BeginCombo(ref byte label, byte* previewValue, ImGuiComboFlags flags)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.BeginCombo((byte*)plabel, previewValue, flags);
return ret != 0;
}
}
public static bool BeginCombo(ref byte label, byte* previewValue)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.BeginCombo((byte*)plabel, previewValue, (ImGuiComboFlags)(0));
return ret != 0;
}
}
public static bool BeginCombo(ReadOnlySpan label, byte* previewValue, ImGuiComboFlags flags)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.BeginCombo((byte*)plabel, previewValue, flags);
return ret != 0;
}
}
public static bool BeginCombo(ReadOnlySpan label, byte* previewValue)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.BeginCombo((byte*)plabel, previewValue, (ImGuiComboFlags)(0));
return ret != 0;
}
}
public static bool BeginCombo(string label, byte* previewValue, ImGuiComboFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.BeginCombo(pStr0, previewValue, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool BeginCombo(string label, byte* previewValue)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.BeginCombo(pStr0, previewValue, (ImGuiComboFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool BeginCombo(byte* label, ref byte previewValue, ImGuiComboFlags flags)
{
fixed (byte* ppreviewValue = &previewValue)
{
byte ret = ImGuiNative.BeginCombo(label, (byte*)ppreviewValue, flags);
return ret != 0;
}
}
public static bool BeginCombo(byte* label, ref byte previewValue)
{
fixed (byte* ppreviewValue = &previewValue)
{
byte ret = ImGuiNative.BeginCombo(label, (byte*)ppreviewValue, (ImGuiComboFlags)(0));
return ret != 0;
}
}
public static bool BeginCombo(byte* label, ReadOnlySpan previewValue, ImGuiComboFlags flags)
{
fixed (byte* ppreviewValue = previewValue)
{
byte ret = ImGuiNative.BeginCombo(label, (byte*)ppreviewValue, flags);
return ret != 0;
}
}
public static bool BeginCombo(byte* label, ReadOnlySpan previewValue)
{
fixed (byte* ppreviewValue = previewValue)
{
byte ret = ImGuiNative.BeginCombo(label, (byte*)ppreviewValue, (ImGuiComboFlags)(0));
return ret != 0;
}
}
public static bool BeginCombo(byte* label, string previewValue, ImGuiComboFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (previewValue != null)
{
pStrSize0 = Utils.GetByteCountUTF8(previewValue);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(previewValue, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.BeginCombo(label, pStr0, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool BeginCombo(byte* label, string previewValue)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (previewValue != null)
{
pStrSize0 = Utils.GetByteCountUTF8(previewValue);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(previewValue, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.BeginCombo(label, pStr0, (ImGuiComboFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool BeginCombo(ref byte label, ref byte previewValue, ImGuiComboFlags flags)
{
fixed (byte* plabel = &label)
{
fixed (byte* ppreviewValue = &previewValue)
{
byte ret = ImGuiNative.BeginCombo((byte*)plabel, (byte*)ppreviewValue, flags);
return ret != 0;
}
}
}
public static bool BeginCombo(ref byte label, ref byte previewValue)
{
fixed (byte* plabel = &label)
{
fixed (byte* ppreviewValue = &previewValue)
{
byte ret = ImGuiNative.BeginCombo((byte*)plabel, (byte*)ppreviewValue, (ImGuiComboFlags)(0));
return ret != 0;
}
}
}
public static bool BeginCombo(ReadOnlySpan label, ReadOnlySpan previewValue, ImGuiComboFlags flags)
{
fixed (byte* plabel = label)
{
fixed (byte* ppreviewValue = previewValue)
{
byte ret = ImGuiNative.BeginCombo((byte*)plabel, (byte*)ppreviewValue, flags);
return ret != 0;
}
}
}
public static bool BeginCombo(ReadOnlySpan label, ReadOnlySpan previewValue)
{
fixed (byte* plabel = label)
{
fixed (byte* ppreviewValue = previewValue)
{
byte ret = ImGuiNative.BeginCombo((byte*)plabel, (byte*)ppreviewValue, (ImGuiComboFlags)(0));
return ret != 0;
}
}
}
public static bool BeginCombo(string label, string previewValue, ImGuiComboFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte* pStr1 = null;
int pStrSize1 = 0;
if (previewValue != null)
{
pStrSize1 = Utils.GetByteCountUTF8(previewValue);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(previewValue, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
byte ret = ImGuiNative.BeginCombo(pStr0, pStr1, flags);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool BeginCombo(string label, string previewValue)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte* pStr1 = null;
int pStrSize1 = 0;
if (previewValue != null)
{
pStrSize1 = Utils.GetByteCountUTF8(previewValue);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(previewValue, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
byte ret = ImGuiNative.BeginCombo(pStr0, pStr1, (ImGuiComboFlags)(0));
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool BeginCombo(ref byte label, ReadOnlySpan previewValue, ImGuiComboFlags flags)
{
fixed (byte* plabel = &label)
{
fixed (byte* ppreviewValue = previewValue)
{
byte ret = ImGuiNative.BeginCombo((byte*)plabel, (byte*)ppreviewValue, flags);
return ret != 0;
}
}
}
public static bool BeginCombo(ref byte label, ReadOnlySpan previewValue)
{
fixed (byte* plabel = &label)
{
fixed (byte* ppreviewValue = previewValue)
{
byte ret = ImGuiNative.BeginCombo((byte*)plabel, (byte*)ppreviewValue, (ImGuiComboFlags)(0));
return ret != 0;
}
}
}
public static bool BeginCombo(ref byte label, string previewValue, ImGuiComboFlags flags)
{
fixed (byte* plabel = &label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (previewValue != null)
{
pStrSize0 = Utils.GetByteCountUTF8(previewValue);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(previewValue, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.BeginCombo((byte*)plabel, pStr0, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool BeginCombo(ref byte label, string previewValue)
{
fixed (byte* plabel = &label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (previewValue != null)
{
pStrSize0 = Utils.GetByteCountUTF8(previewValue);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(previewValue, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.BeginCombo((byte*)plabel, pStr0, (ImGuiComboFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool BeginCombo(ReadOnlySpan label, ref byte previewValue, ImGuiComboFlags flags)
{
fixed (byte* plabel = label)
{
fixed (byte* ppreviewValue = &previewValue)
{
byte ret = ImGuiNative.BeginCombo((byte*)plabel, (byte*)ppreviewValue, flags);
return ret != 0;
}
}
}
public static bool BeginCombo(ReadOnlySpan label, ref byte previewValue)
{
fixed (byte* plabel = label)
{
fixed (byte* ppreviewValue = &previewValue)
{
byte ret = ImGuiNative.BeginCombo((byte*)plabel, (byte*)ppreviewValue, (ImGuiComboFlags)(0));
return ret != 0;
}
}
}
public static bool BeginCombo(ReadOnlySpan label, string previewValue, ImGuiComboFlags flags)
{
fixed (byte* plabel = label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (previewValue != null)
{
pStrSize0 = Utils.GetByteCountUTF8(previewValue);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(previewValue, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.BeginCombo((byte*)plabel, pStr0, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool BeginCombo(ReadOnlySpan label, string previewValue)
{
fixed (byte* plabel = label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (previewValue != null)
{
pStrSize0 = Utils.GetByteCountUTF8(previewValue);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(previewValue, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.BeginCombo((byte*)plabel, pStr0, (ImGuiComboFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool BeginCombo(string label, ref byte previewValue, ImGuiComboFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ppreviewValue = &previewValue)
{
byte ret = ImGuiNative.BeginCombo(pStr0, (byte*)ppreviewValue, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool BeginCombo(string label, ref byte previewValue)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ppreviewValue = &previewValue)
{
byte ret = ImGuiNative.BeginCombo(pStr0, (byte*)ppreviewValue, (ImGuiComboFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool BeginCombo(string label, ReadOnlySpan previewValue, ImGuiComboFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ppreviewValue = previewValue)
{
byte ret = ImGuiNative.BeginCombo(pStr0, (byte*)ppreviewValue, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool BeginCombo(string label, ReadOnlySpan previewValue)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ppreviewValue = previewValue)
{
byte ret = ImGuiNative.BeginCombo(pStr0, (byte*)ppreviewValue, (ImGuiComboFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static void EndCombo()
{
ImGuiNative.EndCombo();
}
public static bool Combo(byte* label, int* currentItem, byte** items, int itemsCount, int popupMaxHeightInItems)
{
byte ret = ImGuiNative.Combo(label, currentItem, items, itemsCount, popupMaxHeightInItems);
return ret != 0;
}
public static bool Combo(byte* label, int* currentItem, byte** items, int itemsCount)
{
byte ret = ImGuiNative.Combo(label, currentItem, items, itemsCount, (int)(-1));
return ret != 0;
}
public static bool Combo(ref byte label, int* currentItem, byte** items, int itemsCount, int popupMaxHeightInItems)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, items, itemsCount, popupMaxHeightInItems);
return ret != 0;
}
}
public static bool Combo(ref byte label, int* currentItem, byte** items, int itemsCount)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, items, itemsCount, (int)(-1));
return ret != 0;
}
}
public static bool Combo(ReadOnlySpan label, int* currentItem, byte** items, int itemsCount, int popupMaxHeightInItems)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, items, itemsCount, popupMaxHeightInItems);
return ret != 0;
}
}
public static bool Combo(ReadOnlySpan label, int* currentItem, byte** items, int itemsCount)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, items, itemsCount, (int)(-1));
return ret != 0;
}
}
public static bool Combo(string label, int* currentItem, byte** items, int itemsCount, int popupMaxHeightInItems)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Combo(pStr0, currentItem, items, itemsCount, popupMaxHeightInItems);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Combo(string label, int* currentItem, byte** items, int itemsCount)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Combo(pStr0, currentItem, items, itemsCount, (int)(-1));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Combo(byte* label, ref int currentItem, byte** items, int itemsCount, int popupMaxHeightInItems)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo(label, (int*)pcurrentItem, items, itemsCount, popupMaxHeightInItems);
return ret != 0;
}
}
public static bool Combo(byte* label, ref int currentItem, byte** items, int itemsCount)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo(label, (int*)pcurrentItem, items, itemsCount, (int)(-1));
return ret != 0;
}
}
public static bool Combo(ref byte label, ref int currentItem, byte** items, int itemsCount, int popupMaxHeightInItems)
{
fixed (byte* plabel = &label)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, items, itemsCount, popupMaxHeightInItems);
return ret != 0;
}
}
}
public static bool Combo(ref byte label, ref int currentItem, byte** items, int itemsCount)
{
fixed (byte* plabel = &label)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, items, itemsCount, (int)(-1));
return ret != 0;
}
}
}
public static bool Combo(ReadOnlySpan label, ref int currentItem, byte** items, int itemsCount, int popupMaxHeightInItems)
{
fixed (byte* plabel = label)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, items, itemsCount, popupMaxHeightInItems);
return ret != 0;
}
}
}
public static bool Combo(ReadOnlySpan label, ref int currentItem, byte** items, int itemsCount)
{
fixed (byte* plabel = label)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, items, itemsCount, (int)(-1));
return ret != 0;
}
}
}
public static bool Combo(string label, ref int currentItem, byte** items, int itemsCount, int popupMaxHeightInItems)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo(pStr0, (int*)pcurrentItem, items, itemsCount, popupMaxHeightInItems);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool Combo(string label, ref int currentItem, byte** items, int itemsCount)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo(pStr0, (int*)pcurrentItem, items, itemsCount, (int)(-1));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool Combo(byte* label, int* currentItem, string[] items, int itemsCount, int popupMaxHeightInItems)
{
byte** pStrArray0 = null;
int pStrArray0Size = Utils.GetByteCountArray(items);
if (items != null)
{
if (pStrArray0Size > Utils.MaxStackallocSize)
{
pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size);
}
else
{
byte* pStrArray0Stack = stackalloc byte[pStrArray0Size];
pStrArray0 = (byte**)pStrArray0Stack;
}
}
for (int i = 0; i < items.Length; i++)
{
pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]);
}
byte ret = ImGuiNative.Combo(label, currentItem, pStrArray0, itemsCount, popupMaxHeightInItems);
for (int i = 0; i < items.Length; i++)
{
Utils.Free(pStrArray0[i]);
}
if (pStrArray0Size >= Utils.MaxStackallocSize)
{
Utils.Free(pStrArray0);
}
return ret != 0;
}
public static bool Combo(byte* label, int* currentItem, string[] items, int itemsCount)
{
byte** pStrArray0 = null;
int pStrArray0Size = Utils.GetByteCountArray(items);
if (items != null)
{
if (pStrArray0Size > Utils.MaxStackallocSize)
{
pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size);
}
else
{
byte* pStrArray0Stack = stackalloc byte[pStrArray0Size];
pStrArray0 = (byte**)pStrArray0Stack;
}
}
for (int i = 0; i < items.Length; i++)
{
pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]);
}
byte ret = ImGuiNative.Combo(label, currentItem, pStrArray0, itemsCount, (int)(-1));
for (int i = 0; i < items.Length; i++)
{
Utils.Free(pStrArray0[i]);
}
if (pStrArray0Size >= Utils.MaxStackallocSize)
{
Utils.Free(pStrArray0);
}
return ret != 0;
}
public static bool Combo(string label, int* currentItem, string[] items, int itemsCount, int popupMaxHeightInItems)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte** pStrArray0 = null;
int pStrArray0Size = Utils.GetByteCountArray(items);
if (items != null)
{
if (pStrArray0Size > Utils.MaxStackallocSize)
{
pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size);
}
else
{
byte* pStrArray0Stack = stackalloc byte[pStrArray0Size];
pStrArray0 = (byte**)pStrArray0Stack;
}
}
for (int i = 0; i < items.Length; i++)
{
pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]);
}
byte ret = ImGuiNative.Combo(pStr0, currentItem, pStrArray0, itemsCount, popupMaxHeightInItems);
for (int i = 0; i < items.Length; i++)
{
Utils.Free(pStrArray0[i]);
}
if (pStrArray0Size >= Utils.MaxStackallocSize)
{
Utils.Free(pStrArray0);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Combo(string label, int* currentItem, string[] items, int itemsCount)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte** pStrArray0 = null;
int pStrArray0Size = Utils.GetByteCountArray(items);
if (items != null)
{
if (pStrArray0Size > Utils.MaxStackallocSize)
{
pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size);
}
else
{
byte* pStrArray0Stack = stackalloc byte[pStrArray0Size];
pStrArray0 = (byte**)pStrArray0Stack;
}
}
for (int i = 0; i < items.Length; i++)
{
pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]);
}
byte ret = ImGuiNative.Combo(pStr0, currentItem, pStrArray0, itemsCount, (int)(-1));
for (int i = 0; i < items.Length; i++)
{
Utils.Free(pStrArray0[i]);
}
if (pStrArray0Size >= Utils.MaxStackallocSize)
{
Utils.Free(pStrArray0);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Combo(byte* label, ref int currentItem, string[] items, int itemsCount, int popupMaxHeightInItems)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte** pStrArray0 = null;
int pStrArray0Size = Utils.GetByteCountArray(items);
if (items != null)
{
if (pStrArray0Size > Utils.MaxStackallocSize)
{
pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size);
}
else
{
byte* pStrArray0Stack = stackalloc byte[pStrArray0Size];
pStrArray0 = (byte**)pStrArray0Stack;
}
}
for (int i = 0; i < items.Length; i++)
{
pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]);
}
byte ret = ImGuiNative.Combo(label, (int*)pcurrentItem, pStrArray0, itemsCount, popupMaxHeightInItems);
for (int i = 0; i < items.Length; i++)
{
Utils.Free(pStrArray0[i]);
}
if (pStrArray0Size >= Utils.MaxStackallocSize)
{
Utils.Free(pStrArray0);
}
return ret != 0;
}
}
public static bool Combo(byte* label, ref int currentItem, string[] items, int itemsCount)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte** pStrArray0 = null;
int pStrArray0Size = Utils.GetByteCountArray(items);
if (items != null)
{
if (pStrArray0Size > Utils.MaxStackallocSize)
{
pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size);
}
else
{
byte* pStrArray0Stack = stackalloc byte[pStrArray0Size];
pStrArray0 = (byte**)pStrArray0Stack;
}
}
for (int i = 0; i < items.Length; i++)
{
pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]);
}
byte ret = ImGuiNative.Combo(label, (int*)pcurrentItem, pStrArray0, itemsCount, (int)(-1));
for (int i = 0; i < items.Length; i++)
{
Utils.Free(pStrArray0[i]);
}
if (pStrArray0Size >= Utils.MaxStackallocSize)
{
Utils.Free(pStrArray0);
}
return ret != 0;
}
}
public static bool Combo(string label, ref int currentItem, string[] items, int itemsCount, int popupMaxHeightInItems)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (int* pcurrentItem = ¤tItem)
{
byte** pStrArray0 = null;
int pStrArray0Size = Utils.GetByteCountArray(items);
if (items != null)
{
if (pStrArray0Size > Utils.MaxStackallocSize)
{
pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size);
}
else
{
byte* pStrArray0Stack = stackalloc byte[pStrArray0Size];
pStrArray0 = (byte**)pStrArray0Stack;
}
}
for (int i = 0; i < items.Length; i++)
{
pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]);
}
byte ret = ImGuiNative.Combo(pStr0, (int*)pcurrentItem, pStrArray0, itemsCount, popupMaxHeightInItems);
for (int i = 0; i < items.Length; i++)
{
Utils.Free(pStrArray0[i]);
}
if (pStrArray0Size >= Utils.MaxStackallocSize)
{
Utils.Free(pStrArray0);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool Combo(string label, ref int currentItem, string[] items, int itemsCount)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (int* pcurrentItem = ¤tItem)
{
byte** pStrArray0 = null;
int pStrArray0Size = Utils.GetByteCountArray(items);
if (items != null)
{
if (pStrArray0Size > Utils.MaxStackallocSize)
{
pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size);
}
else
{
byte* pStrArray0Stack = stackalloc byte[pStrArray0Size];
pStrArray0 = (byte**)pStrArray0Stack;
}
}
for (int i = 0; i < items.Length; i++)
{
pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]);
}
byte ret = ImGuiNative.Combo(pStr0, (int*)pcurrentItem, pStrArray0, itemsCount, (int)(-1));
for (int i = 0; i < items.Length; i++)
{
Utils.Free(pStrArray0[i]);
}
if (pStrArray0Size >= Utils.MaxStackallocSize)
{
Utils.Free(pStrArray0);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool Combo(byte* label, int* currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems)
{
byte ret = ImGuiNative.Combo(label, currentItem, itemsSeparatedByZeros, popupMaxHeightInItems);
return ret != 0;
}
public static bool Combo(byte* label, int* currentItem, byte* itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo(label, currentItem, itemsSeparatedByZeros, (int)(-1));
return ret != 0;
}
public static bool Combo(ref byte label, int* currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, itemsSeparatedByZeros, popupMaxHeightInItems);
return ret != 0;
}
}
public static bool Combo(ref byte label, int* currentItem, byte* itemsSeparatedByZeros)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, itemsSeparatedByZeros, (int)(-1));
return ret != 0;
}
}
public static bool Combo(ReadOnlySpan label, int* currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, itemsSeparatedByZeros, popupMaxHeightInItems);
return ret != 0;
}
}
public static bool Combo(ReadOnlySpan label, int* currentItem, byte* itemsSeparatedByZeros)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, itemsSeparatedByZeros, (int)(-1));
return ret != 0;
}
}
public static bool Combo(string label, int* currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Combo(pStr0, currentItem, itemsSeparatedByZeros, popupMaxHeightInItems);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Combo(string label, int* currentItem, byte* itemsSeparatedByZeros)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Combo(pStr0, currentItem, itemsSeparatedByZeros, (int)(-1));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Combo(byte* label, ref int currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo(label, (int*)pcurrentItem, itemsSeparatedByZeros, popupMaxHeightInItems);
return ret != 0;
}
}
public static bool Combo(byte* label, ref int currentItem, byte* itemsSeparatedByZeros)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo(label, (int*)pcurrentItem, itemsSeparatedByZeros, (int)(-1));
return ret != 0;
}
}
public static bool Combo(ref byte label, ref int currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (byte* plabel = &label)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, itemsSeparatedByZeros, popupMaxHeightInItems);
return ret != 0;
}
}
}
public static bool Combo(ref byte label, ref int currentItem, byte* itemsSeparatedByZeros)
{
fixed (byte* plabel = &label)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, itemsSeparatedByZeros, (int)(-1));
return ret != 0;
}
}
}
public static bool Combo(ReadOnlySpan label, ref int currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (byte* plabel = label)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, itemsSeparatedByZeros, popupMaxHeightInItems);
return ret != 0;
}
}
}
public static bool Combo(ReadOnlySpan label, ref int currentItem, byte* itemsSeparatedByZeros)
{
fixed (byte* plabel = label)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, itemsSeparatedByZeros, (int)(-1));
return ret != 0;
}
}
}
public static bool Combo(string label, ref int currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo(pStr0, (int*)pcurrentItem, itemsSeparatedByZeros, popupMaxHeightInItems);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool Combo(string label, ref int currentItem, byte* itemsSeparatedByZeros)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo(pStr0, (int*)pcurrentItem, itemsSeparatedByZeros, (int)(-1));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool Combo(byte* label, int* currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo(label, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems);
return ret != 0;
}
}
public static bool Combo(byte* label, int* currentItem, ref byte itemsSeparatedByZeros)
{
fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo(label, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1));
return ret != 0;
}
}
public static bool Combo(byte* label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo(label, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems);
return ret != 0;
}
}
public static bool Combo(byte* label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros)
{
fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo(label, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1));
return ret != 0;
}
}
public static bool Combo(byte* label, int* currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (itemsSeparatedByZeros != null)
{
pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Combo(label, currentItem, pStr0, popupMaxHeightInItems);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Combo(byte* label, int* currentItem, string itemsSeparatedByZeros)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (itemsSeparatedByZeros != null)
{
pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Combo(label, currentItem, pStr0, (int)(-1));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Combo(ref byte label, int* currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (byte* plabel = &label)
{
fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems);
return ret != 0;
}
}
}
public static bool Combo(ref byte label, int* currentItem, ref byte itemsSeparatedByZeros)
{
fixed (byte* plabel = &label)
{
fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1));
return ret != 0;
}
}
}
public static bool Combo(ReadOnlySpan label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (byte* plabel = label)
{
fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems);
return ret != 0;
}
}
}
public static bool Combo(ReadOnlySpan label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros)
{
fixed (byte* plabel = label)
{
fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1));
return ret != 0;
}
}
}
public static bool Combo(string label, int* currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte* pStr1 = null;
int pStrSize1 = 0;
if (itemsSeparatedByZeros != null)
{
pStrSize1 = Utils.GetByteCountUTF8(itemsSeparatedByZeros);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
byte ret = ImGuiNative.Combo(pStr0, currentItem, pStr1, popupMaxHeightInItems);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Combo(string label, int* currentItem, string itemsSeparatedByZeros)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte* pStr1 = null;
int pStrSize1 = 0;
if (itemsSeparatedByZeros != null)
{
pStrSize1 = Utils.GetByteCountUTF8(itemsSeparatedByZeros);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
byte ret = ImGuiNative.Combo(pStr0, currentItem, pStr1, (int)(-1));
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Combo(ref byte label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (byte* plabel = &label)
{
fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems);
return ret != 0;
}
}
}
public static bool Combo(ref byte label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros)
{
fixed (byte* plabel = &label)
{
fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1));
return ret != 0;
}
}
}
public static bool Combo(ref byte label, int* currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (byte* plabel = &label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (itemsSeparatedByZeros != null)
{
pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, pStr0, popupMaxHeightInItems);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool Combo(ref byte label, int* currentItem, string itemsSeparatedByZeros)
{
fixed (byte* plabel = &label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (itemsSeparatedByZeros != null)
{
pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, pStr0, (int)(-1));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool Combo(ReadOnlySpan label, int* currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (byte* plabel = label)
{
fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems);
return ret != 0;
}
}
}
public static bool Combo(ReadOnlySpan label, int* currentItem, ref byte itemsSeparatedByZeros)
{
fixed (byte* plabel = label)
{
fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1));
return ret != 0;
}
}
}
public static bool Combo(ReadOnlySpan label, int* currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (byte* plabel = label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (itemsSeparatedByZeros != null)
{
pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, pStr0, popupMaxHeightInItems);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool Combo(ReadOnlySpan label, int* currentItem, string itemsSeparatedByZeros)
{
fixed (byte* plabel = label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (itemsSeparatedByZeros != null)
{
pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, pStr0, (int)(-1));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool Combo(string label, int* currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo(pStr0, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool Combo(string label, int* currentItem, ref byte itemsSeparatedByZeros)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo(pStr0, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool Combo(string label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo(pStr0, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool Combo(string label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo(pStr0, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool Combo(byte* label, ref int currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (int* pcurrentItem = ¤tItem)
{
fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo(label, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems);
return ret != 0;
}
}
}
public static bool Combo(byte* label, ref int currentItem, ref byte itemsSeparatedByZeros)
{
fixed (int* pcurrentItem = ¤tItem)
{
fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo(label, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1));
return ret != 0;
}
}
}
public static bool Combo(byte* label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (int* pcurrentItem = ¤tItem)
{
fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo(label, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems);
return ret != 0;
}
}
}
public static bool Combo(byte* label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros)
{
fixed (int* pcurrentItem = ¤tItem)
{
fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo(label, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1));
return ret != 0;
}
}
}
public static bool Combo(byte* label, ref int currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (itemsSeparatedByZeros != null)
{
pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Combo(label, (int*)pcurrentItem, pStr0, popupMaxHeightInItems);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool Combo(byte* label, ref int currentItem, string itemsSeparatedByZeros)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (itemsSeparatedByZeros != null)
{
pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Combo(label, (int*)pcurrentItem, pStr0, (int)(-1));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool Combo(ref byte label, ref int currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (byte* plabel = &label)
{
fixed (int* pcurrentItem = ¤tItem)
{
fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems);
return ret != 0;
}
}
}
}
public static bool Combo(ref byte label, ref int currentItem, ref byte itemsSeparatedByZeros)
{
fixed (byte* plabel = &label)
{
fixed (int* pcurrentItem = ¤tItem)
{
fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1));
return ret != 0;
}
}
}
}
public static bool Combo(ReadOnlySpan label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (byte* plabel = label)
{
fixed (int* pcurrentItem = ¤tItem)
{
fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems);
return ret != 0;
}
}
}
}
public static bool Combo(ReadOnlySpan label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros)
{
fixed (byte* plabel = label)
{
fixed (int* pcurrentItem = ¤tItem)
{
fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1));
return ret != 0;
}
}
}
}
public static bool Combo(string label, ref int currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (int* pcurrentItem = ¤tItem)
{
byte* pStr1 = null;
int pStrSize1 = 0;
if (itemsSeparatedByZeros != null)
{
pStrSize1 = Utils.GetByteCountUTF8(itemsSeparatedByZeros);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
byte ret = ImGuiNative.Combo(pStr0, (int*)pcurrentItem, pStr1, popupMaxHeightInItems);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool Combo(string label, ref int currentItem, string itemsSeparatedByZeros)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (int* pcurrentItem = ¤tItem)
{
byte* pStr1 = null;
int pStrSize1 = 0;
if (itemsSeparatedByZeros != null)
{
pStrSize1 = Utils.GetByteCountUTF8(itemsSeparatedByZeros);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
byte ret = ImGuiNative.Combo(pStr0, (int*)pcurrentItem, pStr1, (int)(-1));
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool Combo(ref byte label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (byte* plabel = &label)
{
fixed (int* pcurrentItem = ¤tItem)
{
fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems);
return ret != 0;
}
}
}
}
public static bool Combo(ref byte label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros)
{
fixed (byte* plabel = &label)
{
fixed (int* pcurrentItem = ¤tItem)
{
fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1));
return ret != 0;
}
}
}
}
public static bool Combo(ref byte label, ref int currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (byte* plabel = &label)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (itemsSeparatedByZeros != null)
{
pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, pStr0, popupMaxHeightInItems);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
}
public static bool Combo(ref byte label, ref int currentItem, string itemsSeparatedByZeros)
{
fixed (byte* plabel = &label)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (itemsSeparatedByZeros != null)
{
pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, pStr0, (int)(-1));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
}
public static bool Combo(ReadOnlySpan label, ref int currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (byte* plabel = label)
{
fixed (int* pcurrentItem = ¤tItem)
{
fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems);
return ret != 0;
}
}
}
}
public static bool Combo(ReadOnlySpan label, ref int currentItem, ref byte itemsSeparatedByZeros)
{
fixed (byte* plabel = label)
{
fixed (int* pcurrentItem = ¤tItem)
{
fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1));
return ret != 0;
}
}
}
}
public static bool Combo(ReadOnlySpan label, ref int currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems)
{
fixed (byte* plabel = label)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (itemsSeparatedByZeros != null)
{
pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, pStr0, popupMaxHeightInItems);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
}
public static bool Combo(ReadOnlySpan label, ref int currentItem, string itemsSeparatedByZeros)
{
fixed (byte* plabel = label)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (itemsSeparatedByZeros != null)
{
pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, pStr0, (int)(-1));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
}
public static bool Combo(string label, ref int currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (int* pcurrentItem = ¤tItem)
{
fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo(pStr0, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
}
public static bool Combo(string label, ref int currentItem, ref byte itemsSeparatedByZeros)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (int* pcurrentItem = ¤tItem)
{
fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo(pStr0, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
}
public static bool Combo(string label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (int* pcurrentItem = ¤tItem)
{
fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo(pStr0, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
}
public static bool Combo(string label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (int* pcurrentItem = ¤tItem)
{
fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros)
{
byte ret = ImGuiNative.Combo(pStr0, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
}
public static bool Combo(byte* label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int popupMaxHeightInItems)
{
byte ret = ImGuiNative.Combo(label, currentItem, itemsGetter, data, itemsCount, popupMaxHeightInItems);
return ret != 0;
}
public static bool Combo(byte* label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount)
{
byte ret = ImGuiNative.Combo(label, currentItem, itemsGetter, data, itemsCount, (int)(-1));
return ret != 0;
}
public static bool Combo(ref byte label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int popupMaxHeightInItems)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, itemsGetter, data, itemsCount, popupMaxHeightInItems);
return ret != 0;
}
}
public static bool Combo(ref byte label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, itemsGetter, data, itemsCount, (int)(-1));
return ret != 0;
}
}
public static bool Combo(ReadOnlySpan label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int popupMaxHeightInItems)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, itemsGetter, data, itemsCount, popupMaxHeightInItems);
return ret != 0;
}
}
public static bool Combo(ReadOnlySpan label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.Combo((byte*)plabel, currentItem, itemsGetter, data, itemsCount, (int)(-1));
return ret != 0;
}
}
public static bool Combo(string label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int popupMaxHeightInItems)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Combo(pStr0, currentItem, itemsGetter, data, itemsCount, popupMaxHeightInItems);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Combo(string label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Combo(pStr0, currentItem, itemsGetter, data, itemsCount, (int)(-1));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Combo(byte* label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int popupMaxHeightInItems)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo(label, (int*)pcurrentItem, itemsGetter, data, itemsCount, popupMaxHeightInItems);
return ret != 0;
}
}
public static bool Combo(byte* label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo(label, (int*)pcurrentItem, itemsGetter, data, itemsCount, (int)(-1));
return ret != 0;
}
}
public static bool Combo(ref byte label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int popupMaxHeightInItems)
{
fixed (byte* plabel = &label)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, itemsGetter, data, itemsCount, popupMaxHeightInItems);
return ret != 0;
}
}
}
public static bool Combo(ref byte label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount)
{
fixed (byte* plabel = &label)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, itemsGetter, data, itemsCount, (int)(-1));
return ret != 0;
}
}
}
public static bool Combo(ReadOnlySpan label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int popupMaxHeightInItems)
{
fixed (byte* plabel = label)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, itemsGetter, data, itemsCount, popupMaxHeightInItems);
return ret != 0;
}
}
}
public static bool Combo(ReadOnlySpan label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount)
{
fixed (byte* plabel = label)
{
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo((byte*)plabel, (int*)pcurrentItem, itemsGetter, data, itemsCount, (int)(-1));
return ret != 0;
}
}
}
public static bool Combo(string label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int popupMaxHeightInItems)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo(pStr0, (int*)pcurrentItem, itemsGetter, data, itemsCount, popupMaxHeightInItems);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool Combo(string label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (int* pcurrentItem = ¤tItem)
{
byte ret = ImGuiNative.Combo(pStr0, (int*)pcurrentItem, itemsGetter, data, itemsCount, (int)(-1));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool ColorButton(byte* descId, Vector4 col, ImGuiColorEditFlags flags, Vector2 size)
{
byte ret = ImGuiNative.ColorButton(descId, col, flags, size);
return ret != 0;
}
public static bool ColorButton(byte* descId, Vector4 col, ImGuiColorEditFlags flags)
{
byte ret = ImGuiNative.ColorButton(descId, col, flags, (Vector2)(new Vector2(0,0)));
return ret != 0;
}
public static bool ColorButton(byte* descId, Vector4 col)
{
byte ret = ImGuiNative.ColorButton(descId, col, (ImGuiColorEditFlags)(0), (Vector2)(new Vector2(0,0)));
return ret != 0;
}
public static bool ColorButton(byte* descId, Vector4 col, Vector2 size)
{
byte ret = ImGuiNative.ColorButton(descId, col, (ImGuiColorEditFlags)(0), size);
return ret != 0;
}
public static bool ColorButton(ref byte descId, Vector4 col, ImGuiColorEditFlags flags, Vector2 size)
{
fixed (byte* pdescId = &descId)
{
byte ret = ImGuiNative.ColorButton((byte*)pdescId, col, flags, size);
return ret != 0;
}
}
public static bool ColorButton(ref byte descId, Vector4 col, ImGuiColorEditFlags flags)
{
fixed (byte* pdescId = &descId)
{
byte ret = ImGuiNative.ColorButton((byte*)pdescId, col, flags, (Vector2)(new Vector2(0,0)));
return ret != 0;
}
}
public static bool ColorButton(ref byte descId, Vector4 col)
{
fixed (byte* pdescId = &descId)
{
byte ret = ImGuiNative.ColorButton((byte*)pdescId, col, (ImGuiColorEditFlags)(0), (Vector2)(new Vector2(0,0)));
return ret != 0;
}
}
public static bool ColorButton(ref byte descId, Vector4 col, Vector2 size)
{
fixed (byte* pdescId = &descId)
{
byte ret = ImGuiNative.ColorButton((byte*)pdescId, col, (ImGuiColorEditFlags)(0), size);
return ret != 0;
}
}
public static bool ColorButton(ReadOnlySpan descId, Vector4 col, ImGuiColorEditFlags flags, Vector2 size)
{
fixed (byte* pdescId = descId)
{
byte ret = ImGuiNative.ColorButton((byte*)pdescId, col, flags, size);
return ret != 0;
}
}
public static bool ColorButton(ReadOnlySpan descId, Vector4 col, ImGuiColorEditFlags flags)
{
fixed (byte* pdescId = descId)
{
byte ret = ImGuiNative.ColorButton((byte*)pdescId, col, flags, (Vector2)(new Vector2(0,0)));
return ret != 0;
}
}
public static bool ColorButton(ReadOnlySpan descId, Vector4 col)
{
fixed (byte* pdescId = descId)
{
byte ret = ImGuiNative.ColorButton((byte*)pdescId, col, (ImGuiColorEditFlags)(0), (Vector2)(new Vector2(0,0)));
return ret != 0;
}
}
public static bool ColorButton(ReadOnlySpan descId, Vector4 col, Vector2 size)
{
fixed (byte* pdescId = descId)
{
byte ret = ImGuiNative.ColorButton((byte*)pdescId, col, (ImGuiColorEditFlags)(0), size);
return ret != 0;
}
}
public static bool ColorButton(string descId, Vector4 col, ImGuiColorEditFlags flags, Vector2 size)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (descId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(descId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(descId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.ColorButton(pStr0, col, flags, size);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool ColorButton(string descId, Vector4 col, ImGuiColorEditFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (descId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(descId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(descId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.ColorButton(pStr0, col, flags, (Vector2)(new Vector2(0,0)));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool ColorButton(string descId, Vector4 col)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (descId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(descId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(descId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.ColorButton(pStr0, col, (ImGuiColorEditFlags)(0), (Vector2)(new Vector2(0,0)));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool ColorButton(string descId, Vector4 col, Vector2 size)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (descId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(descId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(descId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.ColorButton(pStr0, col, (ImGuiColorEditFlags)(0), size);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static void SetColorEditOptions(ImGuiColorEditFlags flags)
{
ImGuiNative.SetColorEditOptions(flags);
}
public static void TreePush(byte* strId)
{
ImGuiNative.TreePush(strId);
}
public static void TreePush(ref byte strId)
{
fixed (byte* pstrId = &strId)
{
ImGuiNative.TreePush((byte*)pstrId);
}
}
public static void TreePush(ReadOnlySpan strId)
{
fixed (byte* pstrId = strId)
{
ImGuiNative.TreePush((byte*)pstrId);
}
}
public static void TreePush(string strId)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (strId != null)
{
pStrSize0 = Utils.GetByteCountUTF8(strId);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImGuiNative.TreePush(pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
public static void TreePush(void* ptrId)
{
ImGuiNative.TreePush(ptrId);
}
public static void TreePush()
{
ImGuiNative.TreePush((void*)(default));
}
public static void TreePop()
{
ImGuiNative.TreePop();
}
public static float GetTreeNodeToLabelSpacing()
{
float ret = ImGuiNative.GetTreeNodeToLabelSpacing();
return ret;
}
public static bool CollapsingHeader(byte* label, ImGuiTreeNodeFlags flags)
{
byte ret = ImGuiNative.CollapsingHeader(label, flags);
return ret != 0;
}
public static bool CollapsingHeader(byte* label)
{
byte ret = ImGuiNative.CollapsingHeader(label, (ImGuiTreeNodeFlags)(0));
return ret != 0;
}
public static bool CollapsingHeader(ref byte label, ImGuiTreeNodeFlags flags)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.CollapsingHeader((byte*)plabel, flags);
return ret != 0;
}
}
public static bool CollapsingHeader(ref byte label)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.CollapsingHeader((byte*)plabel, (ImGuiTreeNodeFlags)(0));
return ret != 0;
}
}
public static bool CollapsingHeader(ReadOnlySpan label, ImGuiTreeNodeFlags flags)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.CollapsingHeader((byte*)plabel, flags);
return ret != 0;
}
}
public static bool CollapsingHeader(ReadOnlySpan label)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.CollapsingHeader((byte*)plabel, (ImGuiTreeNodeFlags)(0));
return ret != 0;
}
}
public static bool CollapsingHeader(string label, ImGuiTreeNodeFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.CollapsingHeader(pStr0, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool CollapsingHeader(string label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.CollapsingHeader(pStr0, (ImGuiTreeNodeFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool CollapsingHeader(byte* label, bool* pVisible, ImGuiTreeNodeFlags flags)
{
byte ret = ImGuiNative.CollapsingHeader(label, pVisible, flags);
return ret != 0;
}
public static bool CollapsingHeader(byte* label, bool* pVisible)
{
byte ret = ImGuiNative.CollapsingHeader(label, pVisible, (ImGuiTreeNodeFlags)(0));
return ret != 0;
}
public static bool CollapsingHeader(ref byte label, bool* pVisible, ImGuiTreeNodeFlags flags)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.CollapsingHeader((byte*)plabel, pVisible, flags);
return ret != 0;
}
}
public static bool CollapsingHeader(ref byte label, bool* pVisible)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.CollapsingHeader((byte*)plabel, pVisible, (ImGuiTreeNodeFlags)(0));
return ret != 0;
}
}
public static bool CollapsingHeader(ReadOnlySpan label, bool* pVisible, ImGuiTreeNodeFlags flags)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.CollapsingHeader((byte*)plabel, pVisible, flags);
return ret != 0;
}
}
public static bool CollapsingHeader(ReadOnlySpan label, bool* pVisible)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.CollapsingHeader((byte*)plabel, pVisible, (ImGuiTreeNodeFlags)(0));
return ret != 0;
}
}
public static bool CollapsingHeader(string label, bool* pVisible, ImGuiTreeNodeFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.CollapsingHeader(pStr0, pVisible, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool CollapsingHeader(string label, bool* pVisible)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.CollapsingHeader(pStr0, pVisible, (ImGuiTreeNodeFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool CollapsingHeader(byte* label, ref bool pVisible, ImGuiTreeNodeFlags flags)
{
fixed (bool* ppVisible = &pVisible)
{
byte ret = ImGuiNative.CollapsingHeader(label, (bool*)ppVisible, flags);
return ret != 0;
}
}
public static bool CollapsingHeader(byte* label, ref bool pVisible)
{
fixed (bool* ppVisible = &pVisible)
{
byte ret = ImGuiNative.CollapsingHeader(label, (bool*)ppVisible, (ImGuiTreeNodeFlags)(0));
return ret != 0;
}
}
public static bool CollapsingHeader(ref byte label, ref bool pVisible, ImGuiTreeNodeFlags flags)
{
fixed (byte* plabel = &label)
{
fixed (bool* ppVisible = &pVisible)
{
byte ret = ImGuiNative.CollapsingHeader((byte*)plabel, (bool*)ppVisible, flags);
return ret != 0;
}
}
}
public static bool CollapsingHeader(ref byte label, ref bool pVisible)
{
fixed (byte* plabel = &label)
{
fixed (bool* ppVisible = &pVisible)
{
byte ret = ImGuiNative.CollapsingHeader((byte*)plabel, (bool*)ppVisible, (ImGuiTreeNodeFlags)(0));
return ret != 0;
}
}
}
public static bool CollapsingHeader(ReadOnlySpan label, ref bool pVisible, ImGuiTreeNodeFlags flags)
{
fixed (byte* plabel = label)
{
fixed (bool* ppVisible = &pVisible)
{
byte ret = ImGuiNative.CollapsingHeader((byte*)plabel, (bool*)ppVisible, flags);
return ret != 0;
}
}
}
public static bool CollapsingHeader(ReadOnlySpan label, ref bool pVisible)
{
fixed (byte* plabel = label)
{
fixed (bool* ppVisible = &pVisible)
{
byte ret = ImGuiNative.CollapsingHeader((byte*)plabel, (bool*)ppVisible, (ImGuiTreeNodeFlags)(0));
return ret != 0;
}
}
}
public static bool CollapsingHeader(string label, ref bool pVisible, ImGuiTreeNodeFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (bool* ppVisible = &pVisible)
{
byte ret = ImGuiNative.CollapsingHeader(pStr0, (bool*)ppVisible, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static bool CollapsingHeader(string label, ref bool pVisible)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (bool* ppVisible = &pVisible)
{
byte ret = ImGuiNative.CollapsingHeader(pStr0, (bool*)ppVisible, (ImGuiTreeNodeFlags)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
public static void SetNextItemOpen(bool isOpen, ImGuiCond cond)
{
ImGuiNative.SetNextItemOpen(isOpen ? (byte)1 : (byte)0, cond);
}
public static void SetNextItemOpen(bool isOpen)
{
ImGuiNative.SetNextItemOpen(isOpen ? (byte)1 : (byte)0, (ImGuiCond)(0));
}
public static bool Selectable(byte* label, bool selected, ImGuiSelectableFlags flags, Vector2 size)
{
byte ret = ImGuiNative.Selectable(label, selected ? (byte)1 : (byte)0, flags, size);
return ret != 0;
}
public static bool Selectable(byte* label, bool selected, ImGuiSelectableFlags flags)
{
byte ret = ImGuiNative.Selectable(label, selected ? (byte)1 : (byte)0, flags, (Vector2)(new Vector2(0,0)));
return ret != 0;
}
public static bool Selectable(byte* label, bool selected)
{
byte ret = ImGuiNative.Selectable(label, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0)));
return ret != 0;
}
public static bool Selectable(byte* label)
{
byte ret = ImGuiNative.Selectable(label, (byte)(0), (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0)));
return ret != 0;
}
public static bool Selectable(byte* label, ImGuiSelectableFlags flags)
{
byte ret = ImGuiNative.Selectable(label, (byte)(0), flags, (Vector2)(new Vector2(0,0)));
return ret != 0;
}
public static bool Selectable(byte* label, bool selected, Vector2 size)
{
byte ret = ImGuiNative.Selectable(label, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), size);
return ret != 0;
}
public static bool Selectable(byte* label, Vector2 size)
{
byte ret = ImGuiNative.Selectable(label, (byte)(0), (ImGuiSelectableFlags)(0), size);
return ret != 0;
}
public static bool Selectable(byte* label, ImGuiSelectableFlags flags, Vector2 size)
{
byte ret = ImGuiNative.Selectable(label, (byte)(0), flags, size);
return ret != 0;
}
public static bool Selectable(ref byte label, bool selected, ImGuiSelectableFlags flags, Vector2 size)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.Selectable((byte*)plabel, selected ? (byte)1 : (byte)0, flags, size);
return ret != 0;
}
}
public static bool Selectable(ref byte label, bool selected, ImGuiSelectableFlags flags)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.Selectable((byte*)plabel, selected ? (byte)1 : (byte)0, flags, (Vector2)(new Vector2(0,0)));
return ret != 0;
}
}
public static bool Selectable(ref byte label, bool selected)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.Selectable((byte*)plabel, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0)));
return ret != 0;
}
}
public static bool Selectable(ref byte label)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.Selectable((byte*)plabel, (byte)(0), (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0)));
return ret != 0;
}
}
public static bool Selectable(ref byte label, ImGuiSelectableFlags flags)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.Selectable((byte*)plabel, (byte)(0), flags, (Vector2)(new Vector2(0,0)));
return ret != 0;
}
}
public static bool Selectable(ref byte label, bool selected, Vector2 size)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.Selectable((byte*)plabel, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), size);
return ret != 0;
}
}
public static bool Selectable(ref byte label, Vector2 size)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.Selectable((byte*)plabel, (byte)(0), (ImGuiSelectableFlags)(0), size);
return ret != 0;
}
}
public static bool Selectable(ref byte label, ImGuiSelectableFlags flags, Vector2 size)
{
fixed (byte* plabel = &label)
{
byte ret = ImGuiNative.Selectable((byte*)plabel, (byte)(0), flags, size);
return ret != 0;
}
}
public static bool Selectable(ReadOnlySpan label, bool selected, ImGuiSelectableFlags flags, Vector2 size)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.Selectable((byte*)plabel, selected ? (byte)1 : (byte)0, flags, size);
return ret != 0;
}
}
public static bool Selectable(ReadOnlySpan label, bool selected, ImGuiSelectableFlags flags)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.Selectable((byte*)plabel, selected ? (byte)1 : (byte)0, flags, (Vector2)(new Vector2(0,0)));
return ret != 0;
}
}
public static bool Selectable(ReadOnlySpan label, bool selected)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.Selectable((byte*)plabel, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0)));
return ret != 0;
}
}
public static bool Selectable(ReadOnlySpan label)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.Selectable((byte*)plabel, (byte)(0), (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0)));
return ret != 0;
}
}
public static bool Selectable(ReadOnlySpan label, ImGuiSelectableFlags flags)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.Selectable((byte*)plabel, (byte)(0), flags, (Vector2)(new Vector2(0,0)));
return ret != 0;
}
}
public static bool Selectable(ReadOnlySpan label, bool selected, Vector2 size)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.Selectable((byte*)plabel, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), size);
return ret != 0;
}
}
public static bool Selectable(ReadOnlySpan label, Vector2 size)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.Selectable((byte*)plabel, (byte)(0), (ImGuiSelectableFlags)(0), size);
return ret != 0;
}
}
public static bool Selectable(ReadOnlySpan label, ImGuiSelectableFlags flags, Vector2 size)
{
fixed (byte* plabel = label)
{
byte ret = ImGuiNative.Selectable((byte*)plabel, (byte)(0), flags, size);
return ret != 0;
}
}
public static bool Selectable(string label, bool selected, ImGuiSelectableFlags flags, Vector2 size)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Selectable(pStr0, selected ? (byte)1 : (byte)0, flags, size);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Selectable(string label, bool selected, ImGuiSelectableFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Selectable(pStr0, selected ? (byte)1 : (byte)0, flags, (Vector2)(new Vector2(0,0)));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Selectable(string label, bool selected)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Selectable(pStr0, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0)));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Selectable(string label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = ImGuiNative.Selectable(pStr0, (byte)(0), (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0)));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
public static bool Selectable(string label, ImGuiSelectableFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc