// ------------------------------------------------------------------------------
//
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
// ------------------------------------------------------------------------------
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using HexaGen.Runtime;
using System.Numerics;
namespace Dalamud.Bindings.ImGui
{
public unsafe partial class ImGuiP
{
///
/// To be documented.
///
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(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(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;
}
///
/// To be documented.
///
public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, ref byte label, ReadOnlySpan labelEnd)
{
fixed (byte* plabel = &label)
{
fixed (byte* plabelEnd = labelEnd)
{
byte ret = TreeNodeBehaviorNative(id, flags, (byte*)plabel, (byte*)plabelEnd);
return ret != 0;
}
}
}
///
/// To be documented.
///
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(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;
}
}
///
/// To be documented.
///
public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, ReadOnlySpan label, ref byte labelEnd)
{
fixed (byte* plabel = label)
{
fixed (byte* plabelEnd = &labelEnd)
{
byte ret = TreeNodeBehaviorNative(id, flags, (byte*)plabel, (byte*)plabelEnd);
return ret != 0;
}
}
}
///
/// To be documented.
///
public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, ReadOnlySpan 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(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;
}
}
///
/// To be documented.
///
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(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;
}
}
///
/// To be documented.
///
public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, string label, ReadOnlySpan labelEnd)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(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;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte TreeNodeBehaviorIsOpenNative(uint id, ImGuiTreeNodeFlags flags)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[1212])(id, flags);
#else
return (byte)((delegate* unmanaged[Cdecl])funcTable[1212])(id, flags);
#endif
}
///
/// To be documented.
///
public static bool TreeNodeBehaviorIsOpen(uint id, ImGuiTreeNodeFlags flags)
{
byte ret = TreeNodeBehaviorIsOpenNative(id, flags);
return ret != 0;
}
///
/// To be documented.
///
public static bool TreeNodeBehaviorIsOpen(uint id)
{
byte ret = TreeNodeBehaviorIsOpenNative(id, (ImGuiTreeNodeFlags)(0));
return ret != 0;
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void TreePushOverrideIDNative(uint id)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1213])(id);
#else
((delegate* unmanaged[Cdecl])funcTable[1213])(id);
#endif
}
///
/// To be documented.
///
public static void TreePushOverrideID(uint id)
{
TreePushOverrideIDNative(id);
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImGuiDataTypeInfo* DataTypeGetInfoNative(ImGuiDataType dataType)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[1214])(dataType);
#else
return (ImGuiDataTypeInfo*)((delegate* unmanaged[Cdecl])funcTable[1214])(dataType);
#endif
}
///
/// To be documented.
///
public static ImGuiDataTypeInfoPtr DataTypeGetInfo(ImGuiDataType dataType)
{
ImGuiDataTypeInfoPtr ret = DataTypeGetInfoNative(dataType);
return ret;
}
///
/// To be documented.
///
[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])funcTable[1215])(dataType, op, output, arg1, arg2);
#else
((delegate* unmanaged[Cdecl])funcTable[1215])(dataType, op, (nint)output, (nint)arg1, (nint)arg2);
#endif
}
///
/// To be documented.
///
public static void DataTypeApplyOp(ImGuiDataType dataType, int op, void* output, void* arg1, void* arg2)
{
DataTypeApplyOpNative(dataType, op, output, arg1, arg2);
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte DataTypeApplyFromTextNative(byte* buf, ImGuiDataType dataType, void* pData, byte* format)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[1216])(buf, dataType, pData, format);
#else
return (byte)((delegate* unmanaged[Cdecl])funcTable[1216])((nint)buf, dataType, (nint)pData, (nint)format);
#endif
}
///
/// To be documented.
///
public static bool DataTypeApplyFromText(byte* buf, ImGuiDataType dataType, void* pData, byte* format)
{
byte ret = DataTypeApplyFromTextNative(buf, dataType, pData, format);
return ret != 0;
}
///
/// To be documented.
///
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;
}
}
///
/// To be documented.
///
public static bool DataTypeApplyFromText(ReadOnlySpan buf, ImGuiDataType dataType, void* pData, byte* format)
{
fixed (byte* pbuf = buf)
{
byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, format);
return ret != 0;
}
}
///
/// To be documented.
///
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(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;
}
///
/// To be documented.
///
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;
}
}
///
/// To be documented.
///
public static bool DataTypeApplyFromText(byte* buf, ImGuiDataType dataType, void* pData, ReadOnlySpan format)
{
fixed (byte* pformat = format)
{
byte ret = DataTypeApplyFromTextNative(buf, dataType, pData, (byte*)pformat);
return ret != 0;
}
}
///
/// To be documented.
///
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(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;
}
///
/// To be documented.
///
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;
}
}
}
///
/// To be documented.
///
public static bool DataTypeApplyFromText(ReadOnlySpan buf, ImGuiDataType dataType, void* pData, ReadOnlySpan format)
{
fixed (byte* pbuf = buf)
{
fixed (byte* pformat = format)
{
byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, (byte*)pformat);
return ret != 0;
}
}
}
///
/// To be documented.
///
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(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(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;
}
///
/// To be documented.
///
public static bool DataTypeApplyFromText(ref byte buf, ImGuiDataType dataType, void* pData, ReadOnlySpan format)
{
fixed (byte* pbuf = &buf)
{
fixed (byte* pformat = format)
{
byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, (byte*)pformat);
return ret != 0;
}
}
}
///
/// To be documented.
///
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(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;
}
}
///
/// To be documented.
///
public static bool DataTypeApplyFromText(ReadOnlySpan 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;
}
}
}
///
/// To be documented.
///
public static bool DataTypeApplyFromText(ReadOnlySpan 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(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;
}
}
///
/// To be documented.
///
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(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;
}
}
///
/// To be documented.
///
public static bool DataTypeApplyFromText(string buf, ImGuiDataType dataType, void* pData, ReadOnlySpan format)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (buf != null)
{
pStrSize0 = Utils.GetByteCountUTF8(buf);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(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;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static int DataTypeCompareNative(ImGuiDataType dataType, void* arg1, void* arg2)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[1217])(dataType, arg1, arg2);
#else
return (int)((delegate* unmanaged[Cdecl])funcTable[1217])(dataType, (nint)arg1, (nint)arg2);
#endif
}
///
/// To be documented.
///
public static int DataTypeCompare(ImGuiDataType dataType, void* arg1, void* arg2)
{
int ret = DataTypeCompareNative(dataType, arg1, arg2);
return ret;
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte DataTypeClampNative(ImGuiDataType dataType, void* pData, void* pMin, void* pMax)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[1218])(dataType, pData, pMin, pMax);
#else
return (byte)((delegate* unmanaged[Cdecl])funcTable[1218])(dataType, (nint)pData, (nint)pMin, (nint)pMax);
#endif
}
///
/// To be documented.
///
public static bool DataTypeClamp(ImGuiDataType dataType, void* pData, void* pMin, void* pMax)
{
byte ret = DataTypeClampNative(dataType, pData, pMin, pMax);
return ret != 0;
}
///
/// To be documented.
///
[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])funcTable[1219])(bb, id, label, dataType, pData, format, pClampMin, pClampMax);
#else
return (byte)((delegate* unmanaged[Cdecl])funcTable[1219])(bb, id, (nint)label, dataType, (nint)pData, (nint)format, (nint)pClampMin, (nint)pClampMax);
#endif
}
///
/// To be documented.
///
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;
}
///
/// To be documented.
///
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;
}
///
/// To be documented.
///
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;
}
///
/// To be documented.
///
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;
}
}
///
/// To be documented.
///
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;
}
}
///
/// To be documented.
///
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;
}
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan 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;
}
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan 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;
}
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan 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;
}
}
///
/// To be documented.
///
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(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;
}
///
/// To be documented.
///
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(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;
}
///
/// To be documented.
///
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(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;
}
///
/// To be documented.
///
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;
}
}
///
/// To be documented.
///
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;
}
}
///
/// To be documented.
///
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;
}
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, void* pClampMin, void* pClampMax)
{
fixed (byte* pformat = format)
{
byte ret = TempInputScalarNative(bb, id, label, dataType, pData, (byte*)pformat, pClampMin, pClampMax);
return ret != 0;
}
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, void* pClampMin)
{
fixed (byte* pformat = format)
{
byte ret = TempInputScalarNative(bb, id, label, dataType, pData, (byte*)pformat, pClampMin, (void*)(default));
return ret != 0;
}
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, ReadOnlySpan format)
{
fixed (byte* pformat = format)
{
byte ret = TempInputScalarNative(bb, id, label, dataType, pData, (byte*)pformat, (void*)(default), (void*)(default));
return ret != 0;
}
}
///
/// To be documented.
///
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(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;
}
///
/// To be documented.
///
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(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;
}
///
/// To be documented.
///
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(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;
}
///
/// To be documented.
///
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;
}
}
}
///
/// To be documented.
///
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;
}
}
}
///
/// To be documented.
///
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;
}
}
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan label, ImGuiDataType dataType, void* pData, ReadOnlySpan 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;
}
}
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan label, ImGuiDataType dataType, void* pData, ReadOnlySpan 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;
}
}
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan label, ImGuiDataType dataType, void* pData, ReadOnlySpan 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;
}
}
}
///
/// To be documented.
///
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(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(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;
}
///
/// To be documented.
///
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(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(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;
}
///
/// To be documented.
///
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(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(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;
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, ReadOnlySpan 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;
}
}
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, ReadOnlySpan 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;
}
}
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, ReadOnlySpan 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;
}
}
}
///
/// To be documented.
///
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(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;
}
}
///
/// To be documented.
///
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(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;
}
}
///
/// To be documented.
///
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(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;
}
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan 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;
}
}
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan 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;
}
}
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan 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;
}
}
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan 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(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;
}
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan 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(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;
}
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan 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(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;
}
}
///
/// To be documented.
///
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(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;
}
}
///
/// To be documented.
///
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(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;
}
}
///
/// To be documented.
///
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(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;
}
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, ReadOnlySpan 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(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;
}
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, void* pClampMin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(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;
}
}
///
/// To be documented.
///
public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, ReadOnlySpan format)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(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;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte TempInputIsActiveNative(uint id)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[1220])(id);
#else
return (byte)((delegate* unmanaged[Cdecl])funcTable[1220])(id);
#endif
}
///
/// To be documented.
///
public static bool TempInputIsActive(uint id)
{
byte ret = TempInputIsActiveNative(id);
return ret != 0;
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImGuiInputTextState* GetInputTextStateNative(uint id)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[1221])(id);
#else
return (ImGuiInputTextState*)((delegate* unmanaged[Cdecl])funcTable[1221])(id);
#endif
}
///
/// To be documented.
///
public static ImGuiInputTextStatePtr GetInputTextState(uint id)
{
ImGuiInputTextStatePtr ret = GetInputTextStateNative(id);
return ret;
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ColorTooltipNative(byte* text, float* col, ImGuiColorEditFlags flags)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1222])(text, col, flags);
#else
((delegate* unmanaged[Cdecl])funcTable[1222])((nint)text, (nint)col, flags);
#endif
}
///
/// To be documented.
///
public static void ColorTooltip(byte* text, float* col, ImGuiColorEditFlags flags)
{
ColorTooltipNative(text, col, flags);
}
///
/// To be documented.
///
public static void ColorTooltip(ref byte text, float* col, ImGuiColorEditFlags flags)
{
fixed (byte* ptext = &text)
{
ColorTooltipNative((byte*)ptext, col, flags);
}
}
///
/// To be documented.
///
public static void ColorTooltip(ReadOnlySpan text, float* col, ImGuiColorEditFlags flags)
{
fixed (byte* ptext = text)
{
ColorTooltipNative((byte*)ptext, col, flags);
}
}
///
/// To be documented.
///
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(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);
}
}
///
/// To be documented.
///
public static void ColorTooltip(byte* text, ref float col, ImGuiColorEditFlags flags)
{
fixed (float* pcol = &col)
{
ColorTooltipNative(text, (float*)pcol, flags);
}
}
///
/// To be documented.
///
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);
}
}
}
///
/// To be documented.
///
public static void ColorTooltip(ReadOnlySpan text, ref float col, ImGuiColorEditFlags flags)
{
fixed (byte* ptext = text)
{
fixed (float* pcol = &col)
{
ColorTooltipNative((byte*)ptext, (float*)pcol, flags);
}
}
}
///
/// To be documented.
///
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(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);
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ColorEditOptionsPopupNative(float* col, ImGuiColorEditFlags flags)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1223])(col, flags);
#else
((delegate* unmanaged[Cdecl])funcTable[1223])((nint)col, flags);
#endif
}
///
/// To be documented.
///
public static void ColorEditOptionsPopup(float* col, ImGuiColorEditFlags flags)
{
ColorEditOptionsPopupNative(col, flags);
}
///
/// To be documented.
///
public static void ColorEditOptionsPopup(ref float col, ImGuiColorEditFlags flags)
{
fixed (float* pcol = &col)
{
ColorEditOptionsPopupNative((float*)pcol, flags);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ColorPickerOptionsPopupNative(float* refCol, ImGuiColorEditFlags flags)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1224])(refCol, flags);
#else
((delegate* unmanaged[Cdecl])funcTable[1224])((nint)refCol, flags);
#endif
}
///
/// To be documented.
///
public static void ColorPickerOptionsPopup(float* refCol, ImGuiColorEditFlags flags)
{
ColorPickerOptionsPopupNative(refCol, flags);
}
///
/// To be documented.
///
public static void ColorPickerOptionsPopup(ref float refCol, ImGuiColorEditFlags flags)
{
fixed (float* prefCol = &refCol)
{
ColorPickerOptionsPopupNative((float*)prefCol, flags);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static int PlotExNative(ImGuiPlotType plotType, byte* label, delegate*, 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], 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])funcTable[1225])(plotType, (nint)label, (nint)valuesGetter, (nint)data, valuesCount, valuesOffset, (nint)overlayText, scaleMin, scaleMax, frameSize);
#endif
}
///
/// To be documented.
///
public static int PlotEx(ImGuiPlotType plotType, byte* label, delegate*, 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;
}
///
/// To be documented.
///
public static int PlotEx(ImGuiPlotType plotType, ref byte label, delegate*, 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;
}
}
///
/// To be documented.
///
public static int PlotEx(ImGuiPlotType plotType, ReadOnlySpan label, delegate*, 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;
}
}
///
/// To be documented.
///
public static int PlotEx(ImGuiPlotType plotType, string label, delegate*, 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(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;
}
///
/// To be documented.
///
public static int PlotEx(ImGuiPlotType plotType, byte* label, delegate*, 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;
}
}
///
/// To be documented.
///
public static int PlotEx(ImGuiPlotType plotType, byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan 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;
}
}
///
/// To be documented.
///
public static int PlotEx(ImGuiPlotType plotType, byte* label, delegate*, 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(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;
}
///
/// To be documented.
///
public static int PlotEx(ImGuiPlotType plotType, ref byte label, delegate*, 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;
}
}
}
///
/// To be documented.
///
public static int PlotEx(ImGuiPlotType plotType, ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan 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;
}
}
}
///
/// To be documented.
///
public static int PlotEx(ImGuiPlotType plotType, string label, delegate*, 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(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(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;
}
///
/// To be documented.
///
public static int PlotEx(ImGuiPlotType plotType, ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan 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;
}
}
}
///
/// To be documented.
///
public static int PlotEx(ImGuiPlotType plotType, ref byte label, delegate*, 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(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;
}
}
///
/// To be documented.
///
public static int PlotEx(ImGuiPlotType plotType, ReadOnlySpan label, delegate*, 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;
}
}
}
///
/// To be documented.
///
public static int PlotEx(ImGuiPlotType plotType, ReadOnlySpan label, delegate*, 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(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;
}
}
///
/// To be documented.
///
public static int PlotEx(ImGuiPlotType plotType, string label, delegate*, 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(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;
}
}
///
/// To be documented.
///
public static int PlotEx(ImGuiPlotType plotType, string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan 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(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;
}
}
///
/// To be documented.
///
[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])funcTable[1226])(drawList, vertStartIdx, vertEndIdx, gradientp0, gradientp1, col0, col1);
#else
((delegate* unmanaged[Cdecl])funcTable[1226])((nint)drawList, vertStartIdx, vertEndIdx, gradientp0, gradientp1, col0, col1);
#endif
}
///
/// To be documented.
///
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);
}
///
/// To be documented.
///
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);
}
}
///
/// To be documented.
///
[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])funcTable[1227])(drawList, vertStartIdx, vertEndIdx, a, b, uvA, uvB, clamp);
#else
((delegate* unmanaged[Cdecl])funcTable[1227])((nint)drawList, vertStartIdx, vertEndIdx, a, b, uvA, uvB, clamp);
#endif
}
///
/// To be documented.
///
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);
}
///
/// To be documented.
///
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);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void GcCompactTransientMiscBuffersNative()
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1228])();
#else
((delegate* unmanaged[Cdecl])funcTable[1228])();
#endif
}
///
/// To be documented.
///
public static void GcCompactTransientMiscBuffers()
{
GcCompactTransientMiscBuffersNative();
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void GcCompactTransientWindowBuffersNative(ImGuiWindow* window)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1229])(window);
#else
((delegate* unmanaged[Cdecl])funcTable[1229])((nint)window);
#endif
}
///
/// To be documented.
///
public static void GcCompactTransientWindowBuffers(ImGuiWindowPtr window)
{
GcCompactTransientWindowBuffersNative(window);
}
///
/// To be documented.
///
public static void GcCompactTransientWindowBuffers(ref ImGuiWindow window)
{
fixed (ImGuiWindow* pwindow = &window)
{
GcCompactTransientWindowBuffersNative((ImGuiWindow*)pwindow);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void GcAwakeTransientWindowBuffersNative(ImGuiWindow* window)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1230])(window);
#else
((delegate* unmanaged[Cdecl])funcTable[1230])((nint)window);
#endif
}
///
/// To be documented.
///
public static void GcAwakeTransientWindowBuffers(ImGuiWindowPtr window)
{
GcAwakeTransientWindowBuffersNative(window);
}
///
/// To be documented.
///
public static void GcAwakeTransientWindowBuffers(ref ImGuiWindow window)
{
fixed (ImGuiWindow* pwindow = &window)
{
GcAwakeTransientWindowBuffersNative((ImGuiWindow*)pwindow);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugLogNative(byte* fmt)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1231])(fmt);
#else
((delegate* unmanaged[Cdecl])funcTable[1231])((nint)fmt);
#endif
}
///
/// To be documented.
///
public static void DebugLog(byte* fmt)
{
DebugLogNative(fmt);
}
///
/// To be documented.
///
public static void DebugLog(ref byte fmt)
{
fixed (byte* pfmt = &fmt)
{
DebugLogNative((byte*)pfmt);
}
}
///
/// To be documented.
///
public static void DebugLog(ReadOnlySpan fmt)
{
fixed (byte* pfmt = fmt)
{
DebugLogNative((byte*)pfmt);
}
}
///
/// To be documented.
///
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(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);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugLogVNative(byte* fmt, nuint args)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1232])(fmt, args);
#else
((delegate* unmanaged[Cdecl])funcTable[1232])((nint)fmt, args);
#endif
}
///
/// To be documented.
///
public static void DebugLogV(byte* fmt, nuint args)
{
DebugLogVNative(fmt, args);
}
///
/// To be documented.
///
public static void DebugLogV(ref byte fmt, nuint args)
{
fixed (byte* pfmt = &fmt)
{
DebugLogVNative((byte*)pfmt, args);
}
}
///
/// To be documented.
///
public static void DebugLogV(ReadOnlySpan fmt, nuint args)
{
fixed (byte* pfmt = fmt)
{
DebugLogVNative((byte*)pfmt, args);
}
}
///
/// To be documented.
///
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(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);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ErrorCheckEndFrameRecoverNative(ImGuiErrorLogCallback logCallback, void* userData)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl], void*, void>)funcTable[1233])((delegate*)Utils.GetFunctionPointerForDelegate(logCallback), userData);
#else
((delegate* unmanaged[Cdecl])funcTable[1233])((nint)Utils.GetFunctionPointerForDelegate(logCallback), (nint)userData);
#endif
}
///
/// To be documented.
///
public static void ErrorCheckEndFrameRecover(ImGuiErrorLogCallback logCallback, void* userData)
{
ErrorCheckEndFrameRecoverNative(logCallback, userData);
}
///
/// To be documented.
///
public static void ErrorCheckEndFrameRecover(ImGuiErrorLogCallback logCallback)
{
ErrorCheckEndFrameRecoverNative(logCallback, (void*)(default));
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ErrorCheckEndWindowRecoverNative(ImGuiErrorLogCallback logCallback, void* userData)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl], void*, void>)funcTable[1234])((delegate*)Utils.GetFunctionPointerForDelegate(logCallback), userData);
#else
((delegate* unmanaged[Cdecl])funcTable[1234])((nint)Utils.GetFunctionPointerForDelegate(logCallback), (nint)userData);
#endif
}
///
/// To be documented.
///
public static void ErrorCheckEndWindowRecover(ImGuiErrorLogCallback logCallback, void* userData)
{
ErrorCheckEndWindowRecoverNative(logCallback, userData);
}
///
/// To be documented.
///
public static void ErrorCheckEndWindowRecover(ImGuiErrorLogCallback logCallback)
{
ErrorCheckEndWindowRecoverNative(logCallback, (void*)(default));
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugDrawItemRectNative(uint col)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1235])(col);
#else
((delegate* unmanaged[Cdecl])funcTable[1235])(col);
#endif
}
///
/// To be documented.
///
public static void DebugDrawItemRect(uint col)
{
DebugDrawItemRectNative(col);
}
///
/// To be documented.
///
public static void DebugDrawItemRect()
{
DebugDrawItemRectNative((uint)(4278190335));
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugStartItemPickerNative()
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1236])();
#else
((delegate* unmanaged[Cdecl])funcTable[1236])();
#endif
}
///
/// To be documented.
///
public static void DebugStartItemPicker()
{
DebugStartItemPickerNative();
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ShowFontAtlasNative(ImFontAtlas* atlas)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1237])(atlas);
#else
((delegate* unmanaged[Cdecl])funcTable[1237])((nint)atlas);
#endif
}
///
/// To be documented.
///
public static void ShowFontAtlas(ImFontAtlasPtr atlas)
{
ShowFontAtlasNative(atlas);
}
///
/// To be documented.
///
public static void ShowFontAtlas(ref ImFontAtlas atlas)
{
fixed (ImFontAtlas* patlas = &atlas)
{
ShowFontAtlasNative((ImFontAtlas*)patlas);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugHookIdInfoNative(uint id, ImGuiDataType dataType, void* dataId, void* dataIdEnd)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1238])(id, dataType, dataId, dataIdEnd);
#else
((delegate* unmanaged[Cdecl])funcTable[1238])(id, dataType, (nint)dataId, (nint)dataIdEnd);
#endif
}
///
/// To be documented.
///
public static void DebugHookIdInfo(uint id, ImGuiDataType dataType, void* dataId, void* dataIdEnd)
{
DebugHookIdInfoNative(id, dataType, dataId, dataIdEnd);
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeColumnsNative(ImGuiOldColumns* columns)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1239])(columns);
#else
((delegate* unmanaged[Cdecl])funcTable[1239])((nint)columns);
#endif
}
///
/// To be documented.
///
public static void DebugNodeColumns(ImGuiOldColumnsPtr columns)
{
DebugNodeColumnsNative(columns);
}
///
/// To be documented.
///
public static void DebugNodeColumns(ref ImGuiOldColumns columns)
{
fixed (ImGuiOldColumns* pcolumns = &columns)
{
DebugNodeColumnsNative((ImGuiOldColumns*)pcolumns);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeDockNodeNative(ImGuiDockNode* node, byte* label)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1240])(node, label);
#else
((delegate* unmanaged[Cdecl])funcTable[1240])((nint)node, (nint)label);
#endif
}
///
/// To be documented.
///
public static void DebugNodeDockNode(ImGuiDockNodePtr node, byte* label)
{
DebugNodeDockNodeNative(node, label);
}
///
/// To be documented.
///
public static void DebugNodeDockNode(ref ImGuiDockNode node, byte* label)
{
fixed (ImGuiDockNode* pnode = &node)
{
DebugNodeDockNodeNative((ImGuiDockNode*)pnode, label);
}
}
///
/// To be documented.
///
public static void DebugNodeDockNode(ImGuiDockNodePtr node, ref byte label)
{
fixed (byte* plabel = &label)
{
DebugNodeDockNodeNative(node, (byte*)plabel);
}
}
///
/// To be documented.
///
public static void DebugNodeDockNode(ImGuiDockNodePtr node, ReadOnlySpan label)
{
fixed (byte* plabel = label)
{
DebugNodeDockNodeNative(node, (byte*)plabel);
}
}
///
/// To be documented.
///
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(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);
}
}
///
/// To be documented.
///
public static void DebugNodeDockNode(ref ImGuiDockNode node, ref byte label)
{
fixed (ImGuiDockNode* pnode = &node)
{
fixed (byte* plabel = &label)
{
DebugNodeDockNodeNative((ImGuiDockNode*)pnode, (byte*)plabel);
}
}
}
///
/// To be documented.
///
public static void DebugNodeDockNode(ref ImGuiDockNode node, ReadOnlySpan label)
{
fixed (ImGuiDockNode* pnode = &node)
{
fixed (byte* plabel = label)
{
DebugNodeDockNodeNative((ImGuiDockNode*)pnode, (byte*)plabel);
}
}
}
///
/// To be documented.
///
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(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);
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeDrawListNative(ImGuiWindow* window, ImGuiViewportP* viewport, ImDrawList* drawList, byte* label)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1241])(window, viewport, drawList, label);
#else
((delegate* unmanaged[Cdecl])funcTable[1241])((nint)window, (nint)viewport, (nint)drawList, (nint)label);
#endif
}
///
/// To be documented.
///
public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, byte* label)
{
DebugNodeDrawListNative(window, viewport, drawList, label);
}
///
/// To be documented.
///
public static void DebugNodeDrawList(ref ImGuiWindow window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, byte* label)
{
fixed (ImGuiWindow* pwindow = &window)
{
DebugNodeDrawListNative((ImGuiWindow*)pwindow, viewport, drawList, label);
}
}
///
/// To be documented.
///
public static void DebugNodeDrawList(ImGuiWindowPtr window, ref ImGuiViewportP viewport, ImDrawListPtr drawList, byte* label)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
DebugNodeDrawListNative(window, (ImGuiViewportP*)pviewport, drawList, label);
}
}
///
/// To be documented.
///
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);
}
}
}
///
/// To be documented.
///
public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ref ImDrawList drawList, byte* label)
{
fixed (ImDrawList* pdrawList = &drawList)
{
DebugNodeDrawListNative(window, viewport, (ImDrawList*)pdrawList, label);
}
}
///
/// To be documented.
///
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);
}
}
}
///
/// To be documented.
///
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);
}
}
}
///
/// To be documented.
///
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);
}
}
}
}
///
/// To be documented.
///
public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, ref byte label)
{
fixed (byte* plabel = &label)
{
DebugNodeDrawListNative(window, viewport, drawList, (byte*)plabel);
}
}
///
/// To be documented.
///
public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, ReadOnlySpan label)
{
fixed (byte* plabel = label)
{
DebugNodeDrawListNative(window, viewport, drawList, (byte*)plabel);
}
}
///
/// To be documented.
///
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(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);
}
}
///
/// To be documented.
///
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);
}
}
}
///
/// To be documented.
///
public static void DebugNodeDrawList(ref ImGuiWindow window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, ReadOnlySpan label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (byte* plabel = label)
{
DebugNodeDrawListNative((ImGuiWindow*)pwindow, viewport, drawList, (byte*)plabel);
}
}
}
///
/// To be documented.
///
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(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);
}
}
}
///
/// To be documented.
///
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);
}
}
}
///
/// To be documented.
///
public static void DebugNodeDrawList(ImGuiWindowPtr window, ref ImGuiViewportP viewport, ImDrawListPtr drawList, ReadOnlySpan label)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
fixed (byte* plabel = label)
{
DebugNodeDrawListNative(window, (ImGuiViewportP*)pviewport, drawList, (byte*)plabel);
}
}
}
///
/// To be documented.
///
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(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);
}
}
}
///
/// To be documented.
///
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);
}
}
}
}
///
/// To be documented.
///
public static void DebugNodeDrawList(ref ImGuiWindow window, ref ImGuiViewportP viewport, ImDrawListPtr drawList, ReadOnlySpan label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
fixed (byte* plabel = label)
{
DebugNodeDrawListNative((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport, drawList, (byte*)plabel);
}
}
}
}
///
/// To be documented.
///
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(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);
}
}
}
}
///
/// To be documented.
///
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);
}
}
}
///
/// To be documented.
///
public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ref ImDrawList drawList, ReadOnlySpan label)
{
fixed (ImDrawList* pdrawList = &drawList)
{
fixed (byte* plabel = label)
{
DebugNodeDrawListNative(window, viewport, (ImDrawList*)pdrawList, (byte*)plabel);
}
}
}
///
/// To be documented.
///
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(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);
}
}
}
///
/// To be documented.
///
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);
}
}
}
}
///
/// To be documented.
///
public static void DebugNodeDrawList(ref ImGuiWindow window, ImGuiViewportPPtr viewport, ref ImDrawList drawList, ReadOnlySpan label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (ImDrawList* pdrawList = &drawList)
{
fixed (byte* plabel = label)
{
DebugNodeDrawListNative((ImGuiWindow*)pwindow, viewport, (ImDrawList*)pdrawList, (byte*)plabel);
}
}
}
}
///
/// To be documented.
///
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(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);
}
}
}
}
///
/// To be documented.
///
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);
}
}
}
}
///
/// To be documented.
///
public static void DebugNodeDrawList(ImGuiWindowPtr window, ref ImGuiViewportP viewport, ref ImDrawList drawList, ReadOnlySpan label)
{
fixed (ImGuiViewportP* pviewport = &viewport)
{
fixed (ImDrawList* pdrawList = &drawList)
{
fixed (byte* plabel = label)
{
DebugNodeDrawListNative(window, (ImGuiViewportP*)pviewport, (ImDrawList*)pdrawList, (byte*)plabel);
}
}
}
}
///
/// To be documented.
///
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(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);
}
}
}
}
///
/// To be documented.
///
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);
}
}
}
}
}
///
/// To be documented.
///
public static void DebugNodeDrawList(ref ImGuiWindow window, ref ImGuiViewportP viewport, ref ImDrawList drawList, ReadOnlySpan 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);
}
}
}
}
}
///
/// To be documented.
///
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(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);
}
}
}
}
}
///
/// To be documented.
///
[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])funcTable[1242])(outDrawList, drawList, drawCmd, showMesh, showAabb);
#else
((delegate* unmanaged[Cdecl])funcTable[1242])((nint)outDrawList, (nint)drawList, (nint)drawCmd, showMesh, showAabb);
#endif
}
///
/// To be documented.
///
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);
}
///
/// To be documented.
///
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);
}
}
///
/// To be documented.
///
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);
}
}
///
/// To be documented.
///
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);
}
}
}
///
/// To be documented.
///
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);
}
}
///
/// To be documented.
///
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);
}
}
}
///
/// To be documented.
///
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);
}
}
}
///
/// To be documented.
///
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);
}
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeFontNative(ImFont* font)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1243])(font);
#else
((delegate* unmanaged[Cdecl])funcTable[1243])((nint)font);
#endif
}
///
/// To be documented.
///
public static void DebugNodeFont(ImFontPtr font)
{
DebugNodeFontNative(font);
}
///
/// To be documented.
///
public static void DebugNodeFont(ref ImFont font)
{
fixed (ImFont* pfont = &font)
{
DebugNodeFontNative((ImFont*)pfont);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeFontGlyphNative(ImFont* font, ImFontGlyph* glyph)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1244])(font, glyph);
#else
((delegate* unmanaged[Cdecl])funcTable[1244])((nint)font, (nint)glyph);
#endif
}
///
/// To be documented.
///
public static void DebugNodeFontGlyph(ImFontPtr font, ImFontGlyphPtr glyph)
{
DebugNodeFontGlyphNative(font, glyph);
}
///
/// To be documented.
///
public static void DebugNodeFontGlyph(ref ImFont font, ImFontGlyphPtr glyph)
{
fixed (ImFont* pfont = &font)
{
DebugNodeFontGlyphNative((ImFont*)pfont, glyph);
}
}
///
/// To be documented.
///
public static void DebugNodeFontGlyph(ImFontPtr font, ref ImFontGlyph glyph)
{
fixed (ImFontGlyph* pglyph = &glyph)
{
DebugNodeFontGlyphNative(font, (ImFontGlyph*)pglyph);
}
}
///
/// To be documented.
///
public static void DebugNodeFontGlyph(ref ImFont font, ref ImFontGlyph glyph)
{
fixed (ImFont* pfont = &font)
{
fixed (ImFontGlyph* pglyph = &glyph)
{
DebugNodeFontGlyphNative((ImFont*)pfont, (ImFontGlyph*)pglyph);
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeStorageNative(ImGuiStorage* storage, byte* label)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1245])(storage, label);
#else
((delegate* unmanaged[Cdecl])funcTable[1245])((nint)storage, (nint)label);
#endif
}
///
/// To be documented.
///
public static void DebugNodeStorage(ImGuiStoragePtr storage, byte* label)
{
DebugNodeStorageNative(storage, label);
}
///
/// To be documented.
///
public static void DebugNodeStorage(ref ImGuiStorage storage, byte* label)
{
fixed (ImGuiStorage* pstorage = &storage)
{
DebugNodeStorageNative((ImGuiStorage*)pstorage, label);
}
}
///
/// To be documented.
///
public static void DebugNodeStorage(ImGuiStoragePtr storage, ref byte label)
{
fixed (byte* plabel = &label)
{
DebugNodeStorageNative(storage, (byte*)plabel);
}
}
///
/// To be documented.
///
public static void DebugNodeStorage(ImGuiStoragePtr storage, ReadOnlySpan label)
{
fixed (byte* plabel = label)
{
DebugNodeStorageNative(storage, (byte*)plabel);
}
}
///
/// To be documented.
///
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(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);
}
}
///
/// To be documented.
///
public static void DebugNodeStorage(ref ImGuiStorage storage, ref byte label)
{
fixed (ImGuiStorage* pstorage = &storage)
{
fixed (byte* plabel = &label)
{
DebugNodeStorageNative((ImGuiStorage*)pstorage, (byte*)plabel);
}
}
}
///
/// To be documented.
///
public static void DebugNodeStorage(ref ImGuiStorage storage, ReadOnlySpan label)
{
fixed (ImGuiStorage* pstorage = &storage)
{
fixed (byte* plabel = label)
{
DebugNodeStorageNative((ImGuiStorage*)pstorage, (byte*)plabel);
}
}
}
///
/// To be documented.
///
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(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);
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeTabBarNative(ImGuiTabBar* tabBar, byte* label)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1246])(tabBar, label);
#else
((delegate* unmanaged[Cdecl])funcTable[1246])((nint)tabBar, (nint)label);
#endif
}
///
/// To be documented.
///
public static void DebugNodeTabBar(ImGuiTabBarPtr tabBar, byte* label)
{
DebugNodeTabBarNative(tabBar, label);
}
///
/// To be documented.
///
public static void DebugNodeTabBar(ref ImGuiTabBar tabBar, byte* label)
{
fixed (ImGuiTabBar* ptabBar = &tabBar)
{
DebugNodeTabBarNative((ImGuiTabBar*)ptabBar, label);
}
}
///
/// To be documented.
///
public static void DebugNodeTabBar(ImGuiTabBarPtr tabBar, ref byte label)
{
fixed (byte* plabel = &label)
{
DebugNodeTabBarNative(tabBar, (byte*)plabel);
}
}
///
/// To be documented.
///
public static void DebugNodeTabBar(ImGuiTabBarPtr tabBar, ReadOnlySpan label)
{
fixed (byte* plabel = label)
{
DebugNodeTabBarNative(tabBar, (byte*)plabel);
}
}
///
/// To be documented.
///
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(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);
}
}
///
/// To be documented.
///
public static void DebugNodeTabBar(ref ImGuiTabBar tabBar, ref byte label)
{
fixed (ImGuiTabBar* ptabBar = &tabBar)
{
fixed (byte* plabel = &label)
{
DebugNodeTabBarNative((ImGuiTabBar*)ptabBar, (byte*)plabel);
}
}
}
///
/// To be documented.
///
public static void DebugNodeTabBar(ref ImGuiTabBar tabBar, ReadOnlySpan label)
{
fixed (ImGuiTabBar* ptabBar = &tabBar)
{
fixed (byte* plabel = label)
{
DebugNodeTabBarNative((ImGuiTabBar*)ptabBar, (byte*)plabel);
}
}
}
///
/// To be documented.
///
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(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);
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeTableNative(ImGuiTable* table)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1247])(table);
#else
((delegate* unmanaged[Cdecl])funcTable[1247])((nint)table);
#endif
}
///
/// To be documented.
///
public static void DebugNodeTable(ImGuiTablePtr table)
{
DebugNodeTableNative(table);
}
///
/// To be documented.
///
public static void DebugNodeTable(ref ImGuiTable table)
{
fixed (ImGuiTable* ptable = &table)
{
DebugNodeTableNative((ImGuiTable*)ptable);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeTableSettingsNative(ImGuiTableSettings* settings)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1248])(settings);
#else
((delegate* unmanaged[Cdecl])funcTable[1248])((nint)settings);
#endif
}
///
/// To be documented.
///
public static void DebugNodeTableSettings(ImGuiTableSettingsPtr settings)
{
DebugNodeTableSettingsNative(settings);
}
///
/// To be documented.
///
public static void DebugNodeTableSettings(ref ImGuiTableSettings settings)
{
fixed (ImGuiTableSettings* psettings = &settings)
{
DebugNodeTableSettingsNative((ImGuiTableSettings*)psettings);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeInputTextStateNative(ImGuiInputTextState* state)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1249])(state);
#else
((delegate* unmanaged[Cdecl])funcTable[1249])((nint)state);
#endif
}
///
/// To be documented.
///
public static void DebugNodeInputTextState(ImGuiInputTextStatePtr state)
{
DebugNodeInputTextStateNative(state);
}
///
/// To be documented.
///
public static void DebugNodeInputTextState(ref ImGuiInputTextState state)
{
fixed (ImGuiInputTextState* pstate = &state)
{
DebugNodeInputTextStateNative((ImGuiInputTextState*)pstate);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeWindowNative(ImGuiWindow* window, byte* label)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1250])(window, label);
#else
((delegate* unmanaged[Cdecl])funcTable[1250])((nint)window, (nint)label);
#endif
}
///
/// To be documented.
///
public static void DebugNodeWindow(ImGuiWindowPtr window, byte* label)
{
DebugNodeWindowNative(window, label);
}
///
/// To be documented.
///
public static void DebugNodeWindow(ref ImGuiWindow window, byte* label)
{
fixed (ImGuiWindow* pwindow = &window)
{
DebugNodeWindowNative((ImGuiWindow*)pwindow, label);
}
}
///
/// To be documented.
///
public static void DebugNodeWindow(ImGuiWindowPtr window, ref byte label)
{
fixed (byte* plabel = &label)
{
DebugNodeWindowNative(window, (byte*)plabel);
}
}
///
/// To be documented.
///
public static void DebugNodeWindow(ImGuiWindowPtr window, ReadOnlySpan label)
{
fixed (byte* plabel = label)
{
DebugNodeWindowNative(window, (byte*)plabel);
}
}
///
/// To be documented.
///
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(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);
}
}
///
/// To be documented.
///
public static void DebugNodeWindow(ref ImGuiWindow window, ref byte label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (byte* plabel = &label)
{
DebugNodeWindowNative((ImGuiWindow*)pwindow, (byte*)plabel);
}
}
}
///
/// To be documented.
///
public static void DebugNodeWindow(ref ImGuiWindow window, ReadOnlySpan label)
{
fixed (ImGuiWindow* pwindow = &window)
{
fixed (byte* plabel = label)
{
DebugNodeWindowNative((ImGuiWindow*)pwindow, (byte*)plabel);
}
}
}
///
/// To be documented.
///
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(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);
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeWindowSettingsNative(ImGuiWindowSettings* settings)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1251])(settings);
#else
((delegate* unmanaged[Cdecl])funcTable[1251])((nint)settings);
#endif
}
///
/// To be documented.
///
public static void DebugNodeWindowSettings(ImGuiWindowSettingsPtr settings)
{
DebugNodeWindowSettingsNative(settings);
}
///
/// To be documented.
///
public static void DebugNodeWindowSettings(ref ImGuiWindowSettings settings)
{
fixed (ImGuiWindowSettings* psettings = &settings)
{
DebugNodeWindowSettingsNative((ImGuiWindowSettings*)psettings);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeWindowsListNative(ImVector* windows, byte* label)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]*, byte*, void>)funcTable[1252])(windows, label);
#else
((delegate* unmanaged[Cdecl])funcTable[1252])((nint)windows, (nint)label);
#endif
}
///
/// To be documented.
///
public static void DebugNodeWindowsList(ImVector* windows, byte* label)
{
DebugNodeWindowsListNative(windows, label);
}
///
/// To be documented.
///
public static void DebugNodeWindowsList(ref ImVector windows, byte* label)
{
fixed (ImVector* pwindows = &windows)
{
DebugNodeWindowsListNative((ImVector*)pwindows, label);
}
}
///
/// To be documented.
///
public static void DebugNodeWindowsList(ImVector* windows, ref byte label)
{
fixed (byte* plabel = &label)
{
DebugNodeWindowsListNative(windows, (byte*)plabel);
}
}
///
/// To be documented.
///
public static void DebugNodeWindowsList(ImVector* windows, ReadOnlySpan label)
{
fixed (byte* plabel = label)
{
DebugNodeWindowsListNative(windows, (byte*)plabel);
}
}
///
/// To be documented.
///
public static void DebugNodeWindowsList(ImVector* windows, string label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(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);
}
}
///
/// To be documented.
///
public static void DebugNodeWindowsList(ref ImVector windows, ref byte label)
{
fixed (ImVector* pwindows = &windows)
{
fixed (byte* plabel = &label)
{
DebugNodeWindowsListNative((ImVector*)pwindows, (byte*)plabel);
}
}
}
///
/// To be documented.
///
public static void DebugNodeWindowsList(ref ImVector windows, ReadOnlySpan label)
{
fixed (ImVector* pwindows = &windows)
{
fixed (byte* plabel = label)
{
DebugNodeWindowsListNative((ImVector*)pwindows, (byte*)plabel);
}
}
}
///
/// To be documented.
///
public static void DebugNodeWindowsList(ref ImVector windows, string label)
{
fixed (ImVector* pwindows = &windows)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (label != null)
{
pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
DebugNodeWindowsListNative((ImVector*)pwindows, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DebugNodeWindowsListByBeginStackParentNative(ImGuiWindow** windows, int windowsSize, ImGuiWindow* parentInBeginStack)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[1253])(windows, windowsSize, parentInBeginStack);
#else
((delegate* unmanaged[Cdecl])funcTable[1253])((nint)windows, windowsSize, (nint)parentInBeginStack);
#endif
}
///