Dalamud/imgui/Dalamud.ImGui/Internals/Functions/Functions.016.cs
2025-04-06 20:59:23 +02:00

4968 lines
140 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>
public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, string label, string labelEnd)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte* pStr1 = null;
int pStrSize1 = 0;
if (labelEnd != null)
{
pStrSize1 = Utils.GetByteCountUTF8(labelEnd);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc<byte>(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(labelEnd, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
byte ret = TreeNodeBehaviorNative(id, flags, pStr0, pStr1);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, ref byte label, ReadOnlySpan<byte> labelEnd)
{
fixed (byte* plabel = &label)
{
fixed (byte* plabelEnd = labelEnd)
{
byte ret = TreeNodeBehaviorNative(id, flags, (byte*)plabel, (byte*)plabelEnd);
return ret != 0;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, ref byte label, string labelEnd)
{
fixed (byte* plabel = &label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = TreeNodeBehaviorNative(id, flags, (byte*)plabel, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, ReadOnlySpan<byte> label, ref byte labelEnd)
{
fixed (byte* plabel = label)
{
fixed (byte* plabelEnd = &labelEnd)
{
byte ret = TreeNodeBehaviorNative(id, flags, (byte*)plabel, (byte*)plabelEnd);
return ret != 0;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, ReadOnlySpan<byte> label, string labelEnd)
{
fixed (byte* plabel = label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (labelEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(labelEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(labelEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = TreeNodeBehaviorNative(id, flags, (byte*)plabel, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, string label, ref byte labelEnd)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* plabelEnd = &labelEnd)
{
byte ret = TreeNodeBehaviorNative(id, flags, pStr0, (byte*)plabelEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, string label, ReadOnlySpan<byte> labelEnd)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* plabelEnd = labelEnd)
{
byte ret = TreeNodeBehaviorNative(id, flags, pStr0, (byte*)plabelEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte TreeNodeBehaviorIsOpenNative(uint id, ImGuiTreeNodeFlags flags)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl]<uint, ImGuiTreeNodeFlags, byte>)funcTable[1212])(id, flags);
#else
return (byte)((delegate* unmanaged[Cdecl]<uint, ImGuiTreeNodeFlags, byte>)funcTable[1212])(id, flags);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TreeNodeBehaviorIsOpen(uint id, ImGuiTreeNodeFlags flags)
{
byte ret = TreeNodeBehaviorIsOpenNative(id, flags);
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TreeNodeBehaviorIsOpen(uint id)
{
byte ret = TreeNodeBehaviorIsOpenNative(id, (ImGuiTreeNodeFlags)(0));
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void TreePushOverrideIDNative(uint id)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<uint, void>)funcTable[1213])(id);
#else
((delegate* unmanaged[Cdecl]<uint, void>)funcTable[1213])(id);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void TreePushOverrideID(uint id)
{
TreePushOverrideIDNative(id);
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImGuiDataTypeInfo* DataTypeGetInfoNative(ImGuiDataType dataType)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl]<ImGuiDataType, ImGuiDataTypeInfo*>)funcTable[1214])(dataType);
#else
return (ImGuiDataTypeInfo*)((delegate* unmanaged[Cdecl]<ImGuiDataType, nint>)funcTable[1214])(dataType);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static ImGuiDataTypeInfoPtr DataTypeGetInfo(ImGuiDataType dataType)
{
ImGuiDataTypeInfoPtr ret = DataTypeGetInfoNative(dataType);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DataTypeApplyOpNative(ImGuiDataType dataType, int op, void* output, void* arg1, void* arg2)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImGuiDataType, int, void*, void*, void*, void>)funcTable[1215])(dataType, op, output, arg1, arg2);
#else
((delegate* unmanaged[Cdecl]<ImGuiDataType, int, nint, nint, nint, void>)funcTable[1215])(dataType, op, (nint)output, (nint)arg1, (nint)arg2);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DataTypeApplyOp(ImGuiDataType dataType, int op, void* output, void* arg1, void* arg2)
{
DataTypeApplyOpNative(dataType, op, output, arg1, arg2);
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte DataTypeApplyFromTextNative(byte* buf, ImGuiDataType dataType, void* pData, byte* format)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl]<byte*, ImGuiDataType, void*, byte*, byte>)funcTable[1216])(buf, dataType, pData, format);
#else
return (byte)((delegate* unmanaged[Cdecl]<nint, ImGuiDataType, nint, nint, byte>)funcTable[1216])((nint)buf, dataType, (nint)pData, (nint)format);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static bool DataTypeApplyFromText(byte* buf, ImGuiDataType dataType, void* pData, byte* format)
{
byte ret = DataTypeApplyFromTextNative(buf, dataType, pData, format);
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
public static bool DataTypeApplyFromText(ref byte buf, ImGuiDataType dataType, void* pData, byte* format)
{
fixed (byte* pbuf = &buf)
{
byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, format);
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool DataTypeApplyFromText(ReadOnlySpan<byte> buf, ImGuiDataType dataType, void* pData, byte* format)
{
fixed (byte* pbuf = buf)
{
byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, format);
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool DataTypeApplyFromText(string buf, ImGuiDataType dataType, void* pData, byte* format)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (buf != null)
{
pStrSize0 = Utils.GetByteCountUTF8(buf);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = DataTypeApplyFromTextNative(pStr0, dataType, pData, format);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
public static bool DataTypeApplyFromText(byte* buf, ImGuiDataType dataType, void* pData, ref byte format)
{
fixed (byte* pformat = &format)
{
byte ret = DataTypeApplyFromTextNative(buf, dataType, pData, (byte*)pformat);
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool DataTypeApplyFromText(byte* buf, ImGuiDataType dataType, void* pData, ReadOnlySpan<byte> format)
{
fixed (byte* pformat = format)
{
byte ret = DataTypeApplyFromTextNative(buf, dataType, pData, (byte*)pformat);
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool DataTypeApplyFromText(byte* buf, ImGuiDataType dataType, void* pData, string format)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (format != null)
{
pStrSize0 = Utils.GetByteCountUTF8(format);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = DataTypeApplyFromTextNative(buf, dataType, pData, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
public static bool DataTypeApplyFromText(ref byte buf, ImGuiDataType dataType, void* pData, ref byte format)
{
fixed (byte* pbuf = &buf)
{
fixed (byte* pformat = &format)
{
byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, (byte*)pformat);
return ret != 0;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool DataTypeApplyFromText(ReadOnlySpan<byte> buf, ImGuiDataType dataType, void* pData, ReadOnlySpan<byte> format)
{
fixed (byte* pbuf = buf)
{
fixed (byte* pformat = format)
{
byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, (byte*)pformat);
return ret != 0;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool DataTypeApplyFromText(string buf, ImGuiDataType dataType, void* pData, string format)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (buf != null)
{
pStrSize0 = Utils.GetByteCountUTF8(buf);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte* pStr1 = null;
int pStrSize1 = 0;
if (format != null)
{
pStrSize1 = Utils.GetByteCountUTF8(format);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc<byte>(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
byte ret = DataTypeApplyFromTextNative(pStr0, dataType, pData, pStr1);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
public static bool DataTypeApplyFromText(ref byte buf, ImGuiDataType dataType, void* pData, ReadOnlySpan<byte> format)
{
fixed (byte* pbuf = &buf)
{
fixed (byte* pformat = format)
{
byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, (byte*)pformat);
return ret != 0;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool DataTypeApplyFromText(ref byte buf, ImGuiDataType dataType, void* pData, string format)
{
fixed (byte* pbuf = &buf)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (format != null)
{
pStrSize0 = Utils.GetByteCountUTF8(format);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool DataTypeApplyFromText(ReadOnlySpan<byte> buf, ImGuiDataType dataType, void* pData, ref byte format)
{
fixed (byte* pbuf = buf)
{
fixed (byte* pformat = &format)
{
byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, (byte*)pformat);
return ret != 0;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool DataTypeApplyFromText(ReadOnlySpan<byte> buf, ImGuiDataType dataType, void* pData, string format)
{
fixed (byte* pbuf = buf)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (format != null)
{
pStrSize0 = Utils.GetByteCountUTF8(format);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool DataTypeApplyFromText(string buf, ImGuiDataType dataType, void* pData, ref byte format)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (buf != null)
{
pStrSize0 = Utils.GetByteCountUTF8(buf);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pformat = &format)
{
byte ret = DataTypeApplyFromTextNative(pStr0, dataType, pData, (byte*)pformat);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool DataTypeApplyFromText(string buf, ImGuiDataType dataType, void* pData, ReadOnlySpan<byte> format)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (buf != null)
{
pStrSize0 = Utils.GetByteCountUTF8(buf);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pformat = format)
{
byte ret = DataTypeApplyFromTextNative(pStr0, dataType, pData, (byte*)pformat);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static int DataTypeCompareNative(ImGuiDataType dataType, void* arg1, void* arg2)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl]<ImGuiDataType, void*, void*, int>)funcTable[1217])(dataType, arg1, arg2);
#else
return (int)((delegate* unmanaged[Cdecl]<ImGuiDataType, nint, nint, int>)funcTable[1217])(dataType, (nint)arg1, (nint)arg2);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static int DataTypeCompare(ImGuiDataType dataType, void* arg1, void* arg2)
{
int ret = DataTypeCompareNative(dataType, arg1, arg2);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte DataTypeClampNative(ImGuiDataType dataType, void* pData, void* pMin, void* pMax)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl]<ImGuiDataType, void*, void*, void*, byte>)funcTable[1218])(dataType, pData, pMin, pMax);
#else
return (byte)((delegate* unmanaged[Cdecl]<ImGuiDataType, nint, nint, nint, byte>)funcTable[1218])(dataType, (nint)pData, (nint)pMin, (nint)pMax);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static bool DataTypeClamp(ImGuiDataType dataType, void* pData, void* pMin, void* pMax)
{
byte ret = DataTypeClampNative(dataType, pData, pMin, pMax);
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte TempInputScalarNative(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, byte* format, void* pClampMin, void* pClampMax)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl]<ImRect, uint, byte*, ImGuiDataType, void*, byte*, void*, void*, byte>)funcTable[1219])(bb, id, label, dataType, pData, format, pClampMin, pClampMax);
#else
return (byte)((delegate* unmanaged[Cdecl]<ImRect, uint, nint, ImGuiDataType, nint, nint, nint, nint, byte>)funcTable[1219])(bb, id, (nint)label, dataType, (nint)pData, (nint)format, (nint)pClampMin, (nint)pClampMax);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, byte* format, void* pClampMin, void* pClampMax)
{
byte ret = TempInputScalarNative(bb, id, label, dataType, pData, format, pClampMin, pClampMax);
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, byte* format, void* pClampMin)
{
byte ret = TempInputScalarNative(bb, id, label, dataType, pData, format, pClampMin, (void*)(default));
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, byte* format)
{
byte ret = TempInputScalarNative(bb, id, label, dataType, pData, format, (void*)(default), (void*)(default));
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, byte* format, void* pClampMin, void* pClampMax)
{
fixed (byte* plabel = &label)
{
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, format, pClampMin, pClampMax);
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, byte* format, void* pClampMin)
{
fixed (byte* plabel = &label)
{
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, format, pClampMin, (void*)(default));
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, byte* format)
{
fixed (byte* plabel = &label)
{
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, format, (void*)(default), (void*)(default));
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan<byte> label, ImGuiDataType dataType, void* pData, byte* format, void* pClampMin, void* pClampMax)
{
fixed (byte* plabel = label)
{
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, format, pClampMin, pClampMax);
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan<byte> label, ImGuiDataType dataType, void* pData, byte* format, void* pClampMin)
{
fixed (byte* plabel = label)
{
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, format, pClampMin, (void*)(default));
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan<byte> label, ImGuiDataType dataType, void* pData, byte* format)
{
fixed (byte* plabel = label)
{
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, format, (void*)(default), (void*)(default));
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, byte* format, void* pClampMin, void* pClampMax)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, format, pClampMin, pClampMax);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, byte* format, void* pClampMin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, format, pClampMin, (void*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, byte* format)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, format, (void*)(default), (void*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, ref byte format, void* pClampMin, void* pClampMax)
{
fixed (byte* pformat = &format)
{
byte ret = TempInputScalarNative(bb, id, label, dataType, pData, (byte*)pformat, pClampMin, pClampMax);
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, ref byte format, void* pClampMin)
{
fixed (byte* pformat = &format)
{
byte ret = TempInputScalarNative(bb, id, label, dataType, pData, (byte*)pformat, pClampMin, (void*)(default));
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, ref byte format)
{
fixed (byte* pformat = &format)
{
byte ret = TempInputScalarNative(bb, id, label, dataType, pData, (byte*)pformat, (void*)(default), (void*)(default));
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, ReadOnlySpan<byte> format, void* pClampMin, void* pClampMax)
{
fixed (byte* pformat = format)
{
byte ret = TempInputScalarNative(bb, id, label, dataType, pData, (byte*)pformat, pClampMin, pClampMax);
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, ReadOnlySpan<byte> format, void* pClampMin)
{
fixed (byte* pformat = format)
{
byte ret = TempInputScalarNative(bb, id, label, dataType, pData, (byte*)pformat, pClampMin, (void*)(default));
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, ReadOnlySpan<byte> format)
{
fixed (byte* pformat = format)
{
byte ret = TempInputScalarNative(bb, id, label, dataType, pData, (byte*)pformat, (void*)(default), (void*)(default));
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, string format, void* pClampMin, void* pClampMax)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (format != null)
{
pStrSize0 = Utils.GetByteCountUTF8(format);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = TempInputScalarNative(bb, id, label, dataType, pData, pStr0, pClampMin, pClampMax);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, string format, void* pClampMin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (format != null)
{
pStrSize0 = Utils.GetByteCountUTF8(format);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = TempInputScalarNative(bb, id, label, dataType, pData, pStr0, pClampMin, (void*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, string format)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (format != null)
{
pStrSize0 = Utils.GetByteCountUTF8(format);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = TempInputScalarNative(bb, id, label, dataType, pData, pStr0, (void*)(default), (void*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, ref byte format, void* pClampMin, void* pClampMax)
{
fixed (byte* plabel = &label)
{
fixed (byte* pformat = &format)
{
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, pClampMin, pClampMax);
return ret != 0;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, ref byte format, void* pClampMin)
{
fixed (byte* plabel = &label)
{
fixed (byte* pformat = &format)
{
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, pClampMin, (void*)(default));
return ret != 0;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, ref byte format)
{
fixed (byte* plabel = &label)
{
fixed (byte* pformat = &format)
{
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, (void*)(default), (void*)(default));
return ret != 0;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan<byte> label, ImGuiDataType dataType, void* pData, ReadOnlySpan<byte> format, void* pClampMin, void* pClampMax)
{
fixed (byte* plabel = label)
{
fixed (byte* pformat = format)
{
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, pClampMin, pClampMax);
return ret != 0;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan<byte> label, ImGuiDataType dataType, void* pData, ReadOnlySpan<byte> format, void* pClampMin)
{
fixed (byte* plabel = label)
{
fixed (byte* pformat = format)
{
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, pClampMin, (void*)(default));
return ret != 0;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan<byte> label, ImGuiDataType dataType, void* pData, ReadOnlySpan<byte> format)
{
fixed (byte* plabel = label)
{
fixed (byte* pformat = format)
{
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, (void*)(default), (void*)(default));
return ret != 0;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, string format, void* pClampMin, void* pClampMax)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte* pStr1 = null;
int pStrSize1 = 0;
if (format != null)
{
pStrSize1 = Utils.GetByteCountUTF8(format);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc<byte>(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, pStr1, pClampMin, pClampMax);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, string format, void* pClampMin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte* pStr1 = null;
int pStrSize1 = 0;
if (format != null)
{
pStrSize1 = Utils.GetByteCountUTF8(format);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc<byte>(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, pStr1, pClampMin, (void*)(default));
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, string format)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte* pStr1 = null;
int pStrSize1 = 0;
if (format != null)
{
pStrSize1 = Utils.GetByteCountUTF8(format);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc<byte>(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, pStr1, (void*)(default), (void*)(default));
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, ReadOnlySpan<byte> format, void* pClampMin, void* pClampMax)
{
fixed (byte* plabel = &label)
{
fixed (byte* pformat = format)
{
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, pClampMin, pClampMax);
return ret != 0;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, ReadOnlySpan<byte> format, void* pClampMin)
{
fixed (byte* plabel = &label)
{
fixed (byte* pformat = format)
{
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, pClampMin, (void*)(default));
return ret != 0;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, ReadOnlySpan<byte> format)
{
fixed (byte* plabel = &label)
{
fixed (byte* pformat = format)
{
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, (void*)(default), (void*)(default));
return ret != 0;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, string format, void* pClampMin, void* pClampMax)
{
fixed (byte* plabel = &label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (format != null)
{
pStrSize0 = Utils.GetByteCountUTF8(format);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, pStr0, pClampMin, pClampMax);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, string format, void* pClampMin)
{
fixed (byte* plabel = &label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (format != null)
{
pStrSize0 = Utils.GetByteCountUTF8(format);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, pStr0, pClampMin, (void*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, string format)
{
fixed (byte* plabel = &label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (format != null)
{
pStrSize0 = Utils.GetByteCountUTF8(format);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, pStr0, (void*)(default), (void*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan<byte> label, ImGuiDataType dataType, void* pData, ref byte format, void* pClampMin, void* pClampMax)
{
fixed (byte* plabel = label)
{
fixed (byte* pformat = &format)
{
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, pClampMin, pClampMax);
return ret != 0;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan<byte> label, ImGuiDataType dataType, void* pData, ref byte format, void* pClampMin)
{
fixed (byte* plabel = label)
{
fixed (byte* pformat = &format)
{
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, pClampMin, (void*)(default));
return ret != 0;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan<byte> label, ImGuiDataType dataType, void* pData, ref byte format)
{
fixed (byte* plabel = label)
{
fixed (byte* pformat = &format)
{
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, (void*)(default), (void*)(default));
return ret != 0;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan<byte> label, ImGuiDataType dataType, void* pData, string format, void* pClampMin, void* pClampMax)
{
fixed (byte* plabel = label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (format != null)
{
pStrSize0 = Utils.GetByteCountUTF8(format);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, pStr0, pClampMin, pClampMax);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan<byte> label, ImGuiDataType dataType, void* pData, string format, void* pClampMin)
{
fixed (byte* plabel = label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (format != null)
{
pStrSize0 = Utils.GetByteCountUTF8(format);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, pStr0, pClampMin, (void*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan<byte> label, ImGuiDataType dataType, void* pData, string format)
{
fixed (byte* plabel = label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (format != null)
{
pStrSize0 = Utils.GetByteCountUTF8(format);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, pStr0, (void*)(default), (void*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, ref byte format, void* pClampMin, void* pClampMax)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pformat = &format)
{
byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, (byte*)pformat, pClampMin, pClampMax);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, ref byte format, void* pClampMin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pformat = &format)
{
byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, (byte*)pformat, pClampMin, (void*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, ref byte format)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pformat = &format)
{
byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, (byte*)pformat, (void*)(default), (void*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, ReadOnlySpan<byte> format, void* pClampMin, void* pClampMax)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pformat = format)
{
byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, (byte*)pformat, pClampMin, pClampMax);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, ReadOnlySpan<byte> format, void* pClampMin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pformat = format)
{
byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, (byte*)pformat, pClampMin, (void*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, ReadOnlySpan<byte> format)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pformat = format)
{
byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, (byte*)pformat, (void*)(default), (void*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte TempInputIsActiveNative(uint id)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl]<uint, byte>)funcTable[1220])(id);
#else
return (byte)((delegate* unmanaged[Cdecl]<uint, byte>)funcTable[1220])(id);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static bool TempInputIsActive(uint id)
{
byte ret = TempInputIsActiveNative(id);
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImGuiInputTextState* GetInputTextStateNative(uint id)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl]<uint, ImGuiInputTextState*>)funcTable[1221])(id);
#else
return (ImGuiInputTextState*)((delegate* unmanaged[Cdecl]<uint, nint>)funcTable[1221])(id);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static ImGuiInputTextStatePtr GetInputTextState(uint id)
{
ImGuiInputTextStatePtr ret = GetInputTextStateNative(id);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ColorTooltipNative(byte* text, float* col, ImGuiColorEditFlags flags)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<byte*, float*, ImGuiColorEditFlags, void>)funcTable[1222])(text, col, flags);
#else
((delegate* unmanaged[Cdecl]<nint, nint, ImGuiColorEditFlags, void>)funcTable[1222])((nint)text, (nint)col, flags);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void ColorTooltip(byte* text, float* col, ImGuiColorEditFlags flags)
{
ColorTooltipNative(text, col, flags);
}
/// <summary>
/// To be documented.
/// </summary>
public static void ColorTooltip(ref byte text, float* col, ImGuiColorEditFlags flags)
{
fixed (byte* ptext = &text)
{
ColorTooltipNative((byte*)ptext, col, flags);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void ColorTooltip(ReadOnlySpan<byte> text, float* col, ImGuiColorEditFlags flags)
{
fixed (byte* ptext = text)
{
ColorTooltipNative((byte*)ptext, col, flags);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void ColorTooltip(string text, float* col, ImGuiColorEditFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (text != null)
{
pStrSize0 = Utils.GetByteCountUTF8(text);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ColorTooltipNative(pStr0, col, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void ColorTooltip(byte* text, ref float col, ImGuiColorEditFlags flags)
{
fixed (float* pcol = &col)
{
ColorTooltipNative(text, (float*)pcol, flags);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void ColorTooltip(ref byte text, ref float col, ImGuiColorEditFlags flags)
{
fixed (byte* ptext = &text)
{
fixed (float* pcol = &col)
{
ColorTooltipNative((byte*)ptext, (float*)pcol, flags);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void ColorTooltip(ReadOnlySpan<byte> text, ref float col, ImGuiColorEditFlags flags)
{
fixed (byte* ptext = text)
{
fixed (float* pcol = &col)
{
ColorTooltipNative((byte*)ptext, (float*)pcol, flags);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void ColorTooltip(string text, ref float col, ImGuiColorEditFlags flags)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (text != null)
{
pStrSize0 = Utils.GetByteCountUTF8(text);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (float* pcol = &col)
{
ColorTooltipNative(pStr0, (float*)pcol, flags);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ColorEditOptionsPopupNative(float* col, ImGuiColorEditFlags flags)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<float*, ImGuiColorEditFlags, void>)funcTable[1223])(col, flags);
#else
((delegate* unmanaged[Cdecl]<nint, ImGuiColorEditFlags, void>)funcTable[1223])((nint)col, flags);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void ColorEditOptionsPopup(float* col, ImGuiColorEditFlags flags)
{
ColorEditOptionsPopupNative(col, flags);
}
/// <summary>
/// To be documented.
/// </summary>
public static void ColorEditOptionsPopup(ref float col, ImGuiColorEditFlags flags)
{
fixed (float* pcol = &col)
{
ColorEditOptionsPopupNative((float*)pcol, flags);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ColorPickerOptionsPopupNative(float* refCol, ImGuiColorEditFlags flags)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<float*, ImGuiColorEditFlags, void>)funcTable[1224])(refCol, flags);
#else
((delegate* unmanaged[Cdecl]<nint, ImGuiColorEditFlags, void>)funcTable[1224])((nint)refCol, flags);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void ColorPickerOptionsPopup(float* refCol, ImGuiColorEditFlags flags)
{
ColorPickerOptionsPopupNative(refCol, flags);
}
/// <summary>
/// To be documented.
/// </summary>
public static void ColorPickerOptionsPopup(ref float refCol, ImGuiColorEditFlags flags)
{
fixed (float* prefCol = &refCol)
{
ColorPickerOptionsPopupNative((float*)prefCol, flags);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static int PlotExNative(ImGuiPlotType plotType, byte* label, delegate*<ImGuiPlotType, byte*, delegate*<void*, int, float>, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 frameSize)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl]<ImGuiPlotType, byte*, delegate*<ImGuiPlotType, byte*, delegate*<void*, int, float>, void*, int, int, byte*, float, float, Vector2, float>, void*, int, int, byte*, float, float, Vector2, int>)funcTable[1225])(plotType, label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, frameSize);
#else
return (int)((delegate* unmanaged[Cdecl]<ImGuiPlotType, nint, nint, nint, int, int, nint, float, float, Vector2, int>)funcTable[1225])(plotType, (nint)label, (nint)valuesGetter, (nint)data, valuesCount, valuesOffset, (nint)overlayText, scaleMin, scaleMax, frameSize);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static int PlotEx(ImGuiPlotType plotType, byte* label, delegate*<ImGuiPlotType, byte*, delegate*<void*, int, float>, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 frameSize)
{
int ret = PlotExNative(plotType, label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, frameSize);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static int PlotEx(ImGuiPlotType plotType, ref byte label, delegate*<ImGuiPlotType, byte*, delegate*<void*, int, float>, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 frameSize)
{
fixed (byte* plabel = &label)
{
int ret = PlotExNative(plotType, (byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, frameSize);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static int PlotEx(ImGuiPlotType plotType, ReadOnlySpan<byte> label, delegate*<ImGuiPlotType, byte*, delegate*<void*, int, float>, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 frameSize)
{
fixed (byte* plabel = label)
{
int ret = PlotExNative(plotType, (byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, frameSize);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static int PlotEx(ImGuiPlotType plotType, string label, delegate*<ImGuiPlotType, byte*, delegate*<void*, int, float>, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 frameSize)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
int ret = PlotExNative(plotType, pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, frameSize);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static int PlotEx(ImGuiPlotType plotType, byte* label, delegate*<ImGuiPlotType, byte*, delegate*<void*, int, float>, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 frameSize)
{
fixed (byte* poverlayText = &overlayText)
{
int ret = PlotExNative(plotType, label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, frameSize);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static int PlotEx(ImGuiPlotType plotType, byte* label, delegate*<ImGuiPlotType, byte*, delegate*<void*, int, float>, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan<byte> overlayText, float scaleMin, float scaleMax, Vector2 frameSize)
{
fixed (byte* poverlayText = overlayText)
{
int ret = PlotExNative(plotType, label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, frameSize);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static int PlotEx(ImGuiPlotType plotType, byte* label, delegate*<ImGuiPlotType, byte*, delegate*<void*, int, float>, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 frameSize)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (overlayText != null)
{
pStrSize0 = Utils.GetByteCountUTF8(overlayText);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
int ret = PlotExNative(plotType, label, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, frameSize);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static int PlotEx(ImGuiPlotType plotType, ref byte label, delegate*<ImGuiPlotType, byte*, delegate*<void*, int, float>, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 frameSize)
{
fixed (byte* plabel = &label)
{
fixed (byte* poverlayText = &overlayText)
{
int ret = PlotExNative(plotType, (byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, frameSize);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static int PlotEx(ImGuiPlotType plotType, ReadOnlySpan<byte> label, delegate*<ImGuiPlotType, byte*, delegate*<void*, int, float>, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan<byte> overlayText, float scaleMin, float scaleMax, Vector2 frameSize)
{
fixed (byte* plabel = label)
{
fixed (byte* poverlayText = overlayText)
{
int ret = PlotExNative(plotType, (byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, frameSize);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static int PlotEx(ImGuiPlotType plotType, string label, delegate*<ImGuiPlotType, byte*, delegate*<void*, int, float>, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 frameSize)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte* pStr1 = null;
int pStrSize1 = 0;
if (overlayText != null)
{
pStrSize1 = Utils.GetByteCountUTF8(overlayText);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc<byte>(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
int ret = PlotExNative(plotType, pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, frameSize);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static int PlotEx(ImGuiPlotType plotType, ref byte label, delegate*<ImGuiPlotType, byte*, delegate*<void*, int, float>, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan<byte> overlayText, float scaleMin, float scaleMax, Vector2 frameSize)
{
fixed (byte* plabel = &label)
{
fixed (byte* poverlayText = overlayText)
{
int ret = PlotExNative(plotType, (byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, frameSize);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static int PlotEx(ImGuiPlotType plotType, ref byte label, delegate*<ImGuiPlotType, byte*, delegate*<void*, int, float>, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 frameSize)
{
fixed (byte* plabel = &label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (overlayText != null)
{
pStrSize0 = Utils.GetByteCountUTF8(overlayText);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
int ret = PlotExNative(plotType, (byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, frameSize);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static int PlotEx(ImGuiPlotType plotType, ReadOnlySpan<byte> label, delegate*<ImGuiPlotType, byte*, delegate*<void*, int, float>, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 frameSize)
{
fixed (byte* plabel = label)
{
fixed (byte* poverlayText = &overlayText)
{
int ret = PlotExNative(plotType, (byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, frameSize);
return ret;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static int PlotEx(ImGuiPlotType plotType, ReadOnlySpan<byte> label, delegate*<ImGuiPlotType, byte*, delegate*<void*, int, float>, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 frameSize)
{
fixed (byte* plabel = label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (overlayText != null)
{
pStrSize0 = Utils.GetByteCountUTF8(overlayText);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
int ret = PlotExNative(plotType, (byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, frameSize);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static int PlotEx(ImGuiPlotType plotType, string label, delegate*<ImGuiPlotType, byte*, delegate*<void*, int, float>, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 frameSize)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* poverlayText = &overlayText)
{
int ret = PlotExNative(plotType, pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, frameSize);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
public static int PlotEx(ImGuiPlotType plotType, string label, delegate*<ImGuiPlotType, byte*, delegate*<void*, int, float>, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan<byte> overlayText, float scaleMin, float scaleMax, Vector2 frameSize)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* poverlayText = overlayText)
{
int ret = PlotExNative(plotType, pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, frameSize);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ShadeVertsLinearColorGradientKeepAlphaNative(ImDrawList* drawList, int vertStartIdx, int vertEndIdx, Vector2 gradientp0, Vector2 gradientp1, uint col0, uint col1)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, int, int, Vector2, Vector2, uint, uint, void>)funcTable[1226])(drawList, vertStartIdx, vertEndIdx, gradientp0, gradientp1, col0, col1);
#else
((delegate* unmanaged[Cdecl]<nint, int, int, Vector2, Vector2, uint, uint, void>)funcTable[1226])((nint)drawList, vertStartIdx, vertEndIdx, gradientp0, gradientp1, col0, col1);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void ShadeVertsLinearColorGradientKeepAlpha(ImDrawListPtr drawList, int vertStartIdx, int vertEndIdx, Vector2 gradientp0, Vector2 gradientp1, uint col0, uint col1)
{
ShadeVertsLinearColorGradientKeepAlphaNative(drawList, vertStartIdx, vertEndIdx, gradientp0, gradientp1, col0, col1);
}
/// <summary>
/// To be documented.
/// </summary>
public static void ShadeVertsLinearColorGradientKeepAlpha(ref ImDrawList drawList, int vertStartIdx, int vertEndIdx, Vector2 gradientp0, Vector2 gradientp1, uint col0, uint col1)
{
fixed (ImDrawList* pdrawList = &drawList)
{
ShadeVertsLinearColorGradientKeepAlphaNative((ImDrawList*)pdrawList, vertStartIdx, vertEndIdx, gradientp0, gradientp1, col0, col1);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ShadeVertsLinearUVNative(ImDrawList* drawList, int vertStartIdx, int vertEndIdx, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, byte clamp)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, int, int, Vector2, Vector2, Vector2, Vector2, byte, void>)funcTable[1227])(drawList, vertStartIdx, vertEndIdx, a, b, uvA, uvB, clamp);
#else
((delegate* unmanaged[Cdecl]<nint, int, int, Vector2, Vector2, Vector2, Vector2, byte, void>)funcTable[1227])((nint)drawList, vertStartIdx, vertEndIdx, a, b, uvA, uvB, clamp);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void ShadeVertsLinearUV(ImDrawListPtr drawList, int vertStartIdx, int vertEndIdx, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, bool clamp)
{
ShadeVertsLinearUVNative(drawList, vertStartIdx, vertEndIdx, a, b, uvA, uvB, clamp ? (byte)1 : (byte)0);
}
/// <summary>
/// To be documented.
/// </summary>
public static void ShadeVertsLinearUV(ref ImDrawList drawList, int vertStartIdx, int vertEndIdx, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, bool clamp)
{
fixed (ImDrawList* pdrawList = &drawList)
{
ShadeVertsLinearUVNative((ImDrawList*)pdrawList, vertStartIdx, vertEndIdx, a, b, uvA, uvB, clamp ? (byte)1 : (byte)0);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void GcCompactTransientMiscBuffersNative()
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<void>)funcTable[1228])();
#else
((delegate* unmanaged[Cdecl]<void>)funcTable[1228])();
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void GcCompactTransientMiscBuffers()
{
GcCompactTransientMiscBuffersNative();
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void GcCompactTransientWindowBuffersNative(ImGuiWindow* window)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImGuiWindow*, void>)funcTable[1229])(window);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[1229])((nint)window);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void GcCompactTransientWindowBuffers(ImGuiWindowPtr window)
{
GcCompactTransientWindowBuffersNative(window);
}
/// <summary>
/// To be documented.
/// </summary>
public static void GcCompactTransientWindowBuffers(ref ImGuiWindow window)
{
fixed (ImGuiWindow* pwindow = &window)
{
GcCompactTransientWindowBuffersNative((ImGuiWindow*)pwindow);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void GcAwakeTransientWindowBuffersNative(ImGuiWindow* window)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImGuiWindow*, void>)funcTable[1230])(window);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[1230])((nint)window);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void GcAwakeTransientWindowBuffers(ImGuiWindowPtr window)
{
GcAwakeTransientWindowBuffersNative(window);
}
/// <summary>
/// To be documented.
/// </summary>
public static void GcAwakeTransientWindowBuffers(ref ImGuiWindow window)
{
fixed (ImGuiWindow* pwindow = &window)
{
GcAwakeTransientWindowBuffersNative((ImGuiWindow*)pwindow);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugLogNative(byte* fmt)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<byte*, void>)funcTable[1231])(fmt);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[1231])((nint)fmt);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugLog(byte* fmt)
{
DebugLogNative(fmt);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugLog(ref byte fmt)
{
fixed (byte* pfmt = &fmt)
{
DebugLogNative((byte*)pfmt);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugLog(ReadOnlySpan<byte> fmt)
{
fixed (byte* pfmt = fmt)
{
DebugLogNative((byte*)pfmt);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugLog(string fmt)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (fmt != null)
{
pStrSize0 = Utils.GetByteCountUTF8(fmt);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugLogNative(pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugLogVNative(byte* fmt, nuint args)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<byte*, nuint, void>)funcTable[1232])(fmt, args);
#else
((delegate* unmanaged[Cdecl]<nint, nuint, void>)funcTable[1232])((nint)fmt, args);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugLogV(byte* fmt, nuint args)
{
DebugLogVNative(fmt, args);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugLogV(ref byte fmt, nuint args)
{
fixed (byte* pfmt = &fmt)
{
DebugLogVNative((byte*)pfmt, args);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugLogV(ReadOnlySpan<byte> fmt, nuint args)
{
fixed (byte* pfmt = fmt)
{
DebugLogVNative((byte*)pfmt, args);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugLogV(string fmt, nuint args)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (fmt != null)
{
pStrSize0 = Utils.GetByteCountUTF8(fmt);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugLogVNative(pStr0, args);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ErrorCheckEndFrameRecoverNative(ImGuiErrorLogCallback logCallback, void* userData)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<delegate*<void*, byte*, void>, void*, void>)funcTable[1233])((delegate*<void*, byte*, void>)Utils.GetFunctionPointerForDelegate(logCallback), userData);
#else
((delegate* unmanaged[Cdecl]<nint, nint, void>)funcTable[1233])((nint)Utils.GetFunctionPointerForDelegate(logCallback), (nint)userData);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void ErrorCheckEndFrameRecover(ImGuiErrorLogCallback logCallback, void* userData)
{
ErrorCheckEndFrameRecoverNative(logCallback, userData);
}
/// <summary>
/// To be documented.
/// </summary>
public static void ErrorCheckEndFrameRecover(ImGuiErrorLogCallback logCallback)
{
ErrorCheckEndFrameRecoverNative(logCallback, (void*)(default));
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ErrorCheckEndWindowRecoverNative(ImGuiErrorLogCallback logCallback, void* userData)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<delegate*<void*, byte*, void>, void*, void>)funcTable[1234])((delegate*<void*, byte*, void>)Utils.GetFunctionPointerForDelegate(logCallback), userData);
#else
((delegate* unmanaged[Cdecl]<nint, nint, void>)funcTable[1234])((nint)Utils.GetFunctionPointerForDelegate(logCallback), (nint)userData);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void ErrorCheckEndWindowRecover(ImGuiErrorLogCallback logCallback, void* userData)
{
ErrorCheckEndWindowRecoverNative(logCallback, userData);
}
/// <summary>
/// To be documented.
/// </summary>
public static void ErrorCheckEndWindowRecover(ImGuiErrorLogCallback logCallback)
{
ErrorCheckEndWindowRecoverNative(logCallback, (void*)(default));
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugDrawItemRectNative(uint col)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<uint, void>)funcTable[1235])(col);
#else
((delegate* unmanaged[Cdecl]<uint, void>)funcTable[1235])(col);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugDrawItemRect(uint col)
{
DebugDrawItemRectNative(col);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugDrawItemRect()
{
DebugDrawItemRectNative((uint)(4278190335));
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugStartItemPickerNative()
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<void>)funcTable[1236])();
#else
((delegate* unmanaged[Cdecl]<void>)funcTable[1236])();
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugStartItemPicker()
{
DebugStartItemPickerNative();
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ShowFontAtlasNative(ImFontAtlas* atlas)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImFontAtlas*, void>)funcTable[1237])(atlas);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[1237])((nint)atlas);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void ShowFontAtlas(ImFontAtlasPtr atlas)
{
ShowFontAtlasNative(atlas);
}
/// <summary>
/// To be documented.
/// </summary>
public static void ShowFontAtlas(ref ImFontAtlas atlas)
{
fixed (ImFontAtlas* patlas = &atlas)
{
ShowFontAtlasNative((ImFontAtlas*)patlas);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugHookIdInfoNative(uint id, ImGuiDataType dataType, void* dataId, void* dataIdEnd)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<uint, ImGuiDataType, void*, void*, void>)funcTable[1238])(id, dataType, dataId, dataIdEnd);
#else
((delegate* unmanaged[Cdecl]<uint, ImGuiDataType, nint, nint, void>)funcTable[1238])(id, dataType, (nint)dataId, (nint)dataIdEnd);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugHookIdInfo(uint id, ImGuiDataType dataType, void* dataId, void* dataIdEnd)
{
DebugHookIdInfoNative(id, dataType, dataId, dataIdEnd);
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeColumnsNative(ImGuiOldColumns* columns)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImGuiOldColumns*, void>)funcTable[1239])(columns);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[1239])((nint)columns);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeColumns(ImGuiOldColumnsPtr columns)
{
DebugNodeColumnsNative(columns);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeColumns(ref ImGuiOldColumns columns)
{
fixed (ImGuiOldColumns* pcolumns = &columns)
{
DebugNodeColumnsNative((ImGuiOldColumns*)pcolumns);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeDockNodeNative(ImGuiDockNode* node, byte* label)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImGuiDockNode*, byte*, void>)funcTable[1240])(node, label);
#else
((delegate* unmanaged[Cdecl]<nint, nint, void>)funcTable[1240])((nint)node, (nint)label);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDockNode(ImGuiDockNodePtr node, byte* label)
{
DebugNodeDockNodeNative(node, label);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDockNode(ref ImGuiDockNode node, byte* label)
{
fixed (ImGuiDockNode* pnode = &node)
{
DebugNodeDockNodeNative((ImGuiDockNode*)pnode, label);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDockNode(ImGuiDockNodePtr node, ref byte label)
{
fixed (byte* plabel = &label)
{
DebugNodeDockNodeNative(node, (byte*)plabel);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDockNode(ImGuiDockNodePtr node, ReadOnlySpan<byte> label)
{
fixed (byte* plabel = label)
{
DebugNodeDockNodeNative(node, (byte*)plabel);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDockNode(ImGuiDockNodePtr node, string label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugNodeDockNodeNative(node, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDockNode(ref ImGuiDockNode node, ref byte label)
{
fixed (ImGuiDockNode* pnode = &node)
{
fixed (byte* plabel = &label)
{
DebugNodeDockNodeNative((ImGuiDockNode*)pnode, (byte*)plabel);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDockNode(ref ImGuiDockNode node, ReadOnlySpan<byte> label)
{
fixed (ImGuiDockNode* pnode = &node)
{
fixed (byte* plabel = label)
{
DebugNodeDockNodeNative((ImGuiDockNode*)pnode, (byte*)plabel);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDockNode(ref ImGuiDockNode node, string label)
{
fixed (ImGuiDockNode* pnode = &node)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugNodeDockNodeNative((ImGuiDockNode*)pnode, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeDrawListNative(ImGuiWindow* window, ImGuiViewportP* viewport, ImDrawList* drawList, byte* label)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImGuiWindow*, ImGuiViewportP*, ImDrawList*, byte*, void>)funcTable[1241])(window, viewport, drawList, label);
#else
((delegate* unmanaged[Cdecl]<nint, nint, nint, nint, void>)funcTable[1241])((nint)window, (nint)viewport, (nint)drawList, (nint)label);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, byte* label)
{
DebugNodeDrawListNative(window, viewport, drawList, label);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ref ImGuiWindow window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, byte* label)
{
fixed (ImGuiWindow* pwindow = &window)
{
DebugNodeDrawListNative((ImGuiWindow*)pwindow, viewport, drawList, label);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ImGuiWindowPtr window, ref ImGuiViewportP viewport, ImDrawListPtr drawList, byte* label)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
DebugNodeDrawListNative(window, (ImGuiViewportP*)pviewport, drawList, label);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ref ImGuiWindow window, ref ImGuiViewportP viewport, ImDrawListPtr drawList, byte* label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
DebugNodeDrawListNative((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport, drawList, label);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ref ImDrawList drawList, byte* label)
{
fixed (ImDrawList* pdrawList = &drawList)
{
DebugNodeDrawListNative(window, viewport, (ImDrawList*)pdrawList, label);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ref ImGuiWindow window, ImGuiViewportPPtr viewport, ref ImDrawList drawList, byte* label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (ImDrawList* pdrawList = &drawList)
{
DebugNodeDrawListNative((ImGuiWindow*)pwindow, viewport, (ImDrawList*)pdrawList, label);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ImGuiWindowPtr window, ref ImGuiViewportP viewport, ref ImDrawList drawList, byte* label)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
fixed (ImDrawList* pdrawList = &drawList)
{
DebugNodeDrawListNative(window, (ImGuiViewportP*)pviewport, (ImDrawList*)pdrawList, label);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ref ImGuiWindow window, ref ImGuiViewportP viewport, ref ImDrawList drawList, byte* label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
fixed (ImDrawList* pdrawList = &drawList)
{
DebugNodeDrawListNative((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport, (ImDrawList*)pdrawList, label);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, ref byte label)
{
fixed (byte* plabel = &label)
{
DebugNodeDrawListNative(window, viewport, drawList, (byte*)plabel);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, ReadOnlySpan<byte> label)
{
fixed (byte* plabel = label)
{
DebugNodeDrawListNative(window, viewport, drawList, (byte*)plabel);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, string label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugNodeDrawListNative(window, viewport, drawList, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ref ImGuiWindow window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, ref byte label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (byte* plabel = &label)
{
DebugNodeDrawListNative((ImGuiWindow*)pwindow, viewport, drawList, (byte*)plabel);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ref ImGuiWindow window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, ReadOnlySpan<byte> label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (byte* plabel = label)
{
DebugNodeDrawListNative((ImGuiWindow*)pwindow, viewport, drawList, (byte*)plabel);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ref ImGuiWindow window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, string label)
{
fixed (ImGuiWindow* pwindow = &window)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugNodeDrawListNative((ImGuiWindow*)pwindow, viewport, drawList, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ImGuiWindowPtr window, ref ImGuiViewportP viewport, ImDrawListPtr drawList, ref byte label)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
fixed (byte* plabel = &label)
{
DebugNodeDrawListNative(window, (ImGuiViewportP*)pviewport, drawList, (byte*)plabel);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ImGuiWindowPtr window, ref ImGuiViewportP viewport, ImDrawListPtr drawList, ReadOnlySpan<byte> label)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
fixed (byte* plabel = label)
{
DebugNodeDrawListNative(window, (ImGuiViewportP*)pviewport, drawList, (byte*)plabel);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ImGuiWindowPtr window, ref ImGuiViewportP viewport, ImDrawListPtr drawList, string label)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugNodeDrawListNative(window, (ImGuiViewportP*)pviewport, drawList, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ref ImGuiWindow window, ref ImGuiViewportP viewport, ImDrawListPtr drawList, ref byte label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
fixed (byte* plabel = &label)
{
DebugNodeDrawListNative((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport, drawList, (byte*)plabel);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ref ImGuiWindow window, ref ImGuiViewportP viewport, ImDrawListPtr drawList, ReadOnlySpan<byte> label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
fixed (byte* plabel = label)
{
DebugNodeDrawListNative((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport, drawList, (byte*)plabel);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ref ImGuiWindow window, ref ImGuiViewportP viewport, ImDrawListPtr drawList, string label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugNodeDrawListNative((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport, drawList, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ref ImDrawList drawList, ref byte label)
{
fixed (ImDrawList* pdrawList = &drawList)
{
fixed (byte* plabel = &label)
{
DebugNodeDrawListNative(window, viewport, (ImDrawList*)pdrawList, (byte*)plabel);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ref ImDrawList drawList, ReadOnlySpan<byte> label)
{
fixed (ImDrawList* pdrawList = &drawList)
{
fixed (byte* plabel = label)
{
DebugNodeDrawListNative(window, viewport, (ImDrawList*)pdrawList, (byte*)plabel);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ref ImDrawList drawList, string label)
{
fixed (ImDrawList* pdrawList = &drawList)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugNodeDrawListNative(window, viewport, (ImDrawList*)pdrawList, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ref ImGuiWindow window, ImGuiViewportPPtr viewport, ref ImDrawList drawList, ref byte label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (ImDrawList* pdrawList = &drawList)
{
fixed (byte* plabel = &label)
{
DebugNodeDrawListNative((ImGuiWindow*)pwindow, viewport, (ImDrawList*)pdrawList, (byte*)plabel);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ref ImGuiWindow window, ImGuiViewportPPtr viewport, ref ImDrawList drawList, ReadOnlySpan<byte> label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (ImDrawList* pdrawList = &drawList)
{
fixed (byte* plabel = label)
{
DebugNodeDrawListNative((ImGuiWindow*)pwindow, viewport, (ImDrawList*)pdrawList, (byte*)plabel);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ref ImGuiWindow window, ImGuiViewportPPtr viewport, ref ImDrawList drawList, string label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (ImDrawList* pdrawList = &drawList)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugNodeDrawListNative((ImGuiWindow*)pwindow, viewport, (ImDrawList*)pdrawList, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ImGuiWindowPtr window, ref ImGuiViewportP viewport, ref ImDrawList drawList, ref byte label)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
fixed (ImDrawList* pdrawList = &drawList)
{
fixed (byte* plabel = &label)
{
DebugNodeDrawListNative(window, (ImGuiViewportP*)pviewport, (ImDrawList*)pdrawList, (byte*)plabel);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ImGuiWindowPtr window, ref ImGuiViewportP viewport, ref ImDrawList drawList, ReadOnlySpan<byte> label)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
fixed (ImDrawList* pdrawList = &drawList)
{
fixed (byte* plabel = label)
{
DebugNodeDrawListNative(window, (ImGuiViewportP*)pviewport, (ImDrawList*)pdrawList, (byte*)plabel);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ImGuiWindowPtr window, ref ImGuiViewportP viewport, ref ImDrawList drawList, string label)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
fixed (ImDrawList* pdrawList = &drawList)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugNodeDrawListNative(window, (ImGuiViewportP*)pviewport, (ImDrawList*)pdrawList, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ref ImGuiWindow window, ref ImGuiViewportP viewport, ref ImDrawList drawList, ref byte label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
fixed (ImDrawList* pdrawList = &drawList)
{
fixed (byte* plabel = &label)
{
DebugNodeDrawListNative((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport, (ImDrawList*)pdrawList, (byte*)plabel);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ref ImGuiWindow window, ref ImGuiViewportP viewport, ref ImDrawList drawList, ReadOnlySpan<byte> label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
fixed (ImDrawList* pdrawList = &drawList)
{
fixed (byte* plabel = label)
{
DebugNodeDrawListNative((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport, (ImDrawList*)pdrawList, (byte*)plabel);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawList(ref ImGuiWindow window, ref ImGuiViewportP viewport, ref ImDrawList drawList, string label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
fixed (ImDrawList* pdrawList = &drawList)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugNodeDrawListNative((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport, (ImDrawList*)pdrawList, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeDrawCmdShowMeshAndBoundingBoxNative(ImDrawList* outDrawList, ImDrawList* drawList, ImDrawCmd* drawCmd, byte showMesh, byte showAabb)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, ImDrawList*, ImDrawCmd*, byte, byte, void>)funcTable[1242])(outDrawList, drawList, drawCmd, showMesh, showAabb);
#else
((delegate* unmanaged[Cdecl]<nint, nint, nint, byte, byte, void>)funcTable[1242])((nint)outDrawList, (nint)drawList, (nint)drawCmd, showMesh, showAabb);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawListPtr outDrawList, ImDrawListPtr drawList, ImDrawCmdPtr drawCmd, bool showMesh, bool showAabb)
{
DebugNodeDrawCmdShowMeshAndBoundingBoxNative(outDrawList, drawList, drawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ref ImDrawList outDrawList, ImDrawListPtr drawList, ImDrawCmdPtr drawCmd, bool showMesh, bool showAabb)
{
fixed (ImDrawList* poutDrawList = &outDrawList)
{
DebugNodeDrawCmdShowMeshAndBoundingBoxNative((ImDrawList*)poutDrawList, drawList, drawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawListPtr outDrawList, ref ImDrawList drawList, ImDrawCmdPtr drawCmd, bool showMesh, bool showAabb)
{
fixed (ImDrawList* pdrawList = &drawList)
{
DebugNodeDrawCmdShowMeshAndBoundingBoxNative(outDrawList, (ImDrawList*)pdrawList, drawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ref ImDrawList outDrawList, ref ImDrawList drawList, ImDrawCmdPtr drawCmd, bool showMesh, bool showAabb)
{
fixed (ImDrawList* poutDrawList = &outDrawList)
{
fixed (ImDrawList* pdrawList = &drawList)
{
DebugNodeDrawCmdShowMeshAndBoundingBoxNative((ImDrawList*)poutDrawList, (ImDrawList*)pdrawList, drawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawListPtr outDrawList, ImDrawListPtr drawList, ref ImDrawCmd drawCmd, bool showMesh, bool showAabb)
{
fixed (ImDrawCmd* pdrawCmd = &drawCmd)
{
DebugNodeDrawCmdShowMeshAndBoundingBoxNative(outDrawList, drawList, (ImDrawCmd*)pdrawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ref ImDrawList outDrawList, ImDrawListPtr drawList, ref ImDrawCmd drawCmd, bool showMesh, bool showAabb)
{
fixed (ImDrawList* poutDrawList = &outDrawList)
{
fixed (ImDrawCmd* pdrawCmd = &drawCmd)
{
DebugNodeDrawCmdShowMeshAndBoundingBoxNative((ImDrawList*)poutDrawList, drawList, (ImDrawCmd*)pdrawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawListPtr outDrawList, ref ImDrawList drawList, ref ImDrawCmd drawCmd, bool showMesh, bool showAabb)
{
fixed (ImDrawList* pdrawList = &drawList)
{
fixed (ImDrawCmd* pdrawCmd = &drawCmd)
{
DebugNodeDrawCmdShowMeshAndBoundingBoxNative(outDrawList, (ImDrawList*)pdrawList, (ImDrawCmd*)pdrawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ref ImDrawList outDrawList, ref ImDrawList drawList, ref ImDrawCmd drawCmd, bool showMesh, bool showAabb)
{
fixed (ImDrawList* poutDrawList = &outDrawList)
{
fixed (ImDrawList* pdrawList = &drawList)
{
fixed (ImDrawCmd* pdrawCmd = &drawCmd)
{
DebugNodeDrawCmdShowMeshAndBoundingBoxNative((ImDrawList*)poutDrawList, (ImDrawList*)pdrawList, (ImDrawCmd*)pdrawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeFontNative(ImFont* font)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImFont*, void>)funcTable[1243])(font);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[1243])((nint)font);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeFont(ImFontPtr font)
{
DebugNodeFontNative(font);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeFont(ref ImFont font)
{
fixed (ImFont* pfont = &font)
{
DebugNodeFontNative((ImFont*)pfont);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeFontGlyphNative(ImFont* font, ImFontGlyph* glyph)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImFont*, ImFontGlyph*, void>)funcTable[1244])(font, glyph);
#else
((delegate* unmanaged[Cdecl]<nint, nint, void>)funcTable[1244])((nint)font, (nint)glyph);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeFontGlyph(ImFontPtr font, ImFontGlyphPtr glyph)
{
DebugNodeFontGlyphNative(font, glyph);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeFontGlyph(ref ImFont font, ImFontGlyphPtr glyph)
{
fixed (ImFont* pfont = &font)
{
DebugNodeFontGlyphNative((ImFont*)pfont, glyph);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeFontGlyph(ImFontPtr font, ref ImFontGlyph glyph)
{
fixed (ImFontGlyph* pglyph = &glyph)
{
DebugNodeFontGlyphNative(font, (ImFontGlyph*)pglyph);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeFontGlyph(ref ImFont font, ref ImFontGlyph glyph)
{
fixed (ImFont* pfont = &font)
{
fixed (ImFontGlyph* pglyph = &glyph)
{
DebugNodeFontGlyphNative((ImFont*)pfont, (ImFontGlyph*)pglyph);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeStorageNative(ImGuiStorage* storage, byte* label)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImGuiStorage*, byte*, void>)funcTable[1245])(storage, label);
#else
((delegate* unmanaged[Cdecl]<nint, nint, void>)funcTable[1245])((nint)storage, (nint)label);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeStorage(ImGuiStoragePtr storage, byte* label)
{
DebugNodeStorageNative(storage, label);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeStorage(ref ImGuiStorage storage, byte* label)
{
fixed (ImGuiStorage* pstorage = &storage)
{
DebugNodeStorageNative((ImGuiStorage*)pstorage, label);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeStorage(ImGuiStoragePtr storage, ref byte label)
{
fixed (byte* plabel = &label)
{
DebugNodeStorageNative(storage, (byte*)plabel);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeStorage(ImGuiStoragePtr storage, ReadOnlySpan<byte> label)
{
fixed (byte* plabel = label)
{
DebugNodeStorageNative(storage, (byte*)plabel);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeStorage(ImGuiStoragePtr storage, string label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugNodeStorageNative(storage, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeStorage(ref ImGuiStorage storage, ref byte label)
{
fixed (ImGuiStorage* pstorage = &storage)
{
fixed (byte* plabel = &label)
{
DebugNodeStorageNative((ImGuiStorage*)pstorage, (byte*)plabel);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeStorage(ref ImGuiStorage storage, ReadOnlySpan<byte> label)
{
fixed (ImGuiStorage* pstorage = &storage)
{
fixed (byte* plabel = label)
{
DebugNodeStorageNative((ImGuiStorage*)pstorage, (byte*)plabel);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeStorage(ref ImGuiStorage storage, string label)
{
fixed (ImGuiStorage* pstorage = &storage)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugNodeStorageNative((ImGuiStorage*)pstorage, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeTabBarNative(ImGuiTabBar* tabBar, byte* label)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImGuiTabBar*, byte*, void>)funcTable[1246])(tabBar, label);
#else
((delegate* unmanaged[Cdecl]<nint, nint, void>)funcTable[1246])((nint)tabBar, (nint)label);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeTabBar(ImGuiTabBarPtr tabBar, byte* label)
{
DebugNodeTabBarNative(tabBar, label);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeTabBar(ref ImGuiTabBar tabBar, byte* label)
{
fixed (ImGuiTabBar* ptabBar = &tabBar)
{
DebugNodeTabBarNative((ImGuiTabBar*)ptabBar, label);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeTabBar(ImGuiTabBarPtr tabBar, ref byte label)
{
fixed (byte* plabel = &label)
{
DebugNodeTabBarNative(tabBar, (byte*)plabel);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeTabBar(ImGuiTabBarPtr tabBar, ReadOnlySpan<byte> label)
{
fixed (byte* plabel = label)
{
DebugNodeTabBarNative(tabBar, (byte*)plabel);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeTabBar(ImGuiTabBarPtr tabBar, string label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugNodeTabBarNative(tabBar, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeTabBar(ref ImGuiTabBar tabBar, ref byte label)
{
fixed (ImGuiTabBar* ptabBar = &tabBar)
{
fixed (byte* plabel = &label)
{
DebugNodeTabBarNative((ImGuiTabBar*)ptabBar, (byte*)plabel);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeTabBar(ref ImGuiTabBar tabBar, ReadOnlySpan<byte> label)
{
fixed (ImGuiTabBar* ptabBar = &tabBar)
{
fixed (byte* plabel = label)
{
DebugNodeTabBarNative((ImGuiTabBar*)ptabBar, (byte*)plabel);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeTabBar(ref ImGuiTabBar tabBar, string label)
{
fixed (ImGuiTabBar* ptabBar = &tabBar)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugNodeTabBarNative((ImGuiTabBar*)ptabBar, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeTableNative(ImGuiTable* table)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImGuiTable*, void>)funcTable[1247])(table);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[1247])((nint)table);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeTable(ImGuiTablePtr table)
{
DebugNodeTableNative(table);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeTable(ref ImGuiTable table)
{
fixed (ImGuiTable* ptable = &table)
{
DebugNodeTableNative((ImGuiTable*)ptable);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeTableSettingsNative(ImGuiTableSettings* settings)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImGuiTableSettings*, void>)funcTable[1248])(settings);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[1248])((nint)settings);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeTableSettings(ImGuiTableSettingsPtr settings)
{
DebugNodeTableSettingsNative(settings);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeTableSettings(ref ImGuiTableSettings settings)
{
fixed (ImGuiTableSettings* psettings = &settings)
{
DebugNodeTableSettingsNative((ImGuiTableSettings*)psettings);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeInputTextStateNative(ImGuiInputTextState* state)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImGuiInputTextState*, void>)funcTable[1249])(state);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[1249])((nint)state);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeInputTextState(ImGuiInputTextStatePtr state)
{
DebugNodeInputTextStateNative(state);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeInputTextState(ref ImGuiInputTextState state)
{
fixed (ImGuiInputTextState* pstate = &state)
{
DebugNodeInputTextStateNative((ImGuiInputTextState*)pstate);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeWindowNative(ImGuiWindow* window, byte* label)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImGuiWindow*, byte*, void>)funcTable[1250])(window, label);
#else
((delegate* unmanaged[Cdecl]<nint, nint, void>)funcTable[1250])((nint)window, (nint)label);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindow(ImGuiWindowPtr window, byte* label)
{
DebugNodeWindowNative(window, label);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindow(ref ImGuiWindow window, byte* label)
{
fixed (ImGuiWindow* pwindow = &window)
{
DebugNodeWindowNative((ImGuiWindow*)pwindow, label);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindow(ImGuiWindowPtr window, ref byte label)
{
fixed (byte* plabel = &label)
{
DebugNodeWindowNative(window, (byte*)plabel);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindow(ImGuiWindowPtr window, ReadOnlySpan<byte> label)
{
fixed (byte* plabel = label)
{
DebugNodeWindowNative(window, (byte*)plabel);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindow(ImGuiWindowPtr window, string label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugNodeWindowNative(window, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindow(ref ImGuiWindow window, ref byte label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (byte* plabel = &label)
{
DebugNodeWindowNative((ImGuiWindow*)pwindow, (byte*)plabel);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindow(ref ImGuiWindow window, ReadOnlySpan<byte> label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (byte* plabel = label)
{
DebugNodeWindowNative((ImGuiWindow*)pwindow, (byte*)plabel);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindow(ref ImGuiWindow window, string label)
{
fixed (ImGuiWindow* pwindow = &window)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugNodeWindowNative((ImGuiWindow*)pwindow, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeWindowSettingsNative(ImGuiWindowSettings* settings)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImGuiWindowSettings*, void>)funcTable[1251])(settings);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[1251])((nint)settings);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindowSettings(ImGuiWindowSettingsPtr settings)
{
DebugNodeWindowSettingsNative(settings);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindowSettings(ref ImGuiWindowSettings settings)
{
fixed (ImGuiWindowSettings* psettings = &settings)
{
DebugNodeWindowSettingsNative((ImGuiWindowSettings*)psettings);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeWindowsListNative(ImVector<ImGuiWindowPtr>* windows, byte* label)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImVector<ImGuiWindowPtr>*, byte*, void>)funcTable[1252])(windows, label);
#else
((delegate* unmanaged[Cdecl]<nint, nint, void>)funcTable[1252])((nint)windows, (nint)label);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindowsList(ImVector<ImGuiWindowPtr>* windows, byte* label)
{
DebugNodeWindowsListNative(windows, label);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindowsList(ref ImVector<ImGuiWindowPtr> windows, byte* label)
{
fixed (ImVector<ImGuiWindowPtr>* pwindows = &windows)
{
DebugNodeWindowsListNative((ImVector<ImGuiWindowPtr>*)pwindows, label);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindowsList(ImVector<ImGuiWindowPtr>* windows, ref byte label)
{
fixed (byte* plabel = &label)
{
DebugNodeWindowsListNative(windows, (byte*)plabel);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindowsList(ImVector<ImGuiWindowPtr>* windows, ReadOnlySpan<byte> label)
{
fixed (byte* plabel = label)
{
DebugNodeWindowsListNative(windows, (byte*)plabel);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindowsList(ImVector<ImGuiWindowPtr>* windows, string label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugNodeWindowsListNative(windows, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindowsList(ref ImVector<ImGuiWindowPtr> windows, ref byte label)
{
fixed (ImVector<ImGuiWindowPtr>* pwindows = &windows)
{
fixed (byte* plabel = &label)
{
DebugNodeWindowsListNative((ImVector<ImGuiWindowPtr>*)pwindows, (byte*)plabel);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindowsList(ref ImVector<ImGuiWindowPtr> windows, ReadOnlySpan<byte> label)
{
fixed (ImVector<ImGuiWindowPtr>* pwindows = &windows)
{
fixed (byte* plabel = label)
{
DebugNodeWindowsListNative((ImVector<ImGuiWindowPtr>*)pwindows, (byte*)plabel);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindowsList(ref ImVector<ImGuiWindowPtr> windows, string label)
{
fixed (ImVector<ImGuiWindowPtr>* pwindows = &windows)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugNodeWindowsListNative((ImVector<ImGuiWindowPtr>*)pwindows, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeWindowsListByBeginStackParentNative(ImGuiWindow** windows, int windowsSize, ImGuiWindow* parentInBeginStack)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImGuiWindow**, int, ImGuiWindow*, void>)funcTable[1253])(windows, windowsSize, parentInBeginStack);
#else
((delegate* unmanaged[Cdecl]<nint, int, nint, void>)funcTable[1253])((nint)windows, windowsSize, (nint)parentInBeginStack);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindowsListByBeginStackParent(ImGuiWindowPtrPtr windows, int windowsSize, ImGuiWindowPtr parentInBeginStack)
{
DebugNodeWindowsListByBeginStackParentNative(windows, windowsSize, parentInBeginStack);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindowsListByBeginStackParent(ref ImGuiWindow* windows, int windowsSize, ImGuiWindowPtr parentInBeginStack)
{
fixed (ImGuiWindow** pwindows = &windows)
{
DebugNodeWindowsListByBeginStackParentNative((ImGuiWindow**)pwindows, windowsSize, parentInBeginStack);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindowsListByBeginStackParent(ImGuiWindowPtrPtr windows, int windowsSize, ref ImGuiWindow parentInBeginStack)
{
fixed (ImGuiWindow* pparentInBeginStack = &parentInBeginStack)
{
DebugNodeWindowsListByBeginStackParentNative(windows, windowsSize, (ImGuiWindow*)pparentInBeginStack);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeWindowsListByBeginStackParent(ref ImGuiWindow* windows, int windowsSize, ref ImGuiWindow parentInBeginStack)
{
fixed (ImGuiWindow** pwindows = &windows)
{
fixed (ImGuiWindow* pparentInBeginStack = &parentInBeginStack)
{
DebugNodeWindowsListByBeginStackParentNative((ImGuiWindow**)pwindows, windowsSize, (ImGuiWindow*)pparentInBeginStack);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeViewportNative(ImGuiViewportP* viewport)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImGuiViewportP*, void>)funcTable[1254])(viewport);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[1254])((nint)viewport);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeViewport(ImGuiViewportPPtr viewport)
{
DebugNodeViewportNative(viewport);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugNodeViewport(ref ImGuiViewportP viewport)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
DebugNodeViewportNative((ImGuiViewportP*)pviewport);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugRenderViewportThumbnailNative(ImDrawList* drawList, ImGuiViewportP* viewport, ImRect bb)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, ImGuiViewportP*, ImRect, void>)funcTable[1255])(drawList, viewport, bb);
#else
((delegate* unmanaged[Cdecl]<nint, nint, ImRect, void>)funcTable[1255])((nint)drawList, (nint)viewport, bb);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugRenderViewportThumbnail(ImDrawListPtr drawList, ImGuiViewportPPtr viewport, ImRect bb)
{
DebugRenderViewportThumbnailNative(drawList, viewport, bb);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugRenderViewportThumbnail(ref ImDrawList drawList, ImGuiViewportPPtr viewport, ImRect bb)
{
fixed (ImDrawList* pdrawList = &drawList)
{
DebugRenderViewportThumbnailNative((ImDrawList*)pdrawList, viewport, bb);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugRenderViewportThumbnail(ImDrawListPtr drawList, ref ImGuiViewportP viewport, ImRect bb)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
DebugRenderViewportThumbnailNative(drawList, (ImGuiViewportP*)pviewport, bb);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void DebugRenderViewportThumbnail(ref ImDrawList drawList, ref ImGuiViewportP viewport, ImRect bb)
{
fixed (ImDrawList* pdrawList = &drawList)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
DebugRenderViewportThumbnailNative((ImDrawList*)pdrawList, (ImGuiViewportP*)pviewport, bb);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImFontBuilderIO* ImFontAtlasGetBuilderForStbTruetypeNative()
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl]<ImFontBuilderIO*>)funcTable[1256])();
#else
return (ImFontBuilderIO*)((delegate* unmanaged[Cdecl]<nint>)funcTable[1256])();
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static ImFontBuilderIOPtr ImFontAtlasGetBuilderForStbTruetype()
{
ImFontBuilderIOPtr ret = ImFontAtlasGetBuilderForStbTruetypeNative();
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ImFontAtlasBuildInitNative(ImFontAtlas* atlas)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImFontAtlas*, void>)funcTable[1257])(atlas);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[1257])((nint)atlas);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void ImFontAtlasBuildInit(ImFontAtlasPtr atlas)
{
ImFontAtlasBuildInitNative(atlas);
}
/// <summary>
/// To be documented.
/// </summary>
public static void ImFontAtlasBuildInit(ref ImFontAtlas atlas)
{
fixed (ImFontAtlas* patlas = &atlas)
{
ImFontAtlasBuildInitNative((ImFontAtlas*)patlas);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ImFontAtlasBuildSetupFontNative(ImFontAtlas* atlas, ImFont* font, ImFontConfig* fontConfig, float ascent, float descent)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImFontAtlas*, ImFont*, ImFontConfig*, float, float, void>)funcTable[1258])(atlas, font, fontConfig, ascent, descent);
#else
((delegate* unmanaged[Cdecl]<nint, nint, nint, float, float, void>)funcTable[1258])((nint)atlas, (nint)font, (nint)fontConfig, ascent, descent);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void ImFontAtlasBuildSetupFont(ImFontAtlasPtr atlas, ImFontPtr font, ImFontConfigPtr fontConfig, float ascent, float descent)
{
ImFontAtlasBuildSetupFontNative(atlas, font, fontConfig, ascent, descent);
}
/// <summary>
/// To be documented.
/// </summary>
public static void ImFontAtlasBuildSetupFont(ref ImFontAtlas atlas, ImFontPtr font, ImFontConfigPtr fontConfig, float ascent, float descent)
{
fixed (ImFontAtlas* patlas = &atlas)
{
ImFontAtlasBuildSetupFontNative((ImFontAtlas*)patlas, font, fontConfig, ascent, descent);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void ImFontAtlasBuildSetupFont(ImFontAtlasPtr atlas, ref ImFont font, ImFontConfigPtr fontConfig, float ascent, float descent)
{
fixed (ImFont* pfont = &font)
{
ImFontAtlasBuildSetupFontNative(atlas, (ImFont*)pfont, fontConfig, ascent, descent);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void ImFontAtlasBuildSetupFont(ref ImFontAtlas atlas, ref ImFont font, ImFontConfigPtr fontConfig, float ascent, float descent)
{
fixed (ImFontAtlas* patlas = &atlas)
{
fixed (ImFont* pfont = &font)
{
ImFontAtlasBuildSetupFontNative((ImFontAtlas*)patlas, (ImFont*)pfont, fontConfig, ascent, descent);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void ImFontAtlasBuildSetupFont(ImFontAtlasPtr atlas, ImFontPtr font, ref ImFontConfig fontConfig, float ascent, float descent)
{
fixed (ImFontConfig* pfontConfig = &fontConfig)
{
ImFontAtlasBuildSetupFontNative(atlas, font, (ImFontConfig*)pfontConfig, ascent, descent);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void ImFontAtlasBuildSetupFont(ref ImFontAtlas atlas, ImFontPtr font, ref ImFontConfig fontConfig, float ascent, float descent)
{
fixed (ImFontAtlas* patlas = &atlas)
{
fixed (ImFontConfig* pfontConfig = &fontConfig)
{
ImFontAtlasBuildSetupFontNative((ImFontAtlas*)patlas, font, (ImFontConfig*)pfontConfig, ascent, descent);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void ImFontAtlasBuildSetupFont(ImFontAtlasPtr atlas, ref ImFont font, ref ImFontConfig fontConfig, float ascent, float descent)
{
fixed (ImFont* pfont = &font)
{
fixed (ImFontConfig* pfontConfig = &fontConfig)
{
ImFontAtlasBuildSetupFontNative(atlas, (ImFont*)pfont, (ImFontConfig*)pfontConfig, ascent, descent);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void ImFontAtlasBuildSetupFont(ref ImFontAtlas atlas, ref ImFont font, ref ImFontConfig fontConfig, float ascent, float descent)
{
fixed (ImFontAtlas* patlas = &atlas)
{
fixed (ImFont* pfont = &font)
{
fixed (ImFontConfig* pfontConfig = &fontConfig)
{
ImFontAtlasBuildSetupFontNative((ImFontAtlas*)patlas, (ImFont*)pfont, (ImFontConfig*)pfontConfig, ascent, descent);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ImFontAtlasBuildFinishNative(ImFontAtlas* atlas)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImFontAtlas*, void>)funcTable[1260])(atlas);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[1260])((nint)atlas);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void ImFontAtlasBuildFinish(ImFontAtlasPtr atlas)
{
ImFontAtlasBuildFinishNative(atlas);
}
/// <summary>
/// To be documented.
/// </summary>
public static void ImFontAtlasBuildFinish(ref ImFontAtlas atlas)
{
fixed (ImFontAtlas* patlas = &atlas)
{
ImFontAtlasBuildFinishNative((ImFontAtlas*)patlas);
}
}
}
}