// ------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // // ------------------------------------------------------------------------------ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using HexaGen.Runtime; using System.Numerics; namespace Dalamud.Bindings.ImGui { public unsafe partial class ImGuiP { /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiOldColumnData* ImGuiOldColumnDataNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[856])(); #else return (ImGuiOldColumnData*)((delegate* unmanaged[Cdecl])funcTable[856])(); #endif } /// /// To be documented. /// public static ImGuiOldColumnDataPtr ImGuiOldColumnData() { ImGuiOldColumnDataPtr ret = ImGuiOldColumnDataNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiOldColumns* ImGuiOldColumnsNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[857])(); #else return (ImGuiOldColumns*)((delegate* unmanaged[Cdecl])funcTable[857])(); #endif } /// /// To be documented. /// public static ImGuiOldColumnsPtr ImGuiOldColumns() { ImGuiOldColumnsPtr ret = ImGuiOldColumnsNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiDockNode* ImGuiDockNodeNative(uint id) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[858])(id); #else return (ImGuiDockNode*)((delegate* unmanaged[Cdecl])funcTable[858])(id); #endif } /// /// To be documented. /// public static ImGuiDockNodePtr ImGuiDockNode(uint id) { ImGuiDockNodePtr ret = ImGuiDockNodeNative(id); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiDockNode* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[859])(self); #else ((delegate* unmanaged[Cdecl])funcTable[859])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiDockNodePtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiDockNode self) { fixed (ImGuiDockNode* pself = &self) { DestroyNative((ImGuiDockNode*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte IsRootNodeNative(ImGuiDockNode* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[860])(self); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[860])((nint)self); #endif } /// /// To be documented. /// public static bool IsRootNode(ImGuiDockNodePtr self) { byte ret = IsRootNodeNative(self); return ret != 0; } /// /// To be documented. /// public static bool IsRootNode(ref ImGuiDockNode self) { fixed (ImGuiDockNode* pself = &self) { byte ret = IsRootNodeNative((ImGuiDockNode*)pself); return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte IsDockSpaceNative(ImGuiDockNode* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[861])(self); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[861])((nint)self); #endif } /// /// To be documented. /// public static bool IsDockSpace(ImGuiDockNodePtr self) { byte ret = IsDockSpaceNative(self); return ret != 0; } /// /// To be documented. /// public static bool IsDockSpace(ref ImGuiDockNode self) { fixed (ImGuiDockNode* pself = &self) { byte ret = IsDockSpaceNative((ImGuiDockNode*)pself); return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte IsFloatingNodeNative(ImGuiDockNode* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[862])(self); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[862])((nint)self); #endif } /// /// To be documented. /// public static bool IsFloatingNode(ImGuiDockNodePtr self) { byte ret = IsFloatingNodeNative(self); return ret != 0; } /// /// To be documented. /// public static bool IsFloatingNode(ref ImGuiDockNode self) { fixed (ImGuiDockNode* pself = &self) { byte ret = IsFloatingNodeNative((ImGuiDockNode*)pself); return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte IsCentralNodeNative(ImGuiDockNode* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[863])(self); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[863])((nint)self); #endif } /// /// To be documented. /// public static bool IsCentralNode(ImGuiDockNodePtr self) { byte ret = IsCentralNodeNative(self); return ret != 0; } /// /// To be documented. /// public static bool IsCentralNode(ref ImGuiDockNode self) { fixed (ImGuiDockNode* pself = &self) { byte ret = IsCentralNodeNative((ImGuiDockNode*)pself); return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte IsHiddenTabBarNative(ImGuiDockNode* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[864])(self); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[864])((nint)self); #endif } /// /// To be documented. /// public static bool IsHiddenTabBar(ImGuiDockNodePtr self) { byte ret = IsHiddenTabBarNative(self); return ret != 0; } /// /// To be documented. /// public static bool IsHiddenTabBar(ref ImGuiDockNode self) { fixed (ImGuiDockNode* pself = &self) { byte ret = IsHiddenTabBarNative((ImGuiDockNode*)pself); return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte IsNoTabBarNative(ImGuiDockNode* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[865])(self); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[865])((nint)self); #endif } /// /// To be documented. /// public static bool IsNoTabBar(ImGuiDockNodePtr self) { byte ret = IsNoTabBarNative(self); return ret != 0; } /// /// To be documented. /// public static bool IsNoTabBar(ref ImGuiDockNode self) { fixed (ImGuiDockNode* pself = &self) { byte ret = IsNoTabBarNative((ImGuiDockNode*)pself); return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte IsSplitNodeNative(ImGuiDockNode* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[866])(self); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[866])((nint)self); #endif } /// /// To be documented. /// public static bool IsSplitNode(ImGuiDockNodePtr self) { byte ret = IsSplitNodeNative(self); return ret != 0; } /// /// To be documented. /// public static bool IsSplitNode(ref ImGuiDockNode self) { fixed (ImGuiDockNode* pself = &self) { byte ret = IsSplitNodeNative((ImGuiDockNode*)pself); return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte IsLeafNodeNative(ImGuiDockNode* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[867])(self); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[867])((nint)self); #endif } /// /// To be documented. /// public static bool IsLeafNode(ImGuiDockNodePtr self) { byte ret = IsLeafNodeNative(self); return ret != 0; } /// /// To be documented. /// public static bool IsLeafNode(ref ImGuiDockNode self) { fixed (ImGuiDockNode* pself = &self) { byte ret = IsLeafNodeNative((ImGuiDockNode*)pself); return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte IsEmptyNative(ImGuiDockNode* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[868])(self); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[868])((nint)self); #endif } /// /// To be documented. /// public static bool IsEmpty(ImGuiDockNodePtr self) { byte ret = IsEmptyNative(self); return ret != 0; } /// /// To be documented. /// public static bool IsEmpty(ref ImGuiDockNode self) { fixed (ImGuiDockNode* pself = &self) { byte ret = IsEmptyNative((ImGuiDockNode*)pself); return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void RectNative(ImRect* pOut, ImGuiDockNode* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[869])(pOut, self); #else ((delegate* unmanaged[Cdecl])funcTable[869])((nint)pOut, (nint)self); #endif } /// /// To be documented. /// public static ImRect Rect(ImGuiDockNodePtr self) { ImRect ret; RectNative(&ret, self); return ret; } /// /// To be documented. /// public static void Rect(ImRectPtr pOut, ImGuiDockNodePtr self) { RectNative(pOut, self); } /// /// To be documented. /// public static void Rect(ref ImRect pOut, ImGuiDockNodePtr self) { fixed (ImRect* ppOut = &pOut) { RectNative((ImRect*)ppOut, self); } } /// /// To be documented. /// public static ImRect Rect(ref ImGuiDockNode self) { fixed (ImGuiDockNode* pself = &self) { ImRect ret; RectNative(&ret, (ImGuiDockNode*)pself); return ret; } } /// /// To be documented. /// public static void Rect(ImRectPtr pOut, ref ImGuiDockNode self) { fixed (ImGuiDockNode* pself = &self) { RectNative(pOut, (ImGuiDockNode*)pself); } } /// /// To be documented. /// public static void Rect(ref ImRect pOut, ref ImGuiDockNode self) { fixed (ImRect* ppOut = &pOut) { fixed (ImGuiDockNode* pself = &self) { RectNative((ImRect*)ppOut, (ImGuiDockNode*)pself); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void SetLocalFlagsNative(ImGuiDockNode* self, ImGuiDockNodeFlags flags) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[870])(self, flags); #else ((delegate* unmanaged[Cdecl])funcTable[870])((nint)self, flags); #endif } /// /// To be documented. /// public static void SetLocalFlags(ImGuiDockNodePtr self, ImGuiDockNodeFlags flags) { SetLocalFlagsNative(self, flags); } /// /// To be documented. /// public static void SetLocalFlags(ref ImGuiDockNode self, ImGuiDockNodeFlags flags) { fixed (ImGuiDockNode* pself = &self) { SetLocalFlagsNative((ImGuiDockNode*)pself, flags); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void UpdateMergedFlagsNative(ImGuiDockNode* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[871])(self); #else ((delegate* unmanaged[Cdecl])funcTable[871])((nint)self); #endif } /// /// To be documented. /// public static void UpdateMergedFlags(ImGuiDockNodePtr self) { UpdateMergedFlagsNative(self); } /// /// To be documented. /// public static void UpdateMergedFlags(ref ImGuiDockNode self) { fixed (ImGuiDockNode* pself = &self) { UpdateMergedFlagsNative((ImGuiDockNode*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiDockContext* ImGuiDockContextNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[872])(); #else return (ImGuiDockContext*)((delegate* unmanaged[Cdecl])funcTable[872])(); #endif } /// /// To be documented. /// public static ImGuiDockContextPtr ImGuiDockContext() { ImGuiDockContextPtr ret = ImGuiDockContextNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiViewportP* ImGuiViewportPNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[873])(); #else return (ImGuiViewportP*)((delegate* unmanaged[Cdecl])funcTable[873])(); #endif } /// /// To be documented. /// public static ImGuiViewportPPtr ImGuiViewportP() { ImGuiViewportPPtr ret = ImGuiViewportPNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiViewportP* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[874])(self); #else ((delegate* unmanaged[Cdecl])funcTable[874])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiViewportPPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiViewportP self) { fixed (ImGuiViewportP* pself = &self) { DestroyNative((ImGuiViewportP*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ClearRequestFlagsNative(ImGuiViewportP* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[875])(self); #else ((delegate* unmanaged[Cdecl])funcTable[875])((nint)self); #endif } /// /// To be documented. /// public static void ClearRequestFlags(ImGuiViewportPPtr self) { ClearRequestFlagsNative(self); } /// /// To be documented. /// public static void ClearRequestFlags(ref ImGuiViewportP self) { fixed (ImGuiViewportP* pself = &self) { ClearRequestFlagsNative((ImGuiViewportP*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CalcWorkRectPosNative(Vector2* pOut, ImGuiViewportP* self, Vector2 offMin) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[876])(pOut, self, offMin); #else ((delegate* unmanaged[Cdecl])funcTable[876])((nint)pOut, (nint)self, offMin); #endif } /// /// To be documented. /// public static Vector2 CalcWorkRectPos(ImGuiViewportPPtr self, Vector2 offMin) { Vector2 ret; CalcWorkRectPosNative(&ret, self, offMin); return ret; } /// /// To be documented. /// public static void CalcWorkRectPos(Vector2* pOut, ImGuiViewportPPtr self, Vector2 offMin) { CalcWorkRectPosNative(pOut, self, offMin); } /// /// To be documented. /// public static void CalcWorkRectPos(ref Vector2 pOut, ImGuiViewportPPtr self, Vector2 offMin) { fixed (Vector2* ppOut = &pOut) { CalcWorkRectPosNative((Vector2*)ppOut, self, offMin); } } /// /// To be documented. /// public static Vector2 CalcWorkRectPos(ref ImGuiViewportP self, Vector2 offMin) { fixed (ImGuiViewportP* pself = &self) { Vector2 ret; CalcWorkRectPosNative(&ret, (ImGuiViewportP*)pself, offMin); return ret; } } /// /// To be documented. /// public static void CalcWorkRectPos(Vector2* pOut, ref ImGuiViewportP self, Vector2 offMin) { fixed (ImGuiViewportP* pself = &self) { CalcWorkRectPosNative(pOut, (ImGuiViewportP*)pself, offMin); } } /// /// To be documented. /// public static void CalcWorkRectPos(ref Vector2 pOut, ref ImGuiViewportP self, Vector2 offMin) { fixed (Vector2* ppOut = &pOut) { fixed (ImGuiViewportP* pself = &self) { CalcWorkRectPosNative((Vector2*)ppOut, (ImGuiViewportP*)pself, offMin); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CalcWorkRectSizeNative(Vector2* pOut, ImGuiViewportP* self, Vector2 offMin, Vector2 offMax) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[877])(pOut, self, offMin, offMax); #else ((delegate* unmanaged[Cdecl])funcTable[877])((nint)pOut, (nint)self, offMin, offMax); #endif } /// /// To be documented. /// public static Vector2 CalcWorkRectSize(ImGuiViewportPPtr self, Vector2 offMin, Vector2 offMax) { Vector2 ret; CalcWorkRectSizeNative(&ret, self, offMin, offMax); return ret; } /// /// To be documented. /// public static void CalcWorkRectSize(Vector2* pOut, ImGuiViewportPPtr self, Vector2 offMin, Vector2 offMax) { CalcWorkRectSizeNative(pOut, self, offMin, offMax); } /// /// To be documented. /// public static void CalcWorkRectSize(ref Vector2 pOut, ImGuiViewportPPtr self, Vector2 offMin, Vector2 offMax) { fixed (Vector2* ppOut = &pOut) { CalcWorkRectSizeNative((Vector2*)ppOut, self, offMin, offMax); } } /// /// To be documented. /// public static Vector2 CalcWorkRectSize(ref ImGuiViewportP self, Vector2 offMin, Vector2 offMax) { fixed (ImGuiViewportP* pself = &self) { Vector2 ret; CalcWorkRectSizeNative(&ret, (ImGuiViewportP*)pself, offMin, offMax); return ret; } } /// /// To be documented. /// public static void CalcWorkRectSize(Vector2* pOut, ref ImGuiViewportP self, Vector2 offMin, Vector2 offMax) { fixed (ImGuiViewportP* pself = &self) { CalcWorkRectSizeNative(pOut, (ImGuiViewportP*)pself, offMin, offMax); } } /// /// To be documented. /// public static void CalcWorkRectSize(ref Vector2 pOut, ref ImGuiViewportP self, Vector2 offMin, Vector2 offMax) { fixed (Vector2* ppOut = &pOut) { fixed (ImGuiViewportP* pself = &self) { CalcWorkRectSizeNative((Vector2*)ppOut, (ImGuiViewportP*)pself, offMin, offMax); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void UpdateWorkRectNative(ImGuiViewportP* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[878])(self); #else ((delegate* unmanaged[Cdecl])funcTable[878])((nint)self); #endif } /// /// To be documented. /// public static void UpdateWorkRect(ImGuiViewportPPtr self) { UpdateWorkRectNative(self); } /// /// To be documented. /// public static void UpdateWorkRect(ref ImGuiViewportP self) { fixed (ImGuiViewportP* pself = &self) { UpdateWorkRectNative((ImGuiViewportP*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void GetMainRectNative(ImRect* pOut, ImGuiViewportP* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[879])(pOut, self); #else ((delegate* unmanaged[Cdecl])funcTable[879])((nint)pOut, (nint)self); #endif } /// /// To be documented. /// public static ImRect GetMainRect(ImGuiViewportPPtr self) { ImRect ret; GetMainRectNative(&ret, self); return ret; } /// /// To be documented. /// public static void GetMainRect(ImRectPtr pOut, ImGuiViewportPPtr self) { GetMainRectNative(pOut, self); } /// /// To be documented. /// public static void GetMainRect(ref ImRect pOut, ImGuiViewportPPtr self) { fixed (ImRect* ppOut = &pOut) { GetMainRectNative((ImRect*)ppOut, self); } } /// /// To be documented. /// public static ImRect GetMainRect(ref ImGuiViewportP self) { fixed (ImGuiViewportP* pself = &self) { ImRect ret; GetMainRectNative(&ret, (ImGuiViewportP*)pself); return ret; } } /// /// To be documented. /// public static void GetMainRect(ImRectPtr pOut, ref ImGuiViewportP self) { fixed (ImGuiViewportP* pself = &self) { GetMainRectNative(pOut, (ImGuiViewportP*)pself); } } /// /// To be documented. /// public static void GetMainRect(ref ImRect pOut, ref ImGuiViewportP self) { fixed (ImRect* ppOut = &pOut) { fixed (ImGuiViewportP* pself = &self) { GetMainRectNative((ImRect*)ppOut, (ImGuiViewportP*)pself); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void GetWorkRectNative(ImRect* pOut, ImGuiViewportP* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[880])(pOut, self); #else ((delegate* unmanaged[Cdecl])funcTable[880])((nint)pOut, (nint)self); #endif } /// /// To be documented. /// public static ImRect GetWorkRect(ImGuiViewportPPtr self) { ImRect ret; GetWorkRectNative(&ret, self); return ret; } /// /// To be documented. /// public static void GetWorkRect(ImRectPtr pOut, ImGuiViewportPPtr self) { GetWorkRectNative(pOut, self); } /// /// To be documented. /// public static void GetWorkRect(ref ImRect pOut, ImGuiViewportPPtr self) { fixed (ImRect* ppOut = &pOut) { GetWorkRectNative((ImRect*)ppOut, self); } } /// /// To be documented. /// public static ImRect GetWorkRect(ref ImGuiViewportP self) { fixed (ImGuiViewportP* pself = &self) { ImRect ret; GetWorkRectNative(&ret, (ImGuiViewportP*)pself); return ret; } } /// /// To be documented. /// public static void GetWorkRect(ImRectPtr pOut, ref ImGuiViewportP self) { fixed (ImGuiViewportP* pself = &self) { GetWorkRectNative(pOut, (ImGuiViewportP*)pself); } } /// /// To be documented. /// public static void GetWorkRect(ref ImRect pOut, ref ImGuiViewportP self) { fixed (ImRect* ppOut = &pOut) { fixed (ImGuiViewportP* pself = &self) { GetWorkRectNative((ImRect*)ppOut, (ImGuiViewportP*)pself); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void GetBuildWorkRectNative(ImRect* pOut, ImGuiViewportP* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[881])(pOut, self); #else ((delegate* unmanaged[Cdecl])funcTable[881])((nint)pOut, (nint)self); #endif } /// /// To be documented. /// public static ImRect GetBuildWorkRect(ImGuiViewportPPtr self) { ImRect ret; GetBuildWorkRectNative(&ret, self); return ret; } /// /// To be documented. /// public static void GetBuildWorkRect(ImRectPtr pOut, ImGuiViewportPPtr self) { GetBuildWorkRectNative(pOut, self); } /// /// To be documented. /// public static void GetBuildWorkRect(ref ImRect pOut, ImGuiViewportPPtr self) { fixed (ImRect* ppOut = &pOut) { GetBuildWorkRectNative((ImRect*)ppOut, self); } } /// /// To be documented. /// public static ImRect GetBuildWorkRect(ref ImGuiViewportP self) { fixed (ImGuiViewportP* pself = &self) { ImRect ret; GetBuildWorkRectNative(&ret, (ImGuiViewportP*)pself); return ret; } } /// /// To be documented. /// public static void GetBuildWorkRect(ImRectPtr pOut, ref ImGuiViewportP self) { fixed (ImGuiViewportP* pself = &self) { GetBuildWorkRectNative(pOut, (ImGuiViewportP*)pself); } } /// /// To be documented. /// public static void GetBuildWorkRect(ref ImRect pOut, ref ImGuiViewportP self) { fixed (ImRect* ppOut = &pOut) { fixed (ImGuiViewportP* pself = &self) { GetBuildWorkRectNative((ImRect*)ppOut, (ImGuiViewportP*)pself); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiWindowSettings* ImGuiWindowSettingsNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[882])(); #else return (ImGuiWindowSettings*)((delegate* unmanaged[Cdecl])funcTable[882])(); #endif } /// /// To be documented. /// public static ImGuiWindowSettingsPtr ImGuiWindowSettings() { ImGuiWindowSettingsPtr ret = ImGuiWindowSettingsNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte* GetNameNative(ImGuiWindowSettings* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[883])(self); #else return (byte*)((delegate* unmanaged[Cdecl])funcTable[883])((nint)self); #endif } /// /// To be documented. /// public static byte* GetName(ImGuiWindowSettingsPtr self) { byte* ret = GetNameNative(self); return ret; } /// /// To be documented. /// public static string GetNameS(ImGuiWindowSettingsPtr self) { string ret = Utils.DecodeStringUTF8(GetNameNative(self)); return ret; } /// /// To be documented. /// public static byte* GetName(ref ImGuiWindowSettings self) { fixed (ImGuiWindowSettings* pself = &self) { byte* ret = GetNameNative((ImGuiWindowSettings*)pself); return ret; } } /// /// To be documented. /// public static string GetNameS(ref ImGuiWindowSettings self) { fixed (ImGuiWindowSettings* pself = &self) { string ret = Utils.DecodeStringUTF8(GetNameNative((ImGuiWindowSettings*)pself)); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiSettingsHandler* ImGuiSettingsHandlerNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[884])(); #else return (ImGuiSettingsHandler*)((delegate* unmanaged[Cdecl])funcTable[884])(); #endif } /// /// To be documented. /// public static ImGuiSettingsHandlerPtr ImGuiSettingsHandler() { ImGuiSettingsHandlerPtr ret = ImGuiSettingsHandlerNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiMetricsConfig* ImGuiMetricsConfigNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[885])(); #else return (ImGuiMetricsConfig*)((delegate* unmanaged[Cdecl])funcTable[885])(); #endif } /// /// To be documented. /// public static ImGuiMetricsConfigPtr ImGuiMetricsConfig() { ImGuiMetricsConfigPtr ret = ImGuiMetricsConfigNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiStackLevelInfo* ImGuiStackLevelInfoNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[886])(); #else return (ImGuiStackLevelInfo*)((delegate* unmanaged[Cdecl])funcTable[886])(); #endif } /// /// To be documented. /// public static ImGuiStackLevelInfoPtr ImGuiStackLevelInfo() { ImGuiStackLevelInfoPtr ret = ImGuiStackLevelInfoNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiContextHook* ImGuiContextHookNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[887])(); #else return (ImGuiContextHook*)((delegate* unmanaged[Cdecl])funcTable[887])(); #endif } /// /// To be documented. /// public static ImGuiContextHookPtr ImGuiContextHook() { ImGuiContextHookPtr ret = ImGuiContextHookNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiContext* ImGuiContextNative(ImFontAtlas* sharedFontAtlas) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[888])(sharedFontAtlas); #else return (ImGuiContext*)((delegate* unmanaged[Cdecl])funcTable[888])((nint)sharedFontAtlas); #endif } /// /// To be documented. /// public static ImGuiContextPtr ImGuiContext(ImFontAtlasPtr sharedFontAtlas) { ImGuiContextPtr ret = ImGuiContextNative(sharedFontAtlas); return ret; } /// /// To be documented. /// public static ImGuiContextPtr ImGuiContext(ref ImFontAtlas sharedFontAtlas) { fixed (ImFontAtlas* psharedFontAtlas = &sharedFontAtlas) { ImGuiContextPtr ret = ImGuiContextNative((ImFontAtlas*)psharedFontAtlas); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiWindow* ImGuiWindowNative(ImGuiContext* context, byte* name) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[889])(context, name); #else return (ImGuiWindow*)((delegate* unmanaged[Cdecl])funcTable[889])((nint)context, (nint)name); #endif } /// /// To be documented. /// public static ImGuiWindowPtr ImGuiWindow(ImGuiContextPtr context, byte* name) { ImGuiWindowPtr ret = ImGuiWindowNative(context, name); return ret; } /// /// To be documented. /// public static ImGuiWindowPtr ImGuiWindow(ref ImGuiContext context, byte* name) { fixed (ImGuiContext* pcontext = &context) { ImGuiWindowPtr ret = ImGuiWindowNative((ImGuiContext*)pcontext, name); return ret; } } /// /// To be documented. /// public static ImGuiWindowPtr ImGuiWindow(ImGuiContextPtr context, ref byte name) { fixed (byte* pname = &name) { ImGuiWindowPtr ret = ImGuiWindowNative(context, (byte*)pname); return ret; } } /// /// To be documented. /// public static ImGuiWindowPtr ImGuiWindow(ImGuiContextPtr context, ReadOnlySpan name) { fixed (byte* pname = name) { ImGuiWindowPtr ret = ImGuiWindowNative(context, (byte*)pname); return ret; } } /// /// To be documented. /// public static ImGuiWindowPtr ImGuiWindow(ImGuiContextPtr context, 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; } ImGuiWindowPtr ret = ImGuiWindowNative(context, pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static ImGuiWindowPtr ImGuiWindow(ref ImGuiContext context, ref byte name) { fixed (ImGuiContext* pcontext = &context) { fixed (byte* pname = &name) { ImGuiWindowPtr ret = ImGuiWindowNative((ImGuiContext*)pcontext, (byte*)pname); return ret; } } } /// /// To be documented. /// public static ImGuiWindowPtr ImGuiWindow(ref ImGuiContext context, ReadOnlySpan name) { fixed (ImGuiContext* pcontext = &context) { fixed (byte* pname = name) { ImGuiWindowPtr ret = ImGuiWindowNative((ImGuiContext*)pcontext, (byte*)pname); return ret; } } } /// /// To be documented. /// public static ImGuiWindowPtr ImGuiWindow(ref ImGuiContext context, string name) { fixed (ImGuiContext* pcontext = &context) { 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; } ImGuiWindowPtr ret = ImGuiWindowNative((ImGuiContext*)pcontext, pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiWindow* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[890])(self); #else ((delegate* unmanaged[Cdecl])funcTable[890])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiWindowPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiWindow self) { fixed (ImGuiWindow* pself = &self) { DestroyNative((ImGuiWindow*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static uint GetIDNative(ImGuiWindow* self, byte* str, byte* strEnd) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[891])(self, str, strEnd); #else return (uint)((delegate* unmanaged[Cdecl])funcTable[891])((nint)self, (nint)str, (nint)strEnd); #endif } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, byte* str, byte* strEnd) { uint ret = GetIDNative(self, str, strEnd); return ret; } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, byte* str) { uint ret = GetIDNative(self, str, (byte*)(default)); return ret; } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, byte* str, byte* strEnd) { fixed (ImGuiWindow* pself = &self) { uint ret = GetIDNative((ImGuiWindow*)pself, str, strEnd); return ret; } } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, byte* str) { fixed (ImGuiWindow* pself = &self) { uint ret = GetIDNative((ImGuiWindow*)pself, str, (byte*)(default)); return ret; } } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, ref byte str, byte* strEnd) { fixed (byte* pstr = &str) { uint ret = GetIDNative(self, (byte*)pstr, strEnd); return ret; } } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, ref byte str) { fixed (byte* pstr = &str) { uint ret = GetIDNative(self, (byte*)pstr, (byte*)(default)); return ret; } } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, ReadOnlySpan str, byte* strEnd) { fixed (byte* pstr = str) { uint ret = GetIDNative(self, (byte*)pstr, strEnd); return ret; } } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, ReadOnlySpan str) { fixed (byte* pstr = str) { uint ret = GetIDNative(self, (byte*)pstr, (byte*)(default)); return ret; } } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, string str, byte* strEnd) { byte* pStr0 = null; int pStrSize0 = 0; if (str != null) { pStrSize0 = Utils.GetByteCountUTF8(str); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } uint ret = GetIDNative(self, pStr0, strEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, string str) { byte* pStr0 = null; int pStrSize0 = 0; if (str != null) { pStrSize0 = Utils.GetByteCountUTF8(str); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } uint ret = GetIDNative(self, pStr0, (byte*)(default)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, ref byte str, byte* strEnd) { fixed (ImGuiWindow* pself = &self) { fixed (byte* pstr = &str) { uint ret = GetIDNative((ImGuiWindow*)pself, (byte*)pstr, strEnd); return ret; } } } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, ref byte str) { fixed (ImGuiWindow* pself = &self) { fixed (byte* pstr = &str) { uint ret = GetIDNative((ImGuiWindow*)pself, (byte*)pstr, (byte*)(default)); return ret; } } } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, ReadOnlySpan str, byte* strEnd) { fixed (ImGuiWindow* pself = &self) { fixed (byte* pstr = str) { uint ret = GetIDNative((ImGuiWindow*)pself, (byte*)pstr, strEnd); return ret; } } } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, ReadOnlySpan str) { fixed (ImGuiWindow* pself = &self) { fixed (byte* pstr = str) { uint ret = GetIDNative((ImGuiWindow*)pself, (byte*)pstr, (byte*)(default)); return ret; } } } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, string str, byte* strEnd) { fixed (ImGuiWindow* pself = &self) { byte* pStr0 = null; int pStrSize0 = 0; if (str != null) { pStrSize0 = Utils.GetByteCountUTF8(str); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } uint ret = GetIDNative((ImGuiWindow*)pself, pStr0, strEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, string str) { fixed (ImGuiWindow* pself = &self) { byte* pStr0 = null; int pStrSize0 = 0; if (str != null) { pStrSize0 = Utils.GetByteCountUTF8(str); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } uint ret = GetIDNative((ImGuiWindow*)pself, pStr0, (byte*)(default)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, byte* str, ref byte strEnd) { fixed (byte* pstrEnd = &strEnd) { uint ret = GetIDNative(self, str, (byte*)pstrEnd); return ret; } } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, byte* str, ReadOnlySpan strEnd) { fixed (byte* pstrEnd = strEnd) { uint ret = GetIDNative(self, str, (byte*)pstrEnd); return ret; } } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, byte* str, string strEnd) { byte* pStr0 = null; int pStrSize0 = 0; if (strEnd != null) { pStrSize0 = Utils.GetByteCountUTF8(strEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } uint ret = GetIDNative(self, str, pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, byte* str, ref byte strEnd) { fixed (ImGuiWindow* pself = &self) { fixed (byte* pstrEnd = &strEnd) { uint ret = GetIDNative((ImGuiWindow*)pself, str, (byte*)pstrEnd); return ret; } } } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, byte* str, ReadOnlySpan strEnd) { fixed (ImGuiWindow* pself = &self) { fixed (byte* pstrEnd = strEnd) { uint ret = GetIDNative((ImGuiWindow*)pself, str, (byte*)pstrEnd); return ret; } } } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, byte* str, string strEnd) { fixed (ImGuiWindow* pself = &self) { byte* pStr0 = null; int pStrSize0 = 0; if (strEnd != null) { pStrSize0 = Utils.GetByteCountUTF8(strEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } uint ret = GetIDNative((ImGuiWindow*)pself, str, pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, ref byte str, ref byte strEnd) { fixed (byte* pstr = &str) { fixed (byte* pstrEnd = &strEnd) { uint ret = GetIDNative(self, (byte*)pstr, (byte*)pstrEnd); return ret; } } } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, ReadOnlySpan str, ReadOnlySpan strEnd) { fixed (byte* pstr = str) { fixed (byte* pstrEnd = strEnd) { uint ret = GetIDNative(self, (byte*)pstr, (byte*)pstrEnd); return ret; } } } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, string str, string strEnd) { byte* pStr0 = null; int pStrSize0 = 0; if (str != null) { pStrSize0 = Utils.GetByteCountUTF8(str); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte* pStr1 = null; int pStrSize1 = 0; if (strEnd != null) { pStrSize1 = Utils.GetByteCountUTF8(strEnd); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(strEnd, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } uint ret = GetIDNative(self, pStr0, pStr1); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, ref byte str, ReadOnlySpan strEnd) { fixed (byte* pstr = &str) { fixed (byte* pstrEnd = strEnd) { uint ret = GetIDNative(self, (byte*)pstr, (byte*)pstrEnd); return ret; } } } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, ref byte str, string strEnd) { fixed (byte* pstr = &str) { byte* pStr0 = null; int pStrSize0 = 0; if (strEnd != null) { pStrSize0 = Utils.GetByteCountUTF8(strEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } uint ret = GetIDNative(self, (byte*)pstr, pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, ReadOnlySpan str, ref byte strEnd) { fixed (byte* pstr = str) { fixed (byte* pstrEnd = &strEnd) { uint ret = GetIDNative(self, (byte*)pstr, (byte*)pstrEnd); return ret; } } } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, ReadOnlySpan str, string strEnd) { fixed (byte* pstr = str) { byte* pStr0 = null; int pStrSize0 = 0; if (strEnd != null) { pStrSize0 = Utils.GetByteCountUTF8(strEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } uint ret = GetIDNative(self, (byte*)pstr, pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, string str, ref byte strEnd) { byte* pStr0 = null; int pStrSize0 = 0; if (str != null) { pStrSize0 = Utils.GetByteCountUTF8(str); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (byte* pstrEnd = &strEnd) { uint ret = GetIDNative(self, pStr0, (byte*)pstrEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, string str, ReadOnlySpan strEnd) { byte* pStr0 = null; int pStrSize0 = 0; if (str != null) { pStrSize0 = Utils.GetByteCountUTF8(str); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (byte* pstrEnd = strEnd) { uint ret = GetIDNative(self, pStr0, (byte*)pstrEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, ref byte str, ref byte strEnd) { fixed (ImGuiWindow* pself = &self) { fixed (byte* pstr = &str) { fixed (byte* pstrEnd = &strEnd) { uint ret = GetIDNative((ImGuiWindow*)pself, (byte*)pstr, (byte*)pstrEnd); return ret; } } } } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, ReadOnlySpan str, ReadOnlySpan strEnd) { fixed (ImGuiWindow* pself = &self) { fixed (byte* pstr = str) { fixed (byte* pstrEnd = strEnd) { uint ret = GetIDNative((ImGuiWindow*)pself, (byte*)pstr, (byte*)pstrEnd); return ret; } } } } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, string str, string strEnd) { fixed (ImGuiWindow* pself = &self) { byte* pStr0 = null; int pStrSize0 = 0; if (str != null) { pStrSize0 = Utils.GetByteCountUTF8(str); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } byte* pStr1 = null; int pStrSize1 = 0; if (strEnd != null) { pStrSize1 = Utils.GetByteCountUTF8(strEnd); if (pStrSize1 >= Utils.MaxStackallocSize) { pStr1 = Utils.Alloc(pStrSize1 + 1); } else { byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; pStr1 = pStrStack1; } int pStrOffset1 = Utils.EncodeStringUTF8(strEnd, pStr1, pStrSize1); pStr1[pStrOffset1] = 0; } uint ret = GetIDNative((ImGuiWindow*)pself, pStr0, pStr1); if (pStrSize1 >= Utils.MaxStackallocSize) { Utils.Free(pStr1); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, ref byte str, ReadOnlySpan strEnd) { fixed (ImGuiWindow* pself = &self) { fixed (byte* pstr = &str) { fixed (byte* pstrEnd = strEnd) { uint ret = GetIDNative((ImGuiWindow*)pself, (byte*)pstr, (byte*)pstrEnd); return ret; } } } } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, ref byte str, string strEnd) { fixed (ImGuiWindow* pself = &self) { fixed (byte* pstr = &str) { byte* pStr0 = null; int pStrSize0 = 0; if (strEnd != null) { pStrSize0 = Utils.GetByteCountUTF8(strEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } uint ret = GetIDNative((ImGuiWindow*)pself, (byte*)pstr, pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, ReadOnlySpan str, ref byte strEnd) { fixed (ImGuiWindow* pself = &self) { fixed (byte* pstr = str) { fixed (byte* pstrEnd = &strEnd) { uint ret = GetIDNative((ImGuiWindow*)pself, (byte*)pstr, (byte*)pstrEnd); return ret; } } } } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, ReadOnlySpan str, string strEnd) { fixed (ImGuiWindow* pself = &self) { fixed (byte* pstr = str) { byte* pStr0 = null; int pStrSize0 = 0; if (strEnd != null) { pStrSize0 = Utils.GetByteCountUTF8(strEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } uint ret = GetIDNative((ImGuiWindow*)pself, (byte*)pstr, pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, string str, ref byte strEnd) { fixed (ImGuiWindow* pself = &self) { byte* pStr0 = null; int pStrSize0 = 0; if (str != null) { pStrSize0 = Utils.GetByteCountUTF8(str); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (byte* pstrEnd = &strEnd) { uint ret = GetIDNative((ImGuiWindow*)pself, pStr0, (byte*)pstrEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, string str, ReadOnlySpan strEnd) { fixed (ImGuiWindow* pself = &self) { byte* pStr0 = null; int pStrSize0 = 0; if (str != null) { pStrSize0 = Utils.GetByteCountUTF8(str); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (byte* pstrEnd = strEnd) { uint ret = GetIDNative((ImGuiWindow*)pself, pStr0, (byte*)pstrEnd); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static uint GetIDNative(ImGuiWindow* self, void* ptr) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[892])(self, ptr); #else return (uint)((delegate* unmanaged[Cdecl])funcTable[892])((nint)self, (nint)ptr); #endif } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, void* ptr) { uint ret = GetIDNative(self, ptr); return ret; } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, void* ptr) { fixed (ImGuiWindow* pself = &self) { uint ret = GetIDNative((ImGuiWindow*)pself, ptr); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static uint GetIDNative(ImGuiWindow* self, int n) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[893])(self, n); #else return (uint)((delegate* unmanaged[Cdecl])funcTable[893])((nint)self, n); #endif } /// /// To be documented. /// public static uint GetID(ImGuiWindowPtr self, int n) { uint ret = GetIDNative(self, n); return ret; } /// /// To be documented. /// public static uint GetID(ref ImGuiWindow self, int n) { fixed (ImGuiWindow* pself = &self) { uint ret = GetIDNative((ImGuiWindow*)pself, n); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static uint GetIDFromRectangleNative(ImGuiWindow* self, ImRect rAbs) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[894])(self, rAbs); #else return (uint)((delegate* unmanaged[Cdecl])funcTable[894])((nint)self, rAbs); #endif } /// /// To be documented. /// public static uint GetIDFromRectangle(ImGuiWindowPtr self, ImRect rAbs) { uint ret = GetIDFromRectangleNative(self, rAbs); return ret; } /// /// To be documented. /// public static uint GetIDFromRectangle(ref ImGuiWindow self, ImRect rAbs) { fixed (ImGuiWindow* pself = &self) { uint ret = GetIDFromRectangleNative((ImGuiWindow*)pself, rAbs); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void RectNative(ImRect* pOut, ImGuiWindow* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[895])(pOut, self); #else ((delegate* unmanaged[Cdecl])funcTable[895])((nint)pOut, (nint)self); #endif } /// /// To be documented. /// public static ImRect Rect(ImGuiWindowPtr self) { ImRect ret; RectNative(&ret, self); return ret; } /// /// To be documented. /// public static void Rect(ImRectPtr pOut, ImGuiWindowPtr self) { RectNative(pOut, self); } /// /// To be documented. /// public static void Rect(ref ImRect pOut, ImGuiWindowPtr self) { fixed (ImRect* ppOut = &pOut) { RectNative((ImRect*)ppOut, self); } } /// /// To be documented. /// public static ImRect Rect(ref ImGuiWindow self) { fixed (ImGuiWindow* pself = &self) { ImRect ret; RectNative(&ret, (ImGuiWindow*)pself); return ret; } } /// /// To be documented. /// public static void Rect(ImRectPtr pOut, ref ImGuiWindow self) { fixed (ImGuiWindow* pself = &self) { RectNative(pOut, (ImGuiWindow*)pself); } } /// /// To be documented. /// public static void Rect(ref ImRect pOut, ref ImGuiWindow self) { fixed (ImRect* ppOut = &pOut) { fixed (ImGuiWindow* pself = &self) { RectNative((ImRect*)ppOut, (ImGuiWindow*)pself); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float CalcFontSizeNative(ImGuiWindow* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[896])(self); #else return (float)((delegate* unmanaged[Cdecl])funcTable[896])((nint)self); #endif } /// /// To be documented. /// public static float CalcFontSize(ImGuiWindowPtr self) { float ret = CalcFontSizeNative(self); return ret; } /// /// To be documented. /// public static float CalcFontSize(ref ImGuiWindow self) { fixed (ImGuiWindow* pself = &self) { float ret = CalcFontSizeNative((ImGuiWindow*)pself); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float TitleBarHeightNative(ImGuiWindow* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[897])(self); #else return (float)((delegate* unmanaged[Cdecl])funcTable[897])((nint)self); #endif } /// /// To be documented. /// public static float TitleBarHeight(ImGuiWindowPtr self) { float ret = TitleBarHeightNative(self); return ret; } /// /// To be documented. /// public static float TitleBarHeight(ref ImGuiWindow self) { fixed (ImGuiWindow* pself = &self) { float ret = TitleBarHeightNative((ImGuiWindow*)pself); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void TitleBarRectNative(ImRect* pOut, ImGuiWindow* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[898])(pOut, self); #else ((delegate* unmanaged[Cdecl])funcTable[898])((nint)pOut, (nint)self); #endif } /// /// To be documented. /// public static ImRect TitleBarRect(ImGuiWindowPtr self) { ImRect ret; TitleBarRectNative(&ret, self); return ret; } /// /// To be documented. /// public static void TitleBarRect(ImRectPtr pOut, ImGuiWindowPtr self) { TitleBarRectNative(pOut, self); } /// /// To be documented. /// public static void TitleBarRect(ref ImRect pOut, ImGuiWindowPtr self) { fixed (ImRect* ppOut = &pOut) { TitleBarRectNative((ImRect*)ppOut, self); } } /// /// To be documented. /// public static ImRect TitleBarRect(ref ImGuiWindow self) { fixed (ImGuiWindow* pself = &self) { ImRect ret; TitleBarRectNative(&ret, (ImGuiWindow*)pself); return ret; } } /// /// To be documented. /// public static void TitleBarRect(ImRectPtr pOut, ref ImGuiWindow self) { fixed (ImGuiWindow* pself = &self) { TitleBarRectNative(pOut, (ImGuiWindow*)pself); } } /// /// To be documented. /// public static void TitleBarRect(ref ImRect pOut, ref ImGuiWindow self) { fixed (ImRect* ppOut = &pOut) { fixed (ImGuiWindow* pself = &self) { TitleBarRectNative((ImRect*)ppOut, (ImGuiWindow*)pself); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float MenuBarHeightNative(ImGuiWindow* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[899])(self); #else return (float)((delegate* unmanaged[Cdecl])funcTable[899])((nint)self); #endif } /// /// To be documented. /// public static float MenuBarHeight(ImGuiWindowPtr self) { float ret = MenuBarHeightNative(self); return ret; } /// /// To be documented. /// public static float MenuBarHeight(ref ImGuiWindow self) { fixed (ImGuiWindow* pself = &self) { float ret = MenuBarHeightNative((ImGuiWindow*)pself); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void MenuBarRectNative(ImRect* pOut, ImGuiWindow* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[900])(pOut, self); #else ((delegate* unmanaged[Cdecl])funcTable[900])((nint)pOut, (nint)self); #endif } /// /// To be documented. /// public static ImRect MenuBarRect(ImGuiWindowPtr self) { ImRect ret; MenuBarRectNative(&ret, self); return ret; } /// /// To be documented. /// public static void MenuBarRect(ImRectPtr pOut, ImGuiWindowPtr self) { MenuBarRectNative(pOut, self); } /// /// To be documented. /// public static void MenuBarRect(ref ImRect pOut, ImGuiWindowPtr self) { fixed (ImRect* ppOut = &pOut) { MenuBarRectNative((ImRect*)ppOut, self); } } /// /// To be documented. /// public static ImRect MenuBarRect(ref ImGuiWindow self) { fixed (ImGuiWindow* pself = &self) { ImRect ret; MenuBarRectNative(&ret, (ImGuiWindow*)pself); return ret; } } /// /// To be documented. /// public static void MenuBarRect(ImRectPtr pOut, ref ImGuiWindow self) { fixed (ImGuiWindow* pself = &self) { MenuBarRectNative(pOut, (ImGuiWindow*)pself); } } /// /// To be documented. /// public static void MenuBarRect(ref ImRect pOut, ref ImGuiWindow self) { fixed (ImRect* ppOut = &pOut) { fixed (ImGuiWindow* pself = &self) { MenuBarRectNative((ImRect*)ppOut, (ImGuiWindow*)pself); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiTabItem* ImGuiTabItemNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[901])(); #else return (ImGuiTabItem*)((delegate* unmanaged[Cdecl])funcTable[901])(); #endif } /// /// To be documented. /// public static ImGuiTabItemPtr ImGuiTabItem() { ImGuiTabItemPtr ret = ImGuiTabItemNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiTabBar* ImGuiTabBarNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[902])(); #else return (ImGuiTabBar*)((delegate* unmanaged[Cdecl])funcTable[902])(); #endif } /// /// To be documented. /// public static ImGuiTabBarPtr ImGuiTabBar() { ImGuiTabBarPtr ret = ImGuiTabBarNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int GetTabOrderNative(ImGuiTabBar* self, ImGuiTabItem* tab) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[903])(self, tab); #else return (int)((delegate* unmanaged[Cdecl])funcTable[903])((nint)self, (nint)tab); #endif } /// /// To be documented. /// public static int GetTabOrder(ImGuiTabBarPtr self, ImGuiTabItemPtr tab) { int ret = GetTabOrderNative(self, tab); return ret; } /// /// To be documented. /// public static int GetTabOrder(ref ImGuiTabBar self, ImGuiTabItemPtr tab) { fixed (ImGuiTabBar* pself = &self) { int ret = GetTabOrderNative((ImGuiTabBar*)pself, tab); return ret; } } /// /// To be documented. /// public static int GetTabOrder(ImGuiTabBarPtr self, ref ImGuiTabItem tab) { fixed (ImGuiTabItem* ptab = &tab) { int ret = GetTabOrderNative(self, (ImGuiTabItem*)ptab); return ret; } } /// /// To be documented. /// public static int GetTabOrder(ref ImGuiTabBar self, ref ImGuiTabItem tab) { fixed (ImGuiTabBar* pself = &self) { fixed (ImGuiTabItem* ptab = &tab) { int ret = GetTabOrderNative((ImGuiTabBar*)pself, (ImGuiTabItem*)ptab); return ret; } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte* GetTabNameNative(ImGuiTabBar* self, ImGuiTabItem* tab) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[904])(self, tab); #else return (byte*)((delegate* unmanaged[Cdecl])funcTable[904])((nint)self, (nint)tab); #endif } /// /// To be documented. /// public static byte* GetTabName(ImGuiTabBarPtr self, ImGuiTabItemPtr tab) { byte* ret = GetTabNameNative(self, tab); return ret; } /// /// To be documented. /// public static string GetTabNameS(ImGuiTabBarPtr self, ImGuiTabItemPtr tab) { string ret = Utils.DecodeStringUTF8(GetTabNameNative(self, tab)); return ret; } /// /// To be documented. /// public static byte* GetTabName(ref ImGuiTabBar self, ImGuiTabItemPtr tab) { fixed (ImGuiTabBar* pself = &self) { byte* ret = GetTabNameNative((ImGuiTabBar*)pself, tab); return ret; } } /// /// To be documented. /// public static string GetTabNameS(ref ImGuiTabBar self, ImGuiTabItemPtr tab) { fixed (ImGuiTabBar* pself = &self) { string ret = Utils.DecodeStringUTF8(GetTabNameNative((ImGuiTabBar*)pself, tab)); return ret; } } /// /// To be documented. /// public static byte* GetTabName(ImGuiTabBarPtr self, ref ImGuiTabItem tab) { fixed (ImGuiTabItem* ptab = &tab) { byte* ret = GetTabNameNative(self, (ImGuiTabItem*)ptab); return ret; } } /// /// To be documented. /// public static string GetTabNameS(ImGuiTabBarPtr self, ref ImGuiTabItem tab) { fixed (ImGuiTabItem* ptab = &tab) { string ret = Utils.DecodeStringUTF8(GetTabNameNative(self, (ImGuiTabItem*)ptab)); return ret; } } /// /// To be documented. /// public static byte* GetTabName(ref ImGuiTabBar self, ref ImGuiTabItem tab) { fixed (ImGuiTabBar* pself = &self) { fixed (ImGuiTabItem* ptab = &tab) { byte* ret = GetTabNameNative((ImGuiTabBar*)pself, (ImGuiTabItem*)ptab); return ret; } } } /// /// To be documented. /// public static string GetTabNameS(ref ImGuiTabBar self, ref ImGuiTabItem tab) { fixed (ImGuiTabBar* pself = &self) { fixed (ImGuiTabItem* ptab = &tab) { string ret = Utils.DecodeStringUTF8(GetTabNameNative((ImGuiTabBar*)pself, (ImGuiTabItem*)ptab)); return ret; } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiTableColumn* ImGuiTableColumnNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[905])(); #else return (ImGuiTableColumn*)((delegate* unmanaged[Cdecl])funcTable[905])(); #endif } /// /// To be documented. /// public static ImGuiTableColumnPtr ImGuiTableColumn() { ImGuiTableColumnPtr ret = ImGuiTableColumnNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiTableInstanceData* ImGuiTableInstanceDataNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[906])(); #else return (ImGuiTableInstanceData*)((delegate* unmanaged[Cdecl])funcTable[906])(); #endif } /// /// To be documented. /// public static ImGuiTableInstanceDataPtr ImGuiTableInstanceData() { ImGuiTableInstanceDataPtr ret = ImGuiTableInstanceDataNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiTable* ImGuiTableNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[907])(); #else return (ImGuiTable*)((delegate* unmanaged[Cdecl])funcTable[907])(); #endif } /// /// To be documented. /// public static ImGuiTablePtr ImGuiTable() { ImGuiTablePtr ret = ImGuiTableNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiTable* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[908])(self); #else ((delegate* unmanaged[Cdecl])funcTable[908])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiTablePtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiTable self) { fixed (ImGuiTable* pself = &self) { DestroyNative((ImGuiTable*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiTableTempData* ImGuiTableTempDataNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[909])(); #else return (ImGuiTableTempData*)((delegate* unmanaged[Cdecl])funcTable[909])(); #endif } /// /// To be documented. /// public static ImGuiTableTempDataPtr ImGuiTableTempData() { ImGuiTableTempDataPtr ret = ImGuiTableTempDataNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiTableColumnSettings* ImGuiTableColumnSettingsNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[910])(); #else return (ImGuiTableColumnSettings*)((delegate* unmanaged[Cdecl])funcTable[910])(); #endif } /// /// To be documented. /// public static ImGuiTableColumnSettingsPtr ImGuiTableColumnSettings() { ImGuiTableColumnSettingsPtr ret = ImGuiTableColumnSettingsNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiTableSettings* ImGuiTableSettingsNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[911])(); #else return (ImGuiTableSettings*)((delegate* unmanaged[Cdecl])funcTable[911])(); #endif } /// /// To be documented. /// public static ImGuiTableSettingsPtr ImGuiTableSettings() { ImGuiTableSettingsPtr ret = ImGuiTableSettingsNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiTableColumnSettings* GetColumnSettingsNative(ImGuiTableSettings* self) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[912])(self); #else return (ImGuiTableColumnSettings*)((delegate* unmanaged[Cdecl])funcTable[912])((nint)self); #endif } /// /// To be documented. /// public static ImGuiTableColumnSettingsPtr GetColumnSettings(ImGuiTableSettingsPtr self) { ImGuiTableColumnSettingsPtr ret = GetColumnSettingsNative(self); return ret; } /// /// To be documented. /// public static ImGuiTableColumnSettingsPtr GetColumnSettings(ref ImGuiTableSettings self) { fixed (ImGuiTableSettings* pself = &self) { ImGuiTableColumnSettingsPtr ret = GetColumnSettingsNative((ImGuiTableSettings*)pself); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiWindow* GetCurrentWindowReadNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[913])(); #else return (ImGuiWindow*)((delegate* unmanaged[Cdecl])funcTable[913])(); #endif } /// /// To be documented. /// public static ImGuiWindowPtr GetCurrentWindowRead() { ImGuiWindowPtr ret = GetCurrentWindowReadNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiWindow* GetCurrentWindowNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[914])(); #else return (ImGuiWindow*)((delegate* unmanaged[Cdecl])funcTable[914])(); #endif } /// /// To be documented. /// public static ImGuiWindowPtr GetCurrentWindow() { ImGuiWindowPtr ret = GetCurrentWindowNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiWindow* FindWindowByIDNative(uint id) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[915])(id); #else return (ImGuiWindow*)((delegate* unmanaged[Cdecl])funcTable[915])(id); #endif } /// /// To be documented. /// public static ImGuiWindowPtr FindWindowByID(uint id) { ImGuiWindowPtr ret = FindWindowByIDNative(id); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiWindow* FindWindowByNameNative(byte* name) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[916])(name); #else return (ImGuiWindow*)((delegate* unmanaged[Cdecl])funcTable[916])((nint)name); #endif } /// /// To be documented. /// public static ImGuiWindowPtr FindWindowByName(byte* name) { ImGuiWindowPtr ret = FindWindowByNameNative(name); return ret; } /// /// To be documented. /// public static ImGuiWindowPtr FindWindowByName(ref byte name) { fixed (byte* pname = &name) { ImGuiWindowPtr ret = FindWindowByNameNative((byte*)pname); return ret; } } /// /// To be documented. /// public static ImGuiWindowPtr FindWindowByName(ReadOnlySpan name) { fixed (byte* pname = name) { ImGuiWindowPtr ret = FindWindowByNameNative((byte*)pname); return ret; } } /// /// To be documented. /// public static ImGuiWindowPtr FindWindowByName(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; } ImGuiWindowPtr ret = FindWindowByNameNative(pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void UpdateWindowParentAndRootLinksNative(ImGuiWindow* window, ImGuiWindowFlags flags, ImGuiWindow* parentWindow) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[917])(window, flags, parentWindow); #else ((delegate* unmanaged[Cdecl])funcTable[917])((nint)window, flags, (nint)parentWindow); #endif } /// /// To be documented. /// public static void UpdateWindowParentAndRootLinks(ImGuiWindowPtr window, ImGuiWindowFlags flags, ImGuiWindowPtr parentWindow) { UpdateWindowParentAndRootLinksNative(window, flags, parentWindow); } /// /// To be documented. /// public static void UpdateWindowParentAndRootLinks(ref ImGuiWindow window, ImGuiWindowFlags flags, ImGuiWindowPtr parentWindow) { fixed (ImGuiWindow* pwindow = &window) { UpdateWindowParentAndRootLinksNative((ImGuiWindow*)pwindow, flags, parentWindow); } } /// /// To be documented. /// public static void UpdateWindowParentAndRootLinks(ImGuiWindowPtr window, ImGuiWindowFlags flags, ref ImGuiWindow parentWindow) { fixed (ImGuiWindow* pparentWindow = &parentWindow) { UpdateWindowParentAndRootLinksNative(window, flags, (ImGuiWindow*)pparentWindow); } } /// /// To be documented. /// public static void UpdateWindowParentAndRootLinks(ref ImGuiWindow window, ImGuiWindowFlags flags, ref ImGuiWindow parentWindow) { fixed (ImGuiWindow* pwindow = &window) { fixed (ImGuiWindow* pparentWindow = &parentWindow) { UpdateWindowParentAndRootLinksNative((ImGuiWindow*)pwindow, flags, (ImGuiWindow*)pparentWindow); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CalcWindowNextAutoFitSizeNative(Vector2* pOut, ImGuiWindow* window) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[918])(pOut, window); #else ((delegate* unmanaged[Cdecl])funcTable[918])((nint)pOut, (nint)window); #endif } /// /// To be documented. /// public static Vector2 CalcWindowNextAutoFitSize(ImGuiWindowPtr window) { Vector2 ret; CalcWindowNextAutoFitSizeNative(&ret, window); return ret; } /// /// To be documented. /// public static void CalcWindowNextAutoFitSize(Vector2* pOut, ImGuiWindowPtr window) { CalcWindowNextAutoFitSizeNative(pOut, window); } /// /// To be documented. /// public static void CalcWindowNextAutoFitSize(ref Vector2 pOut, ImGuiWindowPtr window) { fixed (Vector2* ppOut = &pOut) { CalcWindowNextAutoFitSizeNative((Vector2*)ppOut, window); } } /// /// To be documented. /// public static Vector2 CalcWindowNextAutoFitSize(ref ImGuiWindow window) { fixed (ImGuiWindow* pwindow = &window) { Vector2 ret; CalcWindowNextAutoFitSizeNative(&ret, (ImGuiWindow*)pwindow); return ret; } } /// /// To be documented. /// public static void CalcWindowNextAutoFitSize(Vector2* pOut, ref ImGuiWindow window) { fixed (ImGuiWindow* pwindow = &window) { CalcWindowNextAutoFitSizeNative(pOut, (ImGuiWindow*)pwindow); } } /// /// To be documented. /// public static void CalcWindowNextAutoFitSize(ref Vector2 pOut, ref ImGuiWindow window) { fixed (Vector2* ppOut = &pOut) { fixed (ImGuiWindow* pwindow = &window) { CalcWindowNextAutoFitSizeNative((Vector2*)ppOut, (ImGuiWindow*)pwindow); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte IsWindowChildOfNative(ImGuiWindow* window, ImGuiWindow* potentialParent, byte popupHierarchy, byte dockHierarchy) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[919])(window, potentialParent, popupHierarchy, dockHierarchy); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[919])((nint)window, (nint)potentialParent, popupHierarchy, dockHierarchy); #endif } /// /// To be documented. /// public static bool IsWindowChildOf(ImGuiWindowPtr window, ImGuiWindowPtr potentialParent, bool popupHierarchy, bool dockHierarchy) { byte ret = IsWindowChildOfNative(window, potentialParent, popupHierarchy ? (byte)1 : (byte)0, dockHierarchy ? (byte)1 : (byte)0); return ret != 0; } /// /// To be documented. /// public static bool IsWindowChildOf(ref ImGuiWindow window, ImGuiWindowPtr potentialParent, bool popupHierarchy, bool dockHierarchy) { fixed (ImGuiWindow* pwindow = &window) { byte ret = IsWindowChildOfNative((ImGuiWindow*)pwindow, potentialParent, popupHierarchy ? (byte)1 : (byte)0, dockHierarchy ? (byte)1 : (byte)0); return ret != 0; } } /// /// To be documented. /// public static bool IsWindowChildOf(ImGuiWindowPtr window, ref ImGuiWindow potentialParent, bool popupHierarchy, bool dockHierarchy) { fixed (ImGuiWindow* ppotentialParent = &potentialParent) { byte ret = IsWindowChildOfNative(window, (ImGuiWindow*)ppotentialParent, popupHierarchy ? (byte)1 : (byte)0, dockHierarchy ? (byte)1 : (byte)0); return ret != 0; } } /// /// To be documented. /// public static bool IsWindowChildOf(ref ImGuiWindow window, ref ImGuiWindow potentialParent, bool popupHierarchy, bool dockHierarchy) { fixed (ImGuiWindow* pwindow = &window) { fixed (ImGuiWindow* ppotentialParent = &potentialParent) { byte ret = IsWindowChildOfNative((ImGuiWindow*)pwindow, (ImGuiWindow*)ppotentialParent, popupHierarchy ? (byte)1 : (byte)0, dockHierarchy ? (byte)1 : (byte)0); return ret != 0; } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte IsWindowWithinBeginStackOfNative(ImGuiWindow* window, ImGuiWindow* potentialParent) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[920])(window, potentialParent); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[920])((nint)window, (nint)potentialParent); #endif } /// /// To be documented. /// public static bool IsWindowWithinBeginStackOf(ImGuiWindowPtr window, ImGuiWindowPtr potentialParent) { byte ret = IsWindowWithinBeginStackOfNative(window, potentialParent); return ret != 0; } /// /// To be documented. /// public static bool IsWindowWithinBeginStackOf(ref ImGuiWindow window, ImGuiWindowPtr potentialParent) { fixed (ImGuiWindow* pwindow = &window) { byte ret = IsWindowWithinBeginStackOfNative((ImGuiWindow*)pwindow, potentialParent); return ret != 0; } } /// /// To be documented. /// public static bool IsWindowWithinBeginStackOf(ImGuiWindowPtr window, ref ImGuiWindow potentialParent) { fixed (ImGuiWindow* ppotentialParent = &potentialParent) { byte ret = IsWindowWithinBeginStackOfNative(window, (ImGuiWindow*)ppotentialParent); return ret != 0; } } /// /// To be documented. /// public static bool IsWindowWithinBeginStackOf(ref ImGuiWindow window, ref ImGuiWindow potentialParent) { fixed (ImGuiWindow* pwindow = &window) { fixed (ImGuiWindow* ppotentialParent = &potentialParent) { byte ret = IsWindowWithinBeginStackOfNative((ImGuiWindow*)pwindow, (ImGuiWindow*)ppotentialParent); return ret != 0; } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte IsWindowAboveNative(ImGuiWindow* potentialAbove, ImGuiWindow* potentialBelow) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[921])(potentialAbove, potentialBelow); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[921])((nint)potentialAbove, (nint)potentialBelow); #endif } /// /// To be documented. /// public static bool IsWindowAbove(ImGuiWindowPtr potentialAbove, ImGuiWindowPtr potentialBelow) { byte ret = IsWindowAboveNative(potentialAbove, potentialBelow); return ret != 0; } /// /// To be documented. /// public static bool IsWindowAbove(ref ImGuiWindow potentialAbove, ImGuiWindowPtr potentialBelow) { fixed (ImGuiWindow* ppotentialAbove = &potentialAbove) { byte ret = IsWindowAboveNative((ImGuiWindow*)ppotentialAbove, potentialBelow); return ret != 0; } } /// /// To be documented. /// public static bool IsWindowAbove(ImGuiWindowPtr potentialAbove, ref ImGuiWindow potentialBelow) { fixed (ImGuiWindow* ppotentialBelow = &potentialBelow) { byte ret = IsWindowAboveNative(potentialAbove, (ImGuiWindow*)ppotentialBelow); return ret != 0; } } /// /// To be documented. /// public static bool IsWindowAbove(ref ImGuiWindow potentialAbove, ref ImGuiWindow potentialBelow) { fixed (ImGuiWindow* ppotentialAbove = &potentialAbove) { fixed (ImGuiWindow* ppotentialBelow = &potentialBelow) { byte ret = IsWindowAboveNative((ImGuiWindow*)ppotentialAbove, (ImGuiWindow*)ppotentialBelow); return ret != 0; } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte IsWindowNavFocusableNative(ImGuiWindow* window) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[922])(window); #else return (byte)((delegate* unmanaged[Cdecl])funcTable[922])((nint)window); #endif } /// /// To be documented. /// public static bool IsWindowNavFocusable(ImGuiWindowPtr window) { byte ret = IsWindowNavFocusableNative(window); return ret != 0; } /// /// To be documented. /// public static bool IsWindowNavFocusable(ref ImGuiWindow window) { fixed (ImGuiWindow* pwindow = &window) { byte ret = IsWindowNavFocusableNative((ImGuiWindow*)pwindow); return ret != 0; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void SetWindowPosNative(ImGuiWindow* window, Vector2 pos, ImGuiCond cond) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[923])(window, pos, cond); #else ((delegate* unmanaged[Cdecl])funcTable[923])((nint)window, pos, cond); #endif } /// /// To be documented. /// public static void SetWindowPos(ImGuiWindowPtr window, Vector2 pos, ImGuiCond cond) { SetWindowPosNative(window, pos, cond); } /// /// To be documented. /// public static void SetWindowPos(ImGuiWindowPtr window, Vector2 pos) { SetWindowPosNative(window, pos, (ImGuiCond)(0)); } /// /// To be documented. /// public static void SetWindowPos(ref ImGuiWindow window, Vector2 pos, ImGuiCond cond) { fixed (ImGuiWindow* pwindow = &window) { SetWindowPosNative((ImGuiWindow*)pwindow, pos, cond); } } /// /// To be documented. /// public static void SetWindowPos(ref ImGuiWindow window, Vector2 pos) { fixed (ImGuiWindow* pwindow = &window) { SetWindowPosNative((ImGuiWindow*)pwindow, pos, (ImGuiCond)(0)); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void SetWindowSizeNative(ImGuiWindow* window, Vector2 size, ImGuiCond cond) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[924])(window, size, cond); #else ((delegate* unmanaged[Cdecl])funcTable[924])((nint)window, size, cond); #endif } /// /// To be documented. /// public static void SetWindowSize(ImGuiWindowPtr window, Vector2 size, ImGuiCond cond) { SetWindowSizeNative(window, size, cond); } /// /// To be documented. /// public static void SetWindowSize(ImGuiWindowPtr window, Vector2 size) { SetWindowSizeNative(window, size, (ImGuiCond)(0)); } /// /// To be documented. /// public static void SetWindowSize(ref ImGuiWindow window, Vector2 size, ImGuiCond cond) { fixed (ImGuiWindow* pwindow = &window) { SetWindowSizeNative((ImGuiWindow*)pwindow, size, cond); } } /// /// To be documented. /// public static void SetWindowSize(ref ImGuiWindow window, Vector2 size) { fixed (ImGuiWindow* pwindow = &window) { SetWindowSizeNative((ImGuiWindow*)pwindow, size, (ImGuiCond)(0)); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void SetWindowCollapsedNative(ImGuiWindow* window, byte collapsed, ImGuiCond cond) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[925])(window, collapsed, cond); #else ((delegate* unmanaged[Cdecl])funcTable[925])((nint)window, collapsed, cond); #endif } /// /// To be documented. /// public static void SetWindowCollapsed(ImGuiWindowPtr window, bool collapsed, ImGuiCond cond) { SetWindowCollapsedNative(window, collapsed ? (byte)1 : (byte)0, cond); } /// /// To be documented. /// public static void SetWindowCollapsed(ImGuiWindowPtr window, bool collapsed) { SetWindowCollapsedNative(window, collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0)); } /// /// To be documented. /// public static void SetWindowCollapsed(ref ImGuiWindow window, bool collapsed, ImGuiCond cond) { fixed (ImGuiWindow* pwindow = &window) { SetWindowCollapsedNative((ImGuiWindow*)pwindow, collapsed ? (byte)1 : (byte)0, cond); } } /// /// To be documented. /// public static void SetWindowCollapsed(ref ImGuiWindow window, bool collapsed) { fixed (ImGuiWindow* pwindow = &window) { SetWindowCollapsedNative((ImGuiWindow*)pwindow, collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0)); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void SetWindowHitTestHoleNative(ImGuiWindow* window, Vector2 pos, Vector2 size) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[926])(window, pos, size); #else ((delegate* unmanaged[Cdecl])funcTable[926])((nint)window, pos, size); #endif } /// /// To be documented. /// public static void SetWindowHitTestHole(ImGuiWindowPtr window, Vector2 pos, Vector2 size) { SetWindowHitTestHoleNative(window, pos, size); } /// /// To be documented. /// public static void SetWindowHitTestHole(ref ImGuiWindow window, Vector2 pos, Vector2 size) { fixed (ImGuiWindow* pwindow = &window) { SetWindowHitTestHoleNative((ImGuiWindow*)pwindow, pos, size); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void WindowRectAbsToRelNative(ImRect* pOut, ImGuiWindow* window, ImRect r) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[927])(pOut, window, r); #else ((delegate* unmanaged[Cdecl])funcTable[927])((nint)pOut, (nint)window, r); #endif } /// /// To be documented. /// public static ImRect WindowRectAbsToRel(ImGuiWindowPtr window, ImRect r) { ImRect ret; WindowRectAbsToRelNative(&ret, window, r); return ret; } /// /// To be documented. /// public static void WindowRectAbsToRel(ImRectPtr pOut, ImGuiWindowPtr window, ImRect r) { WindowRectAbsToRelNative(pOut, window, r); } /// /// To be documented. /// public static void WindowRectAbsToRel(ref ImRect pOut, ImGuiWindowPtr window, ImRect r) { fixed (ImRect* ppOut = &pOut) { WindowRectAbsToRelNative((ImRect*)ppOut, window, r); } } /// /// To be documented. /// public static ImRect WindowRectAbsToRel(ref ImGuiWindow window, ImRect r) { fixed (ImGuiWindow* pwindow = &window) { ImRect ret; WindowRectAbsToRelNative(&ret, (ImGuiWindow*)pwindow, r); return ret; } } /// /// To be documented. /// public static void WindowRectAbsToRel(ImRectPtr pOut, ref ImGuiWindow window, ImRect r) { fixed (ImGuiWindow* pwindow = &window) { WindowRectAbsToRelNative(pOut, (ImGuiWindow*)pwindow, r); } } /// /// To be documented. /// public static void WindowRectAbsToRel(ref ImRect pOut, ref ImGuiWindow window, ImRect r) { fixed (ImRect* ppOut = &pOut) { fixed (ImGuiWindow* pwindow = &window) { WindowRectAbsToRelNative((ImRect*)ppOut, (ImGuiWindow*)pwindow, r); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void WindowRectRelToAbsNative(ImRect* pOut, ImGuiWindow* window, ImRect r) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[928])(pOut, window, r); #else ((delegate* unmanaged[Cdecl])funcTable[928])((nint)pOut, (nint)window, r); #endif } /// /// To be documented. /// public static ImRect WindowRectRelToAbs(ImGuiWindowPtr window, ImRect r) { ImRect ret; WindowRectRelToAbsNative(&ret, window, r); return ret; } /// /// To be documented. /// public static void WindowRectRelToAbs(ImRectPtr pOut, ImGuiWindowPtr window, ImRect r) { WindowRectRelToAbsNative(pOut, window, r); } /// /// To be documented. /// public static void WindowRectRelToAbs(ref ImRect pOut, ImGuiWindowPtr window, ImRect r) { fixed (ImRect* ppOut = &pOut) { WindowRectRelToAbsNative((ImRect*)ppOut, window, r); } } /// /// To be documented. /// public static ImRect WindowRectRelToAbs(ref ImGuiWindow window, ImRect r) { fixed (ImGuiWindow* pwindow = &window) { ImRect ret; WindowRectRelToAbsNative(&ret, (ImGuiWindow*)pwindow, r); return ret; } } /// /// To be documented. /// public static void WindowRectRelToAbs(ImRectPtr pOut, ref ImGuiWindow window, ImRect r) { fixed (ImGuiWindow* pwindow = &window) { WindowRectRelToAbsNative(pOut, (ImGuiWindow*)pwindow, r); } } /// /// To be documented. /// public static void WindowRectRelToAbs(ref ImRect pOut, ref ImGuiWindow window, ImRect r) { fixed (ImRect* ppOut = &pOut) { fixed (ImGuiWindow* pwindow = &window) { WindowRectRelToAbsNative((ImRect*)ppOut, (ImGuiWindow*)pwindow, r); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void FocusWindowNative(ImGuiWindow* window) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[929])(window); #else ((delegate* unmanaged[Cdecl])funcTable[929])((nint)window); #endif } /// /// To be documented. /// public static void FocusWindow(ImGuiWindowPtr window) { FocusWindowNative(window); } /// /// To be documented. /// public static void FocusWindow(ref ImGuiWindow window) { fixed (ImGuiWindow* pwindow = &window) { FocusWindowNative((ImGuiWindow*)pwindow); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void FocusTopMostWindowUnderOneNative(ImGuiWindow* underThisWindow, ImGuiWindow* ignoreWindow) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[930])(underThisWindow, ignoreWindow); #else ((delegate* unmanaged[Cdecl])funcTable[930])((nint)underThisWindow, (nint)ignoreWindow); #endif } /// /// To be documented. /// public static void FocusTopMostWindowUnderOne(ImGuiWindowPtr underThisWindow, ImGuiWindowPtr ignoreWindow) { FocusTopMostWindowUnderOneNative(underThisWindow, ignoreWindow); } /// /// To be documented. /// public static void FocusTopMostWindowUnderOne(ref ImGuiWindow underThisWindow, ImGuiWindowPtr ignoreWindow) { fixed (ImGuiWindow* punderThisWindow = &underThisWindow) { FocusTopMostWindowUnderOneNative((ImGuiWindow*)punderThisWindow, ignoreWindow); } } /// /// To be documented. /// public static void FocusTopMostWindowUnderOne(ImGuiWindowPtr underThisWindow, ref ImGuiWindow ignoreWindow) { fixed (ImGuiWindow* pignoreWindow = &ignoreWindow) { FocusTopMostWindowUnderOneNative(underThisWindow, (ImGuiWindow*)pignoreWindow); } } /// /// To be documented. /// public static void FocusTopMostWindowUnderOne(ref ImGuiWindow underThisWindow, ref ImGuiWindow ignoreWindow) { fixed (ImGuiWindow* punderThisWindow = &underThisWindow) { fixed (ImGuiWindow* pignoreWindow = &ignoreWindow) { FocusTopMostWindowUnderOneNative((ImGuiWindow*)punderThisWindow, (ImGuiWindow*)pignoreWindow); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void BringWindowToFocusFrontNative(ImGuiWindow* window) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[931])(window); #else ((delegate* unmanaged[Cdecl])funcTable[931])((nint)window); #endif } /// /// To be documented. /// public static void BringWindowToFocusFront(ImGuiWindowPtr window) { BringWindowToFocusFrontNative(window); } /// /// To be documented. /// public static void BringWindowToFocusFront(ref ImGuiWindow window) { fixed (ImGuiWindow* pwindow = &window) { BringWindowToFocusFrontNative((ImGuiWindow*)pwindow); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void BringWindowToDisplayFrontNative(ImGuiWindow* window) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[932])(window); #else ((delegate* unmanaged[Cdecl])funcTable[932])((nint)window); #endif } /// /// To be documented. /// public static void BringWindowToDisplayFront(ImGuiWindowPtr window) { BringWindowToDisplayFrontNative(window); } /// /// To be documented. /// public static void BringWindowToDisplayFront(ref ImGuiWindow window) { fixed (ImGuiWindow* pwindow = &window) { BringWindowToDisplayFrontNative((ImGuiWindow*)pwindow); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void BringWindowToDisplayBackNative(ImGuiWindow* window) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[933])(window); #else ((delegate* unmanaged[Cdecl])funcTable[933])((nint)window); #endif } /// /// To be documented. /// public static void BringWindowToDisplayBack(ImGuiWindowPtr window) { BringWindowToDisplayBackNative(window); } /// /// To be documented. /// public static void BringWindowToDisplayBack(ref ImGuiWindow window) { fixed (ImGuiWindow* pwindow = &window) { BringWindowToDisplayBackNative((ImGuiWindow*)pwindow); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void BringWindowToDisplayBehindNative(ImGuiWindow* window, ImGuiWindow* aboveWindow) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[934])(window, aboveWindow); #else ((delegate* unmanaged[Cdecl])funcTable[934])((nint)window, (nint)aboveWindow); #endif } /// /// To be documented. /// public static void BringWindowToDisplayBehind(ImGuiWindowPtr window, ImGuiWindowPtr aboveWindow) { BringWindowToDisplayBehindNative(window, aboveWindow); } /// /// To be documented. /// public static void BringWindowToDisplayBehind(ref ImGuiWindow window, ImGuiWindowPtr aboveWindow) { fixed (ImGuiWindow* pwindow = &window) { BringWindowToDisplayBehindNative((ImGuiWindow*)pwindow, aboveWindow); } } /// /// To be documented. /// public static void BringWindowToDisplayBehind(ImGuiWindowPtr window, ref ImGuiWindow aboveWindow) { fixed (ImGuiWindow* paboveWindow = &aboveWindow) { BringWindowToDisplayBehindNative(window, (ImGuiWindow*)paboveWindow); } } /// /// To be documented. /// public static void BringWindowToDisplayBehind(ref ImGuiWindow window, ref ImGuiWindow aboveWindow) { fixed (ImGuiWindow* pwindow = &window) { fixed (ImGuiWindow* paboveWindow = &aboveWindow) { BringWindowToDisplayBehindNative((ImGuiWindow*)pwindow, (ImGuiWindow*)paboveWindow); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int FindWindowDisplayIndexNative(ImGuiWindow* window) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[935])(window); #else return (int)((delegate* unmanaged[Cdecl])funcTable[935])((nint)window); #endif } /// /// To be documented. /// public static int FindWindowDisplayIndex(ImGuiWindowPtr window) { int ret = FindWindowDisplayIndexNative(window); return ret; } /// /// To be documented. /// public static int FindWindowDisplayIndex(ref ImGuiWindow window) { fixed (ImGuiWindow* pwindow = &window) { int ret = FindWindowDisplayIndexNative((ImGuiWindow*)pwindow); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiWindow* FindBottomMostVisibleWindowWithinBeginStackNative(ImGuiWindow* window) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[936])(window); #else return (ImGuiWindow*)((delegate* unmanaged[Cdecl])funcTable[936])((nint)window); #endif } /// /// To be documented. /// public static ImGuiWindowPtr FindBottomMostVisibleWindowWithinBeginStack(ImGuiWindowPtr window) { ImGuiWindowPtr ret = FindBottomMostVisibleWindowWithinBeginStackNative(window); return ret; } /// /// To be documented. /// public static ImGuiWindowPtr FindBottomMostVisibleWindowWithinBeginStack(ref ImGuiWindow window) { fixed (ImGuiWindow* pwindow = &window) { ImGuiWindowPtr ret = FindBottomMostVisibleWindowWithinBeginStackNative((ImGuiWindow*)pwindow); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void SetCurrentFontNative(ImFont* font) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[937])(font); #else ((delegate* unmanaged[Cdecl])funcTable[937])((nint)font); #endif } /// /// To be documented. /// public static void SetCurrentFont(ImFontPtr font) { SetCurrentFontNative(font); } /// /// To be documented. /// public static void SetCurrentFont(ref ImFont font) { fixed (ImFont* pfont = &font) { SetCurrentFontNative((ImFont*)pfont); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImFont* GetDefaultFontNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[938])(); #else return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[938])(); #endif } /// /// To be documented. /// public static ImFontPtr GetDefaultFont() { ImFontPtr ret = GetDefaultFontNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImDrawList* GetForegroundDrawListNative(ImGuiWindow* window) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[939])(window); #else return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[939])((nint)window); #endif } /// /// To be documented. /// public static ImDrawListPtr GetForegroundDrawList(ImGuiWindowPtr window) { ImDrawListPtr ret = GetForegroundDrawListNative(window); return ret; } /// /// To be documented. /// public static ImDrawListPtr GetForegroundDrawList(ref ImGuiWindow window) { fixed (ImGuiWindow* pwindow = &window) { ImDrawListPtr ret = GetForegroundDrawListNative((ImGuiWindow*)pwindow); return ret; } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void InitializeNative() { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[940])(); #else ((delegate* unmanaged[Cdecl])funcTable[940])(); #endif } /// /// To be documented. /// public static void Initialize() { InitializeNative(); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ShutdownNative() { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[941])(); #else ((delegate* unmanaged[Cdecl])funcTable[941])(); #endif } /// /// To be documented. /// public static void Shutdown() { ShutdownNative(); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void UpdateInputEventsNative(byte trickleFastInputs) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[942])(trickleFastInputs); #else ((delegate* unmanaged[Cdecl])funcTable[942])(trickleFastInputs); #endif } /// /// To be documented. /// public static void UpdateInputEvents(bool trickleFastInputs) { UpdateInputEventsNative(trickleFastInputs ? (byte)1 : (byte)0); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void UpdateHoveredWindowAndCaptureFlagsNative() { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[943])(); #else ((delegate* unmanaged[Cdecl])funcTable[943])(); #endif } /// /// To be documented. /// public static void UpdateHoveredWindowAndCaptureFlags() { UpdateHoveredWindowAndCaptureFlagsNative(); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void StartMouseMovingWindowNative(ImGuiWindow* window) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[944])(window); #else ((delegate* unmanaged[Cdecl])funcTable[944])((nint)window); #endif } /// /// To be documented. /// public static void StartMouseMovingWindow(ImGuiWindowPtr window) { StartMouseMovingWindowNative(window); } /// /// To be documented. /// public static void StartMouseMovingWindow(ref ImGuiWindow window) { fixed (ImGuiWindow* pwindow = &window) { StartMouseMovingWindowNative((ImGuiWindow*)pwindow); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void StartMouseMovingWindowOrNodeNative(ImGuiWindow* window, ImGuiDockNode* node, byte undockFloatingNode) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[945])(window, node, undockFloatingNode); #else ((delegate* unmanaged[Cdecl])funcTable[945])((nint)window, (nint)node, undockFloatingNode); #endif } /// /// To be documented. /// public static void StartMouseMovingWindowOrNode(ImGuiWindowPtr window, ImGuiDockNodePtr node, bool undockFloatingNode) { StartMouseMovingWindowOrNodeNative(window, node, undockFloatingNode ? (byte)1 : (byte)0); } /// /// To be documented. /// public static void StartMouseMovingWindowOrNode(ref ImGuiWindow window, ImGuiDockNodePtr node, bool undockFloatingNode) { fixed (ImGuiWindow* pwindow = &window) { StartMouseMovingWindowOrNodeNative((ImGuiWindow*)pwindow, node, undockFloatingNode ? (byte)1 : (byte)0); } } /// /// To be documented. /// public static void StartMouseMovingWindowOrNode(ImGuiWindowPtr window, ref ImGuiDockNode node, bool undockFloatingNode) { fixed (ImGuiDockNode* pnode = &node) { StartMouseMovingWindowOrNodeNative(window, (ImGuiDockNode*)pnode, undockFloatingNode ? (byte)1 : (byte)0); } } /// /// To be documented. /// public static void StartMouseMovingWindowOrNode(ref ImGuiWindow window, ref ImGuiDockNode node, bool undockFloatingNode) { fixed (ImGuiWindow* pwindow = &window) { fixed (ImGuiDockNode* pnode = &node) { StartMouseMovingWindowOrNodeNative((ImGuiWindow*)pwindow, (ImGuiDockNode*)pnode, undockFloatingNode ? (byte)1 : (byte)0); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void UpdateMouseMovingWindowNewFrameNative() { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[946])(); #else ((delegate* unmanaged[Cdecl])funcTable[946])(); #endif } /// /// To be documented. /// public static void UpdateMouseMovingWindowNewFrame() { UpdateMouseMovingWindowNewFrameNative(); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void UpdateMouseMovingWindowEndFrameNative() { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[947])(); #else ((delegate* unmanaged[Cdecl])funcTable[947])(); #endif } /// /// To be documented. /// public static void UpdateMouseMovingWindowEndFrame() { UpdateMouseMovingWindowEndFrameNative(); } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static uint AddContextHookNative(ImGuiContext* context, ImGuiContextHook* hook) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[948])(context, hook); #else return (uint)((delegate* unmanaged[Cdecl])funcTable[948])((nint)context, (nint)hook); #endif } /// /// To be documented. /// public static uint AddContextHook(ImGuiContextPtr context, ImGuiContextHookPtr hook) { uint ret = AddContextHookNative(context, hook); return ret; } /// /// To be documented. /// public static uint AddContextHook(ref ImGuiContext context, ImGuiContextHookPtr hook) { fixed (ImGuiContext* pcontext = &context) { uint ret = AddContextHookNative((ImGuiContext*)pcontext, hook); return ret; } } /// /// To be documented. /// public static uint AddContextHook(ImGuiContextPtr context, ref ImGuiContextHook hook) { fixed (ImGuiContextHook* phook = &hook) { uint ret = AddContextHookNative(context, (ImGuiContextHook*)phook); return ret; } } /// /// To be documented. /// public static uint AddContextHook(ref ImGuiContext context, ref ImGuiContextHook hook) { fixed (ImGuiContext* pcontext = &context) { fixed (ImGuiContextHook* phook = &hook) { uint ret = AddContextHookNative((ImGuiContext*)pcontext, (ImGuiContextHook*)phook); return ret; } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void RemoveContextHookNative(ImGuiContext* context, uint hookToRemove) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[949])(context, hookToRemove); #else ((delegate* unmanaged[Cdecl])funcTable[949])((nint)context, hookToRemove); #endif } /// /// To be documented. /// public static void RemoveContextHook(ImGuiContextPtr context, uint hookToRemove) { RemoveContextHookNative(context, hookToRemove); } /// /// To be documented. /// public static void RemoveContextHook(ref ImGuiContext context, uint hookToRemove) { fixed (ImGuiContext* pcontext = &context) { RemoveContextHookNative((ImGuiContext*)pcontext, hookToRemove); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void CallContextHooksNative(ImGuiContext* context, ImGuiContextHookType type) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[950])(context, type); #else ((delegate* unmanaged[Cdecl])funcTable[950])((nint)context, type); #endif } /// /// To be documented. /// public static void CallContextHooks(ImGuiContextPtr context, ImGuiContextHookType type) { CallContextHooksNative(context, type); } /// /// To be documented. /// public static void CallContextHooks(ref ImGuiContext context, ImGuiContextHookType type) { fixed (ImGuiContext* pcontext = &context) { CallContextHooksNative((ImGuiContext*)pcontext, type); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void TranslateWindowsInViewportNative(ImGuiViewportP* viewport, Vector2 oldPos, Vector2 newPos) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[951])(viewport, oldPos, newPos); #else ((delegate* unmanaged[Cdecl])funcTable[951])((nint)viewport, oldPos, newPos); #endif } /// /// To be documented. /// public static void TranslateWindowsInViewport(ImGuiViewportPPtr viewport, Vector2 oldPos, Vector2 newPos) { TranslateWindowsInViewportNative(viewport, oldPos, newPos); } /// /// To be documented. /// public static void TranslateWindowsInViewport(ref ImGuiViewportP viewport, Vector2 oldPos, Vector2 newPos) { fixed (ImGuiViewportP* pviewport = &viewport) { TranslateWindowsInViewportNative((ImGuiViewportP*)pviewport, oldPos, newPos); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ScaleWindowsInViewportNative(ImGuiViewportP* viewport, float scale) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[952])(viewport, scale); #else ((delegate* unmanaged[Cdecl])funcTable[952])((nint)viewport, scale); #endif } /// /// To be documented. /// public static void ScaleWindowsInViewport(ImGuiViewportPPtr viewport, float scale) { ScaleWindowsInViewportNative(viewport, scale); } /// /// To be documented. /// public static void ScaleWindowsInViewport(ref ImGuiViewportP viewport, float scale) { fixed (ImGuiViewportP* pviewport = &viewport) { ScaleWindowsInViewportNative((ImGuiViewportP*)pviewport, scale); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyPlatformWindowNative(ImGuiViewportP* viewport) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[953])(viewport); #else ((delegate* unmanaged[Cdecl])funcTable[953])((nint)viewport); #endif } /// /// To be documented. /// public static void DestroyPlatformWindow(ImGuiViewportPPtr viewport) { DestroyPlatformWindowNative(viewport); } /// /// To be documented. /// public static void DestroyPlatformWindow(ref ImGuiViewportP viewport) { fixed (ImGuiViewportP* pviewport = &viewport) { DestroyPlatformWindowNative((ImGuiViewportP*)pviewport); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void SetWindowViewportNative(ImGuiWindow* window, ImGuiViewportP* viewport) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[954])(window, viewport); #else ((delegate* unmanaged[Cdecl])funcTable[954])((nint)window, (nint)viewport); #endif } /// /// To be documented. /// public static void SetWindowViewport(ImGuiWindowPtr window, ImGuiViewportPPtr viewport) { SetWindowViewportNative(window, viewport); } /// /// To be documented. /// public static void SetWindowViewport(ref ImGuiWindow window, ImGuiViewportPPtr viewport) { fixed (ImGuiWindow* pwindow = &window) { SetWindowViewportNative((ImGuiWindow*)pwindow, viewport); } } /// /// To be documented. /// public static void SetWindowViewport(ImGuiWindowPtr window, ref ImGuiViewportP viewport) { fixed (ImGuiViewportP* pviewport = &viewport) { SetWindowViewportNative(window, (ImGuiViewportP*)pviewport); } } /// /// To be documented. /// public static void SetWindowViewport(ref ImGuiWindow window, ref ImGuiViewportP viewport) { fixed (ImGuiWindow* pwindow = &window) { fixed (ImGuiViewportP* pviewport = &viewport) { SetWindowViewportNative((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void SetCurrentViewportNative(ImGuiWindow* window, ImGuiViewportP* viewport) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[955])(window, viewport); #else ((delegate* unmanaged[Cdecl])funcTable[955])((nint)window, (nint)viewport); #endif } /// /// To be documented. /// public static void SetCurrentViewport(ImGuiWindowPtr window, ImGuiViewportPPtr viewport) { SetCurrentViewportNative(window, viewport); } /// /// To be documented. /// public static void SetCurrentViewport(ref ImGuiWindow window, ImGuiViewportPPtr viewport) { fixed (ImGuiWindow* pwindow = &window) { SetCurrentViewportNative((ImGuiWindow*)pwindow, viewport); } } } }