// ------------------------------------------------------------------------------ // // 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 ImGui { /// /// To be documented. /// public static Vector2 GetCenter(ImGuiViewportPtr self) { Vector2 ret; GetCenterNative(&ret, self); return ret; } /// /// To be documented. /// public static void GetCenter(Vector2* pOut, ImGuiViewportPtr self) { GetCenterNative(pOut, self); } /// /// To be documented. /// public static void GetCenter(ref Vector2 pOut, ImGuiViewportPtr self) { fixed (Vector2* ppOut = &pOut) { GetCenterNative((Vector2*)ppOut, self); } } /// /// To be documented. /// public static Vector2 GetCenter(ref ImGuiViewport self) { fixed (ImGuiViewport* pself = &self) { Vector2 ret; GetCenterNative(&ret, (ImGuiViewport*)pself); return ret; } } /// /// To be documented. /// public static void GetCenter(Vector2* pOut, ref ImGuiViewport self) { fixed (ImGuiViewport* pself = &self) { GetCenterNative(pOut, (ImGuiViewport*)pself); } } /// /// To be documented. /// public static void GetCenter(ref Vector2 pOut, ref ImGuiViewport self) { fixed (Vector2* ppOut = &pOut) { fixed (ImGuiViewport* pself = &self) { GetCenterNative((Vector2*)ppOut, (ImGuiViewport*)pself); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void GetWorkCenterNative(Vector2* pOut, ImGuiViewport* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[638])(pOut, self); #else ((delegate* unmanaged[Cdecl])funcTable[638])((nint)pOut, (nint)self); #endif } /// /// To be documented. /// public static Vector2 GetWorkCenter(ImGuiViewportPtr self) { Vector2 ret; GetWorkCenterNative(&ret, self); return ret; } /// /// To be documented. /// public static void GetWorkCenter(Vector2* pOut, ImGuiViewportPtr self) { GetWorkCenterNative(pOut, self); } /// /// To be documented. /// public static void GetWorkCenter(ref Vector2 pOut, ImGuiViewportPtr self) { fixed (Vector2* ppOut = &pOut) { GetWorkCenterNative((Vector2*)ppOut, self); } } /// /// To be documented. /// public static Vector2 GetWorkCenter(ref ImGuiViewport self) { fixed (ImGuiViewport* pself = &self) { Vector2 ret; GetWorkCenterNative(&ret, (ImGuiViewport*)pself); return ret; } } /// /// To be documented. /// public static void GetWorkCenter(Vector2* pOut, ref ImGuiViewport self) { fixed (ImGuiViewport* pself = &self) { GetWorkCenterNative(pOut, (ImGuiViewport*)pself); } } /// /// To be documented. /// public static void GetWorkCenter(ref Vector2 pOut, ref ImGuiViewport self) { fixed (Vector2* ppOut = &pOut) { fixed (ImGuiViewport* pself = &self) { GetWorkCenterNative((Vector2*)ppOut, (ImGuiViewport*)pself); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiPlatformIO* ImGuiPlatformIONative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[639])(); #else return (ImGuiPlatformIO*)((delegate* unmanaged[Cdecl])funcTable[639])(); #endif } /// /// To be documented. /// public static ImGuiPlatformIOPtr ImGuiPlatformIO() { ImGuiPlatformIOPtr ret = ImGuiPlatformIONative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiPlatformIO* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[640])(self); #else ((delegate* unmanaged[Cdecl])funcTable[640])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiPlatformIOPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiPlatformIO self) { fixed (ImGuiPlatformIO* pself = &self) { DestroyNative((ImGuiPlatformIO*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiPlatformMonitor* ImGuiPlatformMonitorNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[641])(); #else return (ImGuiPlatformMonitor*)((delegate* unmanaged[Cdecl])funcTable[641])(); #endif } /// /// To be documented. /// public static ImGuiPlatformMonitorPtr ImGuiPlatformMonitor() { ImGuiPlatformMonitorPtr ret = ImGuiPlatformMonitorNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiPlatformMonitor* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[642])(self); #else ((delegate* unmanaged[Cdecl])funcTable[642])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiPlatformMonitorPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiPlatformMonitor self) { fixed (ImGuiPlatformMonitor* pself = &self) { DestroyNative((ImGuiPlatformMonitor*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiPlatformImeData* ImGuiPlatformImeDataNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[643])(); #else return (ImGuiPlatformImeData*)((delegate* unmanaged[Cdecl])funcTable[643])(); #endif } /// /// To be documented. /// public static ImGuiPlatformImeDataPtr ImGuiPlatformImeData() { ImGuiPlatformImeDataPtr ret = ImGuiPlatformImeDataNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiPlatformImeData* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[644])(self); #else ((delegate* unmanaged[Cdecl])funcTable[644])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiPlatformImeDataPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiPlatformImeData self) { fixed (ImGuiPlatformImeData* pself = &self) { DestroyNative((ImGuiPlatformImeData*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static int GetKeyIndexNative(ImGuiKey key) { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[645])(key); #else return (int)((delegate* unmanaged[Cdecl])funcTable[645])(key); #endif } /// /// To be documented. /// public static int GetKeyIndex(ImGuiKey key) { int ret = GetKeyIndexNative(key); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImVec1* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[646])(self); #else ((delegate* unmanaged[Cdecl])funcTable[646])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImVec1Ptr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImVec1 self) { fixed (ImVec1* pself = &self) { DestroyNative((ImVec1*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImVec2Ih* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[647])(self); #else ((delegate* unmanaged[Cdecl])funcTable[647])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImVec2IhPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImVec2Ih self) { fixed (ImVec2Ih* pself = &self) { DestroyNative((ImVec2Ih*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImRect* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[648])(self); #else ((delegate* unmanaged[Cdecl])funcTable[648])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImRectPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImRect self) { fixed (ImRect* pself = &self) { DestroyNative((ImRect*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImDrawListSharedData* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[649])(self); #else ((delegate* unmanaged[Cdecl])funcTable[649])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImDrawListSharedDataPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImDrawListSharedData self) { fixed (ImDrawListSharedData* pself = &self) { DestroyNative((ImDrawListSharedData*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiStyleMod* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[650])(self); #else ((delegate* unmanaged[Cdecl])funcTable[650])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiStyleModPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiStyleMod self) { fixed (ImGuiStyleMod* pself = &self) { DestroyNative((ImGuiStyleMod*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiComboPreviewData* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[651])(self); #else ((delegate* unmanaged[Cdecl])funcTable[651])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiComboPreviewDataPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiComboPreviewData self) { fixed (ImGuiComboPreviewData* pself = &self) { DestroyNative((ImGuiComboPreviewData*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiMenuColumns* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[652])(self); #else ((delegate* unmanaged[Cdecl])funcTable[652])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiMenuColumnsPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiMenuColumns self) { fixed (ImGuiMenuColumns* pself = &self) { DestroyNative((ImGuiMenuColumns*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiInputTextState* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[653])(self); #else ((delegate* unmanaged[Cdecl])funcTable[653])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiInputTextStatePtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiInputTextState self) { fixed (ImGuiInputTextState* pself = &self) { DestroyNative((ImGuiInputTextState*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiPopupData* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[654])(self); #else ((delegate* unmanaged[Cdecl])funcTable[654])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiPopupDataPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiPopupData self) { fixed (ImGuiPopupData* pself = &self) { DestroyNative((ImGuiPopupData*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiNextWindowData* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[655])(self); #else ((delegate* unmanaged[Cdecl])funcTable[655])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiNextWindowDataPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiNextWindowData self) { fixed (ImGuiNextWindowData* pself = &self) { DestroyNative((ImGuiNextWindowData*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiNextItemData* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[656])(self); #else ((delegate* unmanaged[Cdecl])funcTable[656])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiNextItemDataPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiNextItemData self) { fixed (ImGuiNextItemData* pself = &self) { DestroyNative((ImGuiNextItemData*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiLastItemData* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[657])(self); #else ((delegate* unmanaged[Cdecl])funcTable[657])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiLastItemDataPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiLastItemData self) { fixed (ImGuiLastItemData* pself = &self) { DestroyNative((ImGuiLastItemData*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiStackSizes* StackSizesImGuiStackSizesNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[658])(); #else return (ImGuiStackSizes*)((delegate* unmanaged[Cdecl])funcTable[658])(); #endif } /// /// To be documented. /// public static ImGuiStackSizesPtr StackSizesImGuiStackSizes() { ImGuiStackSizesPtr ret = StackSizesImGuiStackSizesNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void StackSizesDestroyNative(ImGuiStackSizes* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[659])(self); #else ((delegate* unmanaged[Cdecl])funcTable[659])((nint)self); #endif } /// /// To be documented. /// public static void StackSizesDestroy(ImGuiStackSizesPtr self) { StackSizesDestroyNative(self); } /// /// To be documented. /// public static void StackSizesDestroy(ref ImGuiStackSizes self) { fixed (ImGuiStackSizes* pself = &self) { StackSizesDestroyNative((ImGuiStackSizes*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void StackSizesSetToCurrentStateNative(ImGuiStackSizes* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[660])(self); #else ((delegate* unmanaged[Cdecl])funcTable[660])((nint)self); #endif } /// /// To be documented. /// public static void StackSizesSetToCurrentState(ImGuiStackSizesPtr self) { StackSizesSetToCurrentStateNative(self); } /// /// To be documented. /// public static void StackSizesSetToCurrentState(ref ImGuiStackSizes self) { fixed (ImGuiStackSizes* pself = &self) { StackSizesSetToCurrentStateNative((ImGuiStackSizes*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void StackSizesCompareWithCurrentStateNative(ImGuiStackSizes* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[661])(self); #else ((delegate* unmanaged[Cdecl])funcTable[661])((nint)self); #endif } /// /// To be documented. /// public static void StackSizesCompareWithCurrentState(ImGuiStackSizesPtr self) { StackSizesCompareWithCurrentStateNative(self); } /// /// To be documented. /// public static void StackSizesCompareWithCurrentState(ref ImGuiStackSizes self) { fixed (ImGuiStackSizes* pself = &self) { StackSizesCompareWithCurrentStateNative((ImGuiStackSizes*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiPtrOrIndex* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[662])(self); #else ((delegate* unmanaged[Cdecl])funcTable[662])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiPtrOrIndexPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiPtrOrIndex self) { fixed (ImGuiPtrOrIndex* pself = &self) { DestroyNative((ImGuiPtrOrIndex*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiInputEvent* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[663])(self); #else ((delegate* unmanaged[Cdecl])funcTable[663])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiInputEventPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiInputEvent self) { fixed (ImGuiInputEvent* pself = &self) { DestroyNative((ImGuiInputEvent*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiListClipperData* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[664])(self); #else ((delegate* unmanaged[Cdecl])funcTable[664])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiListClipperDataPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiListClipperData self) { fixed (ImGuiListClipperData* pself = &self) { DestroyNative((ImGuiListClipperData*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiNavItemData* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[665])(self); #else ((delegate* unmanaged[Cdecl])funcTable[665])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiNavItemDataPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiNavItemData self) { fixed (ImGuiNavItemData* pself = &self) { DestroyNative((ImGuiNavItemData*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiOldColumnData* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[666])(self); #else ((delegate* unmanaged[Cdecl])funcTable[666])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiOldColumnDataPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiOldColumnData self) { fixed (ImGuiOldColumnData* pself = &self) { DestroyNative((ImGuiOldColumnData*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiOldColumns* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[667])(self); #else ((delegate* unmanaged[Cdecl])funcTable[667])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiOldColumnsPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiOldColumns self) { fixed (ImGuiOldColumns* pself = &self) { DestroyNative((ImGuiOldColumns*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiDockContext* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[668])(self); #else ((delegate* unmanaged[Cdecl])funcTable[668])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiDockContextPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiDockContext self) { fixed (ImGuiDockContext* pself = &self) { DestroyNative((ImGuiDockContext*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiWindowSettings* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[669])(self); #else ((delegate* unmanaged[Cdecl])funcTable[669])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiWindowSettingsPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiWindowSettings self) { fixed (ImGuiWindowSettings* pself = &self) { DestroyNative((ImGuiWindowSettings*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiSettingsHandler* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[670])(self); #else ((delegate* unmanaged[Cdecl])funcTable[670])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiSettingsHandlerPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiSettingsHandler self) { fixed (ImGuiSettingsHandler* pself = &self) { DestroyNative((ImGuiSettingsHandler*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiMetricsConfig* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[671])(self); #else ((delegate* unmanaged[Cdecl])funcTable[671])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiMetricsConfigPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiMetricsConfig self) { fixed (ImGuiMetricsConfig* pself = &self) { DestroyNative((ImGuiMetricsConfig*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiStackLevelInfo* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[672])(self); #else ((delegate* unmanaged[Cdecl])funcTable[672])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiStackLevelInfoPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiStackLevelInfo self) { fixed (ImGuiStackLevelInfo* pself = &self) { DestroyNative((ImGuiStackLevelInfo*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImGuiStackTool* StackToolImGuiStackToolNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[673])(); #else return (ImGuiStackTool*)((delegate* unmanaged[Cdecl])funcTable[673])(); #endif } /// /// To be documented. /// public static ImGuiStackToolPtr StackToolImGuiStackTool() { ImGuiStackToolPtr ret = StackToolImGuiStackToolNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void StackToolDestroyNative(ImGuiStackTool* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[674])(self); #else ((delegate* unmanaged[Cdecl])funcTable[674])((nint)self); #endif } /// /// To be documented. /// public static void StackToolDestroy(ImGuiStackToolPtr self) { StackToolDestroyNative(self); } /// /// To be documented. /// public static void StackToolDestroy(ref ImGuiStackTool self) { fixed (ImGuiStackTool* pself = &self) { StackToolDestroyNative((ImGuiStackTool*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiContextHook* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[675])(self); #else ((delegate* unmanaged[Cdecl])funcTable[675])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiContextHookPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiContextHook self) { fixed (ImGuiContextHook* pself = &self) { DestroyNative((ImGuiContextHook*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiContext* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[676])(self); #else ((delegate* unmanaged[Cdecl])funcTable[676])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiContextPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiContext self) { fixed (ImGuiContext* pself = &self) { DestroyNative((ImGuiContext*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiTabItem* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[677])(self); #else ((delegate* unmanaged[Cdecl])funcTable[677])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiTabItemPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiTabItem self) { fixed (ImGuiTabItem* pself = &self) { DestroyNative((ImGuiTabItem*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiTabBar* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[678])(self); #else ((delegate* unmanaged[Cdecl])funcTable[678])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiTabBarPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiTabBar self) { fixed (ImGuiTabBar* pself = &self) { DestroyNative((ImGuiTabBar*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiTableColumn* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[679])(self); #else ((delegate* unmanaged[Cdecl])funcTable[679])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiTableColumnPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiTableColumn self) { fixed (ImGuiTableColumn* pself = &self) { DestroyNative((ImGuiTableColumn*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiTableInstanceData* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[680])(self); #else ((delegate* unmanaged[Cdecl])funcTable[680])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiTableInstanceDataPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiTableInstanceData self) { fixed (ImGuiTableInstanceData* pself = &self) { DestroyNative((ImGuiTableInstanceData*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiTableTempData* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[681])(self); #else ((delegate* unmanaged[Cdecl])funcTable[681])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiTableTempDataPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiTableTempData self) { fixed (ImGuiTableTempData* pself = &self) { DestroyNative((ImGuiTableTempData*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiTableColumnSettings* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[682])(self); #else ((delegate* unmanaged[Cdecl])funcTable[682])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiTableColumnSettingsPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiTableColumnSettings self) { fixed (ImGuiTableColumnSettings* pself = &self) { DestroyNative((ImGuiTableColumnSettings*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void DestroyNative(ImGuiTableSettings* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[683])(self); #else ((delegate* unmanaged[Cdecl])funcTable[683])((nint)self); #endif } /// /// To be documented. /// public static void Destroy(ImGuiTableSettingsPtr self) { DestroyNative(self); } /// /// To be documented. /// public static void Destroy(ref ImGuiTableSettings self) { fixed (ImGuiTableSettings* pself = &self) { DestroyNative((ImGuiTableSettings*)pself); } } /// /// //////////////////////hand written functions
/// no LogTextV
///
[MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void LogTextNative(byte* fmt) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[684])(fmt); #else ((delegate* unmanaged[Cdecl])funcTable[684])((nint)fmt); #endif } /// /// //////////////////////hand written functions
/// no LogTextV
///
public static void LogText(byte* fmt) { LogTextNative(fmt); } /// /// //////////////////////hand written functions
/// no LogTextV
///
public static void LogText(ref byte fmt) { fixed (byte* pfmt = &fmt) { LogTextNative((byte*)pfmt); } } /// /// //////////////////////hand written functions
/// no LogTextV
///
public static void LogText(ReadOnlySpan fmt) { fixed (byte* pfmt = fmt) { LogTextNative((byte*)pfmt); } } /// /// //////////////////////hand written functions
/// no LogTextV
///
public static void LogText(string fmt) { byte* pStr0 = null; int pStrSize0 = 0; if (fmt != null) { pStrSize0 = Utils.GetByteCountUTF8(fmt); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } LogTextNative(pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// no appendfV
///
[MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void appendfNative(ImGuiTextBuffer* buffer, byte* fmt) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[685])(buffer, fmt); #else ((delegate* unmanaged[Cdecl])funcTable[685])((nint)buffer, (nint)fmt); #endif } /// /// no appendfV
///
public static void appendf(ImGuiTextBufferPtr buffer, byte* fmt) { appendfNative(buffer, fmt); } /// /// no appendfV
///
public static void appendf(ref ImGuiTextBuffer buffer, byte* fmt) { fixed (ImGuiTextBuffer* pbuffer = &buffer) { appendfNative((ImGuiTextBuffer*)pbuffer, fmt); } } /// /// no appendfV
///
public static void appendf(ImGuiTextBufferPtr buffer, ref byte fmt) { fixed (byte* pfmt = &fmt) { appendfNative(buffer, (byte*)pfmt); } } /// /// no appendfV
///
public static void appendf(ImGuiTextBufferPtr buffer, ReadOnlySpan fmt) { fixed (byte* pfmt = fmt) { appendfNative(buffer, (byte*)pfmt); } } /// /// no appendfV
///
public static void appendf(ImGuiTextBufferPtr buffer, string fmt) { byte* pStr0 = null; int pStrSize0 = 0; if (fmt != null) { pStrSize0 = Utils.GetByteCountUTF8(fmt); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } appendfNative(buffer, pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// no appendfV
///
public static void appendf(ref ImGuiTextBuffer buffer, ref byte fmt) { fixed (ImGuiTextBuffer* pbuffer = &buffer) { fixed (byte* pfmt = &fmt) { appendfNative((ImGuiTextBuffer*)pbuffer, (byte*)pfmt); } } } /// /// no appendfV
///
public static void appendf(ref ImGuiTextBuffer buffer, ReadOnlySpan fmt) { fixed (ImGuiTextBuffer* pbuffer = &buffer) { fixed (byte* pfmt = fmt) { appendfNative((ImGuiTextBuffer*)pbuffer, (byte*)pfmt); } } } /// /// no appendfV
///
public static void appendf(ref ImGuiTextBuffer buffer, string fmt) { fixed (ImGuiTextBuffer* pbuffer = &buffer) { byte* pStr0 = null; int pStrSize0 = 0; if (fmt != null) { pStrSize0 = Utils.GetByteCountUTF8(fmt); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } appendfNative((ImGuiTextBuffer*)pbuffer, pStr0); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// for getting FLT_MAX in bindings
///
[MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float GETFLTMAXNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[686])(); #else return (float)((delegate* unmanaged[Cdecl])funcTable[686])(); #endif } /// /// for getting FLT_MAX in bindings
///
public static float GETFLTMAX() { float ret = GETFLTMAXNative(); return ret; } /// /// for getting FLT_MIN in bindings
///
[MethodImpl(MethodImplOptions.AggressiveInlining)] internal static float GETFLTMINNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl])funcTable[687])(); #else return (float)((delegate* unmanaged[Cdecl])funcTable[687])(); #endif } /// /// for getting FLT_MIN in bindings
///
public static float GETFLTMIN() { float ret = GETFLTMINNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static ImVector* ImVectorImWcharCreateNative() { #if NET5_0_OR_GREATER return ((delegate* unmanaged[Cdecl]*>)funcTable[688])(); #else return (ImVector*)((delegate* unmanaged[Cdecl])funcTable[688])(); #endif } /// /// To be documented. /// public static ImVector* ImVectorImWcharCreate() { ImVector* ret = ImVectorImWcharCreateNative(); return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImVectorImWcharDestroyNative(ImVector* self) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl]*, void>)funcTable[689])(self); #else ((delegate* unmanaged[Cdecl])funcTable[689])((nint)self); #endif } /// /// To be documented. /// public static void ImVectorImWcharDestroy(ImVector* self) { ImVectorImWcharDestroyNative(self); } /// /// To be documented. /// public static void ImVectorImWcharDestroy(ref ImVector self) { fixed (ImVector* pself = &self) { ImVectorImWcharDestroyNative((ImVector*)pself); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImVectorImWcharInitNative(ImVector* p) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl]*, void>)funcTable[690])(p); #else ((delegate* unmanaged[Cdecl])funcTable[690])((nint)p); #endif } /// /// To be documented. /// public static void ImVectorImWcharInit(ImVector* p) { ImVectorImWcharInitNative(p); } /// /// To be documented. /// public static void ImVectorImWcharInit(ref ImVector p) { fixed (ImVector* pp = &p) { ImVectorImWcharInitNative((ImVector*)pp); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void ImVectorImWcharUnInitNative(ImVector* p) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl]*, void>)funcTable[691])(p); #else ((delegate* unmanaged[Cdecl])funcTable[691])((nint)p); #endif } /// /// To be documented. /// public static void ImVectorImWcharUnInit(ImVector* p) { ImVectorImWcharUnInitNative(p); } /// /// To be documented. /// public static void ImVectorImWcharUnInit(ref ImVector p) { fixed (ImVector* pp = &p) { ImVectorImWcharUnInitNative((ImVector*)pp); } } } }