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