mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
1931 lines
45 KiB
C#
1931 lines
45 KiB
C#
// ------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
// ------------------------------------------------------------------------------
|
|
|
|
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
|
|
{
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static Vector2 GetCenter(ImGuiViewportPtr self)
|
|
{
|
|
Vector2 ret;
|
|
GetCenterNative(&ret, self);
|
|
return ret;
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void GetCenter(Vector2* pOut, ImGuiViewportPtr self)
|
|
{
|
|
GetCenterNative(pOut, self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void GetCenter(ref Vector2 pOut, ImGuiViewportPtr self)
|
|
{
|
|
fixed (Vector2* ppOut = &pOut)
|
|
{
|
|
GetCenterNative((Vector2*)ppOut, self);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static Vector2 GetCenter(ref ImGuiViewport self)
|
|
{
|
|
fixed (ImGuiViewport* pself = &self)
|
|
{
|
|
Vector2 ret;
|
|
GetCenterNative(&ret, (ImGuiViewport*)pself);
|
|
return ret;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void GetCenter(Vector2* pOut, ref ImGuiViewport self)
|
|
{
|
|
fixed (ImGuiViewport* pself = &self)
|
|
{
|
|
GetCenterNative(pOut, (ImGuiViewport*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void GetCenter(ref Vector2 pOut, ref ImGuiViewport self)
|
|
{
|
|
fixed (Vector2* ppOut = &pOut)
|
|
{
|
|
fixed (ImGuiViewport* pself = &self)
|
|
{
|
|
GetCenterNative((Vector2*)ppOut, (ImGuiViewport*)pself);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void GetWorkCenterNative(Vector2* pOut, ImGuiViewport* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<Vector2*, ImGuiViewport*, void>)funcTable[638])(pOut, self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, nint, void>)funcTable[638])((nint)pOut, (nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static Vector2 GetWorkCenter(ImGuiViewportPtr self)
|
|
{
|
|
Vector2 ret;
|
|
GetWorkCenterNative(&ret, self);
|
|
return ret;
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void GetWorkCenter(Vector2* pOut, ImGuiViewportPtr self)
|
|
{
|
|
GetWorkCenterNative(pOut, self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void GetWorkCenter(ref Vector2 pOut, ImGuiViewportPtr self)
|
|
{
|
|
fixed (Vector2* ppOut = &pOut)
|
|
{
|
|
GetWorkCenterNative((Vector2*)ppOut, self);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static Vector2 GetWorkCenter(ref ImGuiViewport self)
|
|
{
|
|
fixed (ImGuiViewport* pself = &self)
|
|
{
|
|
Vector2 ret;
|
|
GetWorkCenterNative(&ret, (ImGuiViewport*)pself);
|
|
return ret;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void GetWorkCenter(Vector2* pOut, ref ImGuiViewport self)
|
|
{
|
|
fixed (ImGuiViewport* pself = &self)
|
|
{
|
|
GetWorkCenterNative(pOut, (ImGuiViewport*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void GetWorkCenter(ref Vector2 pOut, ref ImGuiViewport self)
|
|
{
|
|
fixed (Vector2* ppOut = &pOut)
|
|
{
|
|
fixed (ImGuiViewport* pself = &self)
|
|
{
|
|
GetWorkCenterNative((Vector2*)ppOut, (ImGuiViewport*)pself);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static ImGuiPlatformIO* ImGuiPlatformIONative()
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
return ((delegate* unmanaged[Cdecl]<ImGuiPlatformIO*>)funcTable[639])();
|
|
#else
|
|
return (ImGuiPlatformIO*)((delegate* unmanaged[Cdecl]<nint>)funcTable[639])();
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static ImGuiPlatformIOPtr ImGuiPlatformIO()
|
|
{
|
|
ImGuiPlatformIOPtr ret = ImGuiPlatformIONative();
|
|
return ret;
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiPlatformIO* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiPlatformIO*, void>)funcTable[640])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[640])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiPlatformIOPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiPlatformIO self)
|
|
{
|
|
fixed (ImGuiPlatformIO* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiPlatformIO*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static ImGuiPlatformMonitor* ImGuiPlatformMonitorNative()
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
return ((delegate* unmanaged[Cdecl]<ImGuiPlatformMonitor*>)funcTable[641])();
|
|
#else
|
|
return (ImGuiPlatformMonitor*)((delegate* unmanaged[Cdecl]<nint>)funcTable[641])();
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static ImGuiPlatformMonitorPtr ImGuiPlatformMonitor()
|
|
{
|
|
ImGuiPlatformMonitorPtr ret = ImGuiPlatformMonitorNative();
|
|
return ret;
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiPlatformMonitor* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiPlatformMonitor*, void>)funcTable[642])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[642])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiPlatformMonitorPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiPlatformMonitor self)
|
|
{
|
|
fixed (ImGuiPlatformMonitor* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiPlatformMonitor*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static ImGuiPlatformImeData* ImGuiPlatformImeDataNative()
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
return ((delegate* unmanaged[Cdecl]<ImGuiPlatformImeData*>)funcTable[643])();
|
|
#else
|
|
return (ImGuiPlatformImeData*)((delegate* unmanaged[Cdecl]<nint>)funcTable[643])();
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static ImGuiPlatformImeDataPtr ImGuiPlatformImeData()
|
|
{
|
|
ImGuiPlatformImeDataPtr ret = ImGuiPlatformImeDataNative();
|
|
return ret;
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiPlatformImeData* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiPlatformImeData*, void>)funcTable[644])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[644])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiPlatformImeDataPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiPlatformImeData self)
|
|
{
|
|
fixed (ImGuiPlatformImeData* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiPlatformImeData*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static int GetKeyIndexNative(ImGuiKey key)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
return ((delegate* unmanaged[Cdecl]<ImGuiKey, int>)funcTable[645])(key);
|
|
#else
|
|
return (int)((delegate* unmanaged[Cdecl]<ImGuiKey, int>)funcTable[645])(key);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static int GetKeyIndex(ImGuiKey key)
|
|
{
|
|
int ret = GetKeyIndexNative(key);
|
|
return ret;
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImVec1* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImVec1*, void>)funcTable[646])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[646])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImVec1Ptr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImVec1 self)
|
|
{
|
|
fixed (ImVec1* pself = &self)
|
|
{
|
|
DestroyNative((ImVec1*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImVec2Ih* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImVec2Ih*, void>)funcTable[647])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[647])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImVec2IhPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImVec2Ih self)
|
|
{
|
|
fixed (ImVec2Ih* pself = &self)
|
|
{
|
|
DestroyNative((ImVec2Ih*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImRect* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImRect*, void>)funcTable[648])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[648])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImRectPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImRect self)
|
|
{
|
|
fixed (ImRect* pself = &self)
|
|
{
|
|
DestroyNative((ImRect*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImDrawListSharedData* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImDrawListSharedData*, void>)funcTable[649])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[649])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImDrawListSharedDataPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImDrawListSharedData self)
|
|
{
|
|
fixed (ImDrawListSharedData* pself = &self)
|
|
{
|
|
DestroyNative((ImDrawListSharedData*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiStyleMod* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiStyleMod*, void>)funcTable[650])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[650])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiStyleModPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiStyleMod self)
|
|
{
|
|
fixed (ImGuiStyleMod* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiStyleMod*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiComboPreviewData* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiComboPreviewData*, void>)funcTable[651])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[651])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiComboPreviewDataPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiComboPreviewData self)
|
|
{
|
|
fixed (ImGuiComboPreviewData* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiComboPreviewData*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiMenuColumns* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiMenuColumns*, void>)funcTable[652])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[652])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiMenuColumnsPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiMenuColumns self)
|
|
{
|
|
fixed (ImGuiMenuColumns* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiMenuColumns*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiInputTextState* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiInputTextState*, void>)funcTable[653])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[653])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiInputTextStatePtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiInputTextState self)
|
|
{
|
|
fixed (ImGuiInputTextState* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiInputTextState*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiPopupData* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiPopupData*, void>)funcTable[654])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[654])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiPopupDataPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiPopupData self)
|
|
{
|
|
fixed (ImGuiPopupData* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiPopupData*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiNextWindowData* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiNextWindowData*, void>)funcTable[655])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[655])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiNextWindowDataPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiNextWindowData self)
|
|
{
|
|
fixed (ImGuiNextWindowData* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiNextWindowData*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiNextItemData* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiNextItemData*, void>)funcTable[656])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[656])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiNextItemDataPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiNextItemData self)
|
|
{
|
|
fixed (ImGuiNextItemData* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiNextItemData*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiLastItemData* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiLastItemData*, void>)funcTable[657])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[657])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiLastItemDataPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiLastItemData self)
|
|
{
|
|
fixed (ImGuiLastItemData* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiLastItemData*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static ImGuiStackSizes* StackSizesImGuiStackSizesNative()
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
return ((delegate* unmanaged[Cdecl]<ImGuiStackSizes*>)funcTable[658])();
|
|
#else
|
|
return (ImGuiStackSizes*)((delegate* unmanaged[Cdecl]<nint>)funcTable[658])();
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static ImGuiStackSizesPtr StackSizesImGuiStackSizes()
|
|
{
|
|
ImGuiStackSizesPtr ret = StackSizesImGuiStackSizesNative();
|
|
return ret;
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void StackSizesDestroyNative(ImGuiStackSizes* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiStackSizes*, void>)funcTable[659])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[659])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void StackSizesDestroy(ImGuiStackSizesPtr self)
|
|
{
|
|
StackSizesDestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void StackSizesDestroy(ref ImGuiStackSizes self)
|
|
{
|
|
fixed (ImGuiStackSizes* pself = &self)
|
|
{
|
|
StackSizesDestroyNative((ImGuiStackSizes*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void StackSizesSetToCurrentStateNative(ImGuiStackSizes* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiStackSizes*, void>)funcTable[660])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[660])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void StackSizesSetToCurrentState(ImGuiStackSizesPtr self)
|
|
{
|
|
StackSizesSetToCurrentStateNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void StackSizesSetToCurrentState(ref ImGuiStackSizes self)
|
|
{
|
|
fixed (ImGuiStackSizes* pself = &self)
|
|
{
|
|
StackSizesSetToCurrentStateNative((ImGuiStackSizes*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void StackSizesCompareWithCurrentStateNative(ImGuiStackSizes* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiStackSizes*, void>)funcTable[661])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[661])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void StackSizesCompareWithCurrentState(ImGuiStackSizesPtr self)
|
|
{
|
|
StackSizesCompareWithCurrentStateNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void StackSizesCompareWithCurrentState(ref ImGuiStackSizes self)
|
|
{
|
|
fixed (ImGuiStackSizes* pself = &self)
|
|
{
|
|
StackSizesCompareWithCurrentStateNative((ImGuiStackSizes*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiPtrOrIndex* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiPtrOrIndex*, void>)funcTable[662])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[662])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiPtrOrIndexPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiPtrOrIndex self)
|
|
{
|
|
fixed (ImGuiPtrOrIndex* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiPtrOrIndex*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiInputEvent* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiInputEvent*, void>)funcTable[663])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[663])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiInputEventPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiInputEvent self)
|
|
{
|
|
fixed (ImGuiInputEvent* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiInputEvent*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiListClipperData* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiListClipperData*, void>)funcTable[664])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[664])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiListClipperDataPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiListClipperData self)
|
|
{
|
|
fixed (ImGuiListClipperData* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiListClipperData*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiNavItemData* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiNavItemData*, void>)funcTable[665])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[665])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiNavItemDataPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiNavItemData self)
|
|
{
|
|
fixed (ImGuiNavItemData* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiNavItemData*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiOldColumnData* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiOldColumnData*, void>)funcTable[666])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[666])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiOldColumnDataPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiOldColumnData self)
|
|
{
|
|
fixed (ImGuiOldColumnData* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiOldColumnData*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiOldColumns* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiOldColumns*, void>)funcTable[667])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[667])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiOldColumnsPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiOldColumns self)
|
|
{
|
|
fixed (ImGuiOldColumns* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiOldColumns*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiDockContext* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiDockContext*, void>)funcTable[668])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[668])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiDockContextPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiDockContext self)
|
|
{
|
|
fixed (ImGuiDockContext* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiDockContext*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiWindowSettings* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiWindowSettings*, void>)funcTable[669])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[669])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiWindowSettingsPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiWindowSettings self)
|
|
{
|
|
fixed (ImGuiWindowSettings* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiWindowSettings*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiSettingsHandler* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiSettingsHandler*, void>)funcTable[670])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[670])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiSettingsHandlerPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiSettingsHandler self)
|
|
{
|
|
fixed (ImGuiSettingsHandler* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiSettingsHandler*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiMetricsConfig* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiMetricsConfig*, void>)funcTable[671])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[671])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiMetricsConfigPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiMetricsConfig self)
|
|
{
|
|
fixed (ImGuiMetricsConfig* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiMetricsConfig*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiStackLevelInfo* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiStackLevelInfo*, void>)funcTable[672])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[672])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiStackLevelInfoPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiStackLevelInfo self)
|
|
{
|
|
fixed (ImGuiStackLevelInfo* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiStackLevelInfo*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static ImGuiStackTool* StackToolImGuiStackToolNative()
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
return ((delegate* unmanaged[Cdecl]<ImGuiStackTool*>)funcTable[673])();
|
|
#else
|
|
return (ImGuiStackTool*)((delegate* unmanaged[Cdecl]<nint>)funcTable[673])();
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static ImGuiStackToolPtr StackToolImGuiStackTool()
|
|
{
|
|
ImGuiStackToolPtr ret = StackToolImGuiStackToolNative();
|
|
return ret;
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void StackToolDestroyNative(ImGuiStackTool* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiStackTool*, void>)funcTable[674])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[674])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void StackToolDestroy(ImGuiStackToolPtr self)
|
|
{
|
|
StackToolDestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void StackToolDestroy(ref ImGuiStackTool self)
|
|
{
|
|
fixed (ImGuiStackTool* pself = &self)
|
|
{
|
|
StackToolDestroyNative((ImGuiStackTool*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiContextHook* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiContextHook*, void>)funcTable[675])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[675])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiContextHookPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiContextHook self)
|
|
{
|
|
fixed (ImGuiContextHook* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiContextHook*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiContext* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiContext*, void>)funcTable[676])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[676])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiContextPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiContext self)
|
|
{
|
|
fixed (ImGuiContext* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiContext*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiTabItem* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiTabItem*, void>)funcTable[677])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[677])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiTabItemPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiTabItem self)
|
|
{
|
|
fixed (ImGuiTabItem* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiTabItem*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiTabBar* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiTabBar*, void>)funcTable[678])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[678])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiTabBarPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiTabBar self)
|
|
{
|
|
fixed (ImGuiTabBar* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiTabBar*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiTableColumn* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiTableColumn*, void>)funcTable[679])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[679])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiTableColumnPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiTableColumn self)
|
|
{
|
|
fixed (ImGuiTableColumn* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiTableColumn*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiTableInstanceData* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiTableInstanceData*, void>)funcTable[680])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[680])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiTableInstanceDataPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiTableInstanceData self)
|
|
{
|
|
fixed (ImGuiTableInstanceData* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiTableInstanceData*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiTableTempData* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiTableTempData*, void>)funcTable[681])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[681])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiTableTempDataPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiTableTempData self)
|
|
{
|
|
fixed (ImGuiTableTempData* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiTableTempData*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiTableColumnSettings* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiTableColumnSettings*, void>)funcTable[682])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[682])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiTableColumnSettingsPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiTableColumnSettings self)
|
|
{
|
|
fixed (ImGuiTableColumnSettings* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiTableColumnSettings*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void DestroyNative(ImGuiTableSettings* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiTableSettings*, void>)funcTable[683])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[683])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ImGuiTableSettingsPtr self)
|
|
{
|
|
DestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void Destroy(ref ImGuiTableSettings self)
|
|
{
|
|
fixed (ImGuiTableSettings* pself = &self)
|
|
{
|
|
DestroyNative((ImGuiTableSettings*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// //////////////////////hand written functions<br/>
|
|
/// no LogTextV<br/>
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void LogTextNative(byte* fmt)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<byte*, void>)funcTable[684])(fmt);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[684])((nint)fmt);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// //////////////////////hand written functions<br/>
|
|
/// no LogTextV<br/>
|
|
/// </summary>
|
|
public static void LogText(byte* fmt)
|
|
{
|
|
LogTextNative(fmt);
|
|
}
|
|
|
|
/// <summary>
|
|
/// //////////////////////hand written functions<br/>
|
|
/// no LogTextV<br/>
|
|
/// </summary>
|
|
public static void LogText(ref byte fmt)
|
|
{
|
|
fixed (byte* pfmt = &fmt)
|
|
{
|
|
LogTextNative((byte*)pfmt);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// //////////////////////hand written functions<br/>
|
|
/// no LogTextV<br/>
|
|
/// </summary>
|
|
public static void LogText(ReadOnlySpan<byte> fmt)
|
|
{
|
|
fixed (byte* pfmt = fmt)
|
|
{
|
|
LogTextNative((byte*)pfmt);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// //////////////////////hand written functions<br/>
|
|
/// no LogTextV<br/>
|
|
/// </summary>
|
|
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<byte>(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);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// no appendfV<br/>
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void appendfNative(ImGuiTextBuffer* buffer, byte* fmt)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImGuiTextBuffer*, byte*, void>)funcTable[685])(buffer, fmt);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, nint, void>)funcTable[685])((nint)buffer, (nint)fmt);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// no appendfV<br/>
|
|
/// </summary>
|
|
public static void appendf(ImGuiTextBufferPtr buffer, byte* fmt)
|
|
{
|
|
appendfNative(buffer, fmt);
|
|
}
|
|
|
|
/// <summary>
|
|
/// no appendfV<br/>
|
|
/// </summary>
|
|
public static void appendf(ref ImGuiTextBuffer buffer, byte* fmt)
|
|
{
|
|
fixed (ImGuiTextBuffer* pbuffer = &buffer)
|
|
{
|
|
appendfNative((ImGuiTextBuffer*)pbuffer, fmt);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// no appendfV<br/>
|
|
/// </summary>
|
|
public static void appendf(ImGuiTextBufferPtr buffer, ref byte fmt)
|
|
{
|
|
fixed (byte* pfmt = &fmt)
|
|
{
|
|
appendfNative(buffer, (byte*)pfmt);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// no appendfV<br/>
|
|
/// </summary>
|
|
public static void appendf(ImGuiTextBufferPtr buffer, ReadOnlySpan<byte> fmt)
|
|
{
|
|
fixed (byte* pfmt = fmt)
|
|
{
|
|
appendfNative(buffer, (byte*)pfmt);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// no appendfV<br/>
|
|
/// </summary>
|
|
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<byte>(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);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// no appendfV<br/>
|
|
/// </summary>
|
|
public static void appendf(ref ImGuiTextBuffer buffer, ref byte fmt)
|
|
{
|
|
fixed (ImGuiTextBuffer* pbuffer = &buffer)
|
|
{
|
|
fixed (byte* pfmt = &fmt)
|
|
{
|
|
appendfNative((ImGuiTextBuffer*)pbuffer, (byte*)pfmt);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// no appendfV<br/>
|
|
/// </summary>
|
|
public static void appendf(ref ImGuiTextBuffer buffer, ReadOnlySpan<byte> fmt)
|
|
{
|
|
fixed (ImGuiTextBuffer* pbuffer = &buffer)
|
|
{
|
|
fixed (byte* pfmt = fmt)
|
|
{
|
|
appendfNative((ImGuiTextBuffer*)pbuffer, (byte*)pfmt);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// no appendfV<br/>
|
|
/// </summary>
|
|
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<byte>(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);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// for getting FLT_MAX in bindings<br/>
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static float GETFLTMAXNative()
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
return ((delegate* unmanaged[Cdecl]<float>)funcTable[686])();
|
|
#else
|
|
return (float)((delegate* unmanaged[Cdecl]<float>)funcTable[686])();
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// for getting FLT_MAX in bindings<br/>
|
|
/// </summary>
|
|
public static float GETFLTMAX()
|
|
{
|
|
float ret = GETFLTMAXNative();
|
|
return ret;
|
|
}
|
|
|
|
/// <summary>
|
|
/// for getting FLT_MIN in bindings<br/>
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static float GETFLTMINNative()
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
return ((delegate* unmanaged[Cdecl]<float>)funcTable[687])();
|
|
#else
|
|
return (float)((delegate* unmanaged[Cdecl]<float>)funcTable[687])();
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// for getting FLT_MIN in bindings<br/>
|
|
/// </summary>
|
|
public static float GETFLTMIN()
|
|
{
|
|
float ret = GETFLTMINNative();
|
|
return ret;
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static ImVector<ushort>* ImVectorImWcharCreateNative()
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
return ((delegate* unmanaged[Cdecl]<ImVector<ushort>*>)funcTable[688])();
|
|
#else
|
|
return (ImVector<ushort>*)((delegate* unmanaged[Cdecl]<nint>)funcTable[688])();
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static ImVector<ushort>* ImVectorImWcharCreate()
|
|
{
|
|
ImVector<ushort>* ret = ImVectorImWcharCreateNative();
|
|
return ret;
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void ImVectorImWcharDestroyNative(ImVector<ushort>* self)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImVector<ushort>*, void>)funcTable[689])(self);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[689])((nint)self);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void ImVectorImWcharDestroy(ImVector<ushort>* self)
|
|
{
|
|
ImVectorImWcharDestroyNative(self);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void ImVectorImWcharDestroy(ref ImVector<ushort> self)
|
|
{
|
|
fixed (ImVector<ushort>* pself = &self)
|
|
{
|
|
ImVectorImWcharDestroyNative((ImVector<ushort>*)pself);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void ImVectorImWcharInitNative(ImVector<ushort>* p)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImVector<ushort>*, void>)funcTable[690])(p);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[690])((nint)p);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void ImVectorImWcharInit(ImVector<ushort>* p)
|
|
{
|
|
ImVectorImWcharInitNative(p);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void ImVectorImWcharInit(ref ImVector<ushort> p)
|
|
{
|
|
fixed (ImVector<ushort>* pp = &p)
|
|
{
|
|
ImVectorImWcharInitNative((ImVector<ushort>*)pp);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
internal static void ImVectorImWcharUnInitNative(ImVector<ushort>* p)
|
|
{
|
|
#if NET5_0_OR_GREATER
|
|
((delegate* unmanaged[Cdecl]<ImVector<ushort>*, void>)funcTable[691])(p);
|
|
#else
|
|
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[691])((nint)p);
|
|
#endif
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void ImVectorImWcharUnInit(ImVector<ushort>* p)
|
|
{
|
|
ImVectorImWcharUnInitNative(p);
|
|
}
|
|
|
|
/// <summary>
|
|
/// To be documented.
|
|
/// </summary>
|
|
public static void ImVectorImWcharUnInit(ref ImVector<ushort> p)
|
|
{
|
|
fixed (ImVector<ushort>* pp = &p)
|
|
{
|
|
ImVectorImWcharUnInitNative((ImVector<ushort>*)pp);
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|