// ------------------------------------------------------------------------------
//
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
// ------------------------------------------------------------------------------
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using HexaGen.Runtime;
using System.Numerics;
namespace Dalamud.Bindings.ImGui
{
public unsafe partial class ImGui
{
///
/// To be documented.
///
public static bool PassFilter(ref ImGuiTextFilter self, string text, ReadOnlySpan textEnd)
{
fixed (ImGuiTextFilter* pself = &self)
{
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 (byte* ptextEnd = textEnd)
{
byte ret = PassFilterNative((ImGuiTextFilter*)pself, pStr0, (byte*)ptextEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret != 0;
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void BuildNative(ImGuiTextFilter* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[438])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[438])((nint)self);
#endif
}
///
/// To be documented.
///
public static void Build(ImGuiTextFilterPtr self)
{
BuildNative(self);
}
///
/// To be documented.
///
public static void Build(ref ImGuiTextFilter self)
{
fixed (ImGuiTextFilter* pself = &self)
{
BuildNative((ImGuiTextFilter*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ClearNative(ImGuiTextFilter* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[439])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[439])((nint)self);
#endif
}
///
/// To be documented.
///
public static void Clear(ImGuiTextFilterPtr self)
{
ClearNative(self);
}
///
/// To be documented.
///
public static void Clear(ref ImGuiTextFilter self)
{
fixed (ImGuiTextFilter* pself = &self)
{
ClearNative((ImGuiTextFilter*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte IsActiveNative(ImGuiTextFilter* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[440])(self);
#else
return (byte)((delegate* unmanaged[Cdecl])funcTable[440])((nint)self);
#endif
}
///
/// To be documented.
///
public static bool IsActive(ImGuiTextFilterPtr self)
{
byte ret = IsActiveNative(self);
return ret != 0;
}
///
/// To be documented.
///
public static bool IsActive(ref ImGuiTextFilter self)
{
fixed (ImGuiTextFilter* pself = &self)
{
byte ret = IsActiveNative((ImGuiTextFilter*)pself);
return ret != 0;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImGuiTextRange* ImGuiTextRangeNative()
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[441])();
#else
return (ImGuiTextRange*)((delegate* unmanaged[Cdecl])funcTable[441])();
#endif
}
///
/// To be documented.
///
public static ImGuiTextRangePtr ImGuiTextRange()
{
ImGuiTextRangePtr ret = ImGuiTextRangeNative();
return ret;
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DestroyNative(ImGuiTextRange* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[442])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[442])((nint)self);
#endif
}
///
/// To be documented.
///
public static void Destroy(ImGuiTextRangePtr self)
{
DestroyNative(self);
}
///
/// To be documented.
///
public static void Destroy(ref ImGuiTextRange self)
{
fixed (ImGuiTextRange* pself = &self)
{
DestroyNative((ImGuiTextRange*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImGuiTextRange* ImGuiTextRangeNative(byte* b, byte* e)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[443])(b, e);
#else
return (ImGuiTextRange*)((delegate* unmanaged[Cdecl])funcTable[443])((nint)b, (nint)e);
#endif
}
///
/// To be documented.
///
public static ImGuiTextRangePtr ImGuiTextRange(byte* b, byte* e)
{
ImGuiTextRangePtr ret = ImGuiTextRangeNative(b, e);
return ret;
}
///
/// To be documented.
///
public static ImGuiTextRangePtr ImGuiTextRange(ref byte b, byte* e)
{
fixed (byte* pb = &b)
{
ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, e);
return ret;
}
}
///
/// To be documented.
///
public static ImGuiTextRangePtr ImGuiTextRange(ReadOnlySpan b, byte* e)
{
fixed (byte* pb = b)
{
ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, e);
return ret;
}
}
///
/// To be documented.
///
public static ImGuiTextRangePtr ImGuiTextRange(string b, byte* e)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (b != null)
{
pStrSize0 = Utils.GetByteCountUTF8(b);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(b, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImGuiTextRangePtr ret = ImGuiTextRangeNative(pStr0, e);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
///
/// To be documented.
///
public static ImGuiTextRangePtr ImGuiTextRange(byte* b, ref byte e)
{
fixed (byte* pe = &e)
{
ImGuiTextRangePtr ret = ImGuiTextRangeNative(b, (byte*)pe);
return ret;
}
}
///
/// To be documented.
///
public static ImGuiTextRangePtr ImGuiTextRange(byte* b, ReadOnlySpan e)
{
fixed (byte* pe = e)
{
ImGuiTextRangePtr ret = ImGuiTextRangeNative(b, (byte*)pe);
return ret;
}
}
///
/// To be documented.
///
public static ImGuiTextRangePtr ImGuiTextRange(byte* b, string e)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (e != null)
{
pStrSize0 = Utils.GetByteCountUTF8(e);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(e, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImGuiTextRangePtr ret = ImGuiTextRangeNative(b, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
///
/// To be documented.
///
public static ImGuiTextRangePtr ImGuiTextRange(ref byte b, ref byte e)
{
fixed (byte* pb = &b)
{
fixed (byte* pe = &e)
{
ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, (byte*)pe);
return ret;
}
}
}
///
/// To be documented.
///
public static ImGuiTextRangePtr ImGuiTextRange(ReadOnlySpan b, ReadOnlySpan e)
{
fixed (byte* pb = b)
{
fixed (byte* pe = e)
{
ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, (byte*)pe);
return ret;
}
}
}
///
/// To be documented.
///
public static ImGuiTextRangePtr ImGuiTextRange(string b, string e)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (b != null)
{
pStrSize0 = Utils.GetByteCountUTF8(b);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(b, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte* pStr1 = null;
int pStrSize1 = 0;
if (e != null)
{
pStrSize1 = Utils.GetByteCountUTF8(e);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(e, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
ImGuiTextRangePtr ret = ImGuiTextRangeNative(pStr0, pStr1);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
///
/// To be documented.
///
public static ImGuiTextRangePtr ImGuiTextRange(ref byte b, ReadOnlySpan e)
{
fixed (byte* pb = &b)
{
fixed (byte* pe = e)
{
ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, (byte*)pe);
return ret;
}
}
}
///
/// To be documented.
///
public static ImGuiTextRangePtr ImGuiTextRange(ref byte b, string e)
{
fixed (byte* pb = &b)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (e != null)
{
pStrSize0 = Utils.GetByteCountUTF8(e);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(e, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
///
/// To be documented.
///
public static ImGuiTextRangePtr ImGuiTextRange(ReadOnlySpan b, ref byte e)
{
fixed (byte* pb = b)
{
fixed (byte* pe = &e)
{
ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, (byte*)pe);
return ret;
}
}
}
///
/// To be documented.
///
public static ImGuiTextRangePtr ImGuiTextRange(ReadOnlySpan b, string e)
{
fixed (byte* pb = b)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (e != null)
{
pStrSize0 = Utils.GetByteCountUTF8(e);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(e, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
///
/// To be documented.
///
public static ImGuiTextRangePtr ImGuiTextRange(string b, ref byte e)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (b != null)
{
pStrSize0 = Utils.GetByteCountUTF8(b);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(b, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pe = &e)
{
ImGuiTextRangePtr ret = ImGuiTextRangeNative(pStr0, (byte*)pe);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
///
/// To be documented.
///
public static ImGuiTextRangePtr ImGuiTextRange(string b, ReadOnlySpan e)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (b != null)
{
pStrSize0 = Utils.GetByteCountUTF8(b);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(b, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pe = e)
{
ImGuiTextRangePtr ret = ImGuiTextRangeNative(pStr0, (byte*)pe);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte emptyNative(ImGuiTextRange* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[444])(self);
#else
return (byte)((delegate* unmanaged[Cdecl])funcTable[444])((nint)self);
#endif
}
///
/// To be documented.
///
public static bool empty(ImGuiTextRangePtr self)
{
byte ret = emptyNative(self);
return ret != 0;
}
///
/// To be documented.
///
public static bool empty(ref ImGuiTextRange self)
{
fixed (ImGuiTextRange* pself = &self)
{
byte ret = emptyNative((ImGuiTextRange*)pself);
return ret != 0;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void splitNative(ImGuiTextRange* self, byte separator, ImVector* output)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]*, void>)funcTable[445])(self, separator, output);
#else
((delegate* unmanaged[Cdecl])funcTable[445])((nint)self, separator, (nint)output);
#endif
}
///
/// To be documented.
///
public static void split(ImGuiTextRangePtr self, byte separator, ImVector* output)
{
splitNative(self, separator, output);
}
///
/// To be documented.
///
public static void split(ref ImGuiTextRange self, byte separator, ImVector* output)
{
fixed (ImGuiTextRange* pself = &self)
{
splitNative((ImGuiTextRange*)pself, separator, output);
}
}
///
/// To be documented.
///
public static void split(ImGuiTextRangePtr self, byte separator, ref ImVector output)
{
fixed (ImVector* poutput = &output)
{
splitNative(self, separator, (ImVector*)poutput);
}
}
///
/// To be documented.
///
public static void split(ref ImGuiTextRange self, byte separator, ref ImVector output)
{
fixed (ImGuiTextRange* pself = &self)
{
fixed (ImVector* poutput = &output)
{
splitNative((ImGuiTextRange*)pself, separator, (ImVector*)poutput);
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImGuiTextBuffer* ImGuiTextBufferNative()
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[446])();
#else
return (ImGuiTextBuffer*)((delegate* unmanaged[Cdecl])funcTable[446])();
#endif
}
///
/// To be documented.
///
public static ImGuiTextBufferPtr ImGuiTextBuffer()
{
ImGuiTextBufferPtr ret = ImGuiTextBufferNative();
return ret;
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DestroyNative(ImGuiTextBuffer* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[447])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[447])((nint)self);
#endif
}
///
/// To be documented.
///
public static void Destroy(ImGuiTextBufferPtr self)
{
DestroyNative(self);
}
///
/// To be documented.
///
public static void Destroy(ref ImGuiTextBuffer self)
{
fixed (ImGuiTextBuffer* pself = &self)
{
DestroyNative((ImGuiTextBuffer*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte* beginNative(ImGuiTextBuffer* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[448])(self);
#else
return (byte*)((delegate* unmanaged[Cdecl])funcTable[448])((nint)self);
#endif
}
///
/// To be documented.
///
public static byte* begin(ImGuiTextBufferPtr self)
{
byte* ret = beginNative(self);
return ret;
}
///
/// To be documented.
///
public static string beginS(ImGuiTextBufferPtr self)
{
string ret = Utils.DecodeStringUTF8(beginNative(self));
return ret;
}
///
/// To be documented.
///
public static byte* begin(ref ImGuiTextBuffer self)
{
fixed (ImGuiTextBuffer* pself = &self)
{
byte* ret = beginNative((ImGuiTextBuffer*)pself);
return ret;
}
}
///
/// To be documented.
///
public static string beginS(ref ImGuiTextBuffer self)
{
fixed (ImGuiTextBuffer* pself = &self)
{
string ret = Utils.DecodeStringUTF8(beginNative((ImGuiTextBuffer*)pself));
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte* endNative(ImGuiTextBuffer* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[449])(self);
#else
return (byte*)((delegate* unmanaged[Cdecl])funcTable[449])((nint)self);
#endif
}
///
/// To be documented.
///
public static byte* end(ImGuiTextBufferPtr self)
{
byte* ret = endNative(self);
return ret;
}
///
/// To be documented.
///
public static string endS(ImGuiTextBufferPtr self)
{
string ret = Utils.DecodeStringUTF8(endNative(self));
return ret;
}
///
/// To be documented.
///
public static byte* end(ref ImGuiTextBuffer self)
{
fixed (ImGuiTextBuffer* pself = &self)
{
byte* ret = endNative((ImGuiTextBuffer*)pself);
return ret;
}
}
///
/// To be documented.
///
public static string endS(ref ImGuiTextBuffer self)
{
fixed (ImGuiTextBuffer* pself = &self)
{
string ret = Utils.DecodeStringUTF8(endNative((ImGuiTextBuffer*)pself));
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static int sizeNative(ImGuiTextBuffer* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[450])(self);
#else
return (int)((delegate* unmanaged[Cdecl])funcTable[450])((nint)self);
#endif
}
///
/// To be documented.
///
public static int size(ImGuiTextBufferPtr self)
{
int ret = sizeNative(self);
return ret;
}
///
/// To be documented.
///
public static int size(ref ImGuiTextBuffer self)
{
fixed (ImGuiTextBuffer* pself = &self)
{
int ret = sizeNative((ImGuiTextBuffer*)pself);
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte emptyNative(ImGuiTextBuffer* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[451])(self);
#else
return (byte)((delegate* unmanaged[Cdecl])funcTable[451])((nint)self);
#endif
}
///
/// To be documented.
///
public static bool empty(ImGuiTextBufferPtr self)
{
byte ret = emptyNative(self);
return ret != 0;
}
///
/// To be documented.
///
public static bool empty(ref ImGuiTextBuffer self)
{
fixed (ImGuiTextBuffer* pself = &self)
{
byte ret = emptyNative((ImGuiTextBuffer*)pself);
return ret != 0;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void clearNative(ImGuiTextBuffer* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[452])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[452])((nint)self);
#endif
}
///
/// To be documented.
///
public static void clear(ImGuiTextBufferPtr self)
{
clearNative(self);
}
///
/// To be documented.
///
public static void clear(ref ImGuiTextBuffer self)
{
fixed (ImGuiTextBuffer* pself = &self)
{
clearNative((ImGuiTextBuffer*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void reserveNative(ImGuiTextBuffer* self, int capacity)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[453])(self, capacity);
#else
((delegate* unmanaged[Cdecl])funcTable[453])((nint)self, capacity);
#endif
}
///
/// To be documented.
///
public static void reserve(ImGuiTextBufferPtr self, int capacity)
{
reserveNative(self, capacity);
}
///
/// To be documented.
///
public static void reserve(ref ImGuiTextBuffer self, int capacity)
{
fixed (ImGuiTextBuffer* pself = &self)
{
reserveNative((ImGuiTextBuffer*)pself, capacity);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte* c_strNative(ImGuiTextBuffer* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[454])(self);
#else
return (byte*)((delegate* unmanaged[Cdecl])funcTable[454])((nint)self);
#endif
}
///
/// To be documented.
///
public static byte* c_str(ImGuiTextBufferPtr self)
{
byte* ret = c_strNative(self);
return ret;
}
///
/// To be documented.
///
public static string c_strS(ImGuiTextBufferPtr self)
{
string ret = Utils.DecodeStringUTF8(c_strNative(self));
return ret;
}
///
/// To be documented.
///
public static byte* c_str(ref ImGuiTextBuffer self)
{
fixed (ImGuiTextBuffer* pself = &self)
{
byte* ret = c_strNative((ImGuiTextBuffer*)pself);
return ret;
}
}
///
/// To be documented.
///
public static string c_strS(ref ImGuiTextBuffer self)
{
fixed (ImGuiTextBuffer* pself = &self)
{
string ret = Utils.DecodeStringUTF8(c_strNative((ImGuiTextBuffer*)pself));
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void appendNative(ImGuiTextBuffer* self, byte* str, byte* strEnd)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[455])(self, str, strEnd);
#else
((delegate* unmanaged[Cdecl])funcTable[455])((nint)self, (nint)str, (nint)strEnd);
#endif
}
///
/// To be documented.
///
public static void append(ImGuiTextBufferPtr self, byte* str, byte* strEnd)
{
appendNative(self, str, strEnd);
}
///
/// To be documented.
///
public static void append(ImGuiTextBufferPtr self, byte* str)
{
appendNative(self, str, (byte*)(default));
}
///
/// To be documented.
///
public static void append(ref ImGuiTextBuffer self, byte* str, byte* strEnd)
{
fixed (ImGuiTextBuffer* pself = &self)
{
appendNative((ImGuiTextBuffer*)pself, str, strEnd);
}
}
///
/// To be documented.
///
public static void append(ref ImGuiTextBuffer self, byte* str)
{
fixed (ImGuiTextBuffer* pself = &self)
{
appendNative((ImGuiTextBuffer*)pself, str, (byte*)(default));
}
}
///
/// To be documented.
///
public static void append(ImGuiTextBufferPtr self, ref byte str, byte* strEnd)
{
fixed (byte* pstr = &str)
{
appendNative(self, (byte*)pstr, strEnd);
}
}
///
/// To be documented.
///
public static void append(ImGuiTextBufferPtr self, ref byte str)
{
fixed (byte* pstr = &str)
{
appendNative(self, (byte*)pstr, (byte*)(default));
}
}
///
/// To be documented.
///
public static void append(ImGuiTextBufferPtr self, ReadOnlySpan str, byte* strEnd)
{
fixed (byte* pstr = str)
{
appendNative(self, (byte*)pstr, strEnd);
}
}
///
/// To be documented.
///
public static void append(ImGuiTextBufferPtr self, ReadOnlySpan str)
{
fixed (byte* pstr = str)
{
appendNative(self, (byte*)pstr, (byte*)(default));
}
}
///
/// To be documented.
///
public static void append(ImGuiTextBufferPtr self, string str, byte* strEnd)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (str != null)
{
pStrSize0 = Utils.GetByteCountUTF8(str);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
appendNative(self, pStr0, strEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
///
/// To be documented.
///
public static void append(ImGuiTextBufferPtr self, string str)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (str != null)
{
pStrSize0 = Utils.GetByteCountUTF8(str);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
appendNative(self, pStr0, (byte*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
///
/// To be documented.
///
public static void append(ref ImGuiTextBuffer self, ref byte str, byte* strEnd)
{
fixed (ImGuiTextBuffer* pself = &self)
{
fixed (byte* pstr = &str)
{
appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, strEnd);
}
}
}
///
/// To be documented.
///
public static void append(ref ImGuiTextBuffer self, ref byte str)
{
fixed (ImGuiTextBuffer* pself = &self)
{
fixed (byte* pstr = &str)
{
appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, (byte*)(default));
}
}
}
///
/// To be documented.
///
public static void append(ref ImGuiTextBuffer self, ReadOnlySpan str, byte* strEnd)
{
fixed (ImGuiTextBuffer* pself = &self)
{
fixed (byte* pstr = str)
{
appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, strEnd);
}
}
}
///
/// To be documented.
///
public static void append(ref ImGuiTextBuffer self, ReadOnlySpan str)
{
fixed (ImGuiTextBuffer* pself = &self)
{
fixed (byte* pstr = str)
{
appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, (byte*)(default));
}
}
}
///
/// To be documented.
///
public static void append(ref ImGuiTextBuffer self, string str, byte* strEnd)
{
fixed (ImGuiTextBuffer* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (str != null)
{
pStrSize0 = Utils.GetByteCountUTF8(str);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
appendNative((ImGuiTextBuffer*)pself, pStr0, strEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
///
/// To be documented.
///
public static void append(ref ImGuiTextBuffer self, string str)
{
fixed (ImGuiTextBuffer* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (str != null)
{
pStrSize0 = Utils.GetByteCountUTF8(str);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
appendNative((ImGuiTextBuffer*)pself, pStr0, (byte*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
///
/// To be documented.
///
public static void append(ImGuiTextBufferPtr self, byte* str, ref byte strEnd)
{
fixed (byte* pstrEnd = &strEnd)
{
appendNative(self, str, (byte*)pstrEnd);
}
}
///
/// To be documented.
///
public static void append(ImGuiTextBufferPtr self, byte* str, ReadOnlySpan strEnd)
{
fixed (byte* pstrEnd = strEnd)
{
appendNative(self, str, (byte*)pstrEnd);
}
}
///
/// To be documented.
///
public static void append(ImGuiTextBufferPtr self, byte* str, string strEnd)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (strEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(strEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
appendNative(self, str, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
///
/// To be documented.
///
public static void append(ref ImGuiTextBuffer self, byte* str, ref byte strEnd)
{
fixed (ImGuiTextBuffer* pself = &self)
{
fixed (byte* pstrEnd = &strEnd)
{
appendNative((ImGuiTextBuffer*)pself, str, (byte*)pstrEnd);
}
}
}
///
/// To be documented.
///
public static void append(ref ImGuiTextBuffer self, byte* str, ReadOnlySpan strEnd)
{
fixed (ImGuiTextBuffer* pself = &self)
{
fixed (byte* pstrEnd = strEnd)
{
appendNative((ImGuiTextBuffer*)pself, str, (byte*)pstrEnd);
}
}
}
///
/// To be documented.
///
public static void append(ref ImGuiTextBuffer self, byte* str, string strEnd)
{
fixed (ImGuiTextBuffer* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (strEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(strEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
appendNative((ImGuiTextBuffer*)pself, str, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
///
/// To be documented.
///
public static void append(ImGuiTextBufferPtr self, ref byte str, ref byte strEnd)
{
fixed (byte* pstr = &str)
{
fixed (byte* pstrEnd = &strEnd)
{
appendNative(self, (byte*)pstr, (byte*)pstrEnd);
}
}
}
///
/// To be documented.
///
public static void append(ImGuiTextBufferPtr self, ReadOnlySpan str, ReadOnlySpan strEnd)
{
fixed (byte* pstr = str)
{
fixed (byte* pstrEnd = strEnd)
{
appendNative(self, (byte*)pstr, (byte*)pstrEnd);
}
}
}
///
/// To be documented.
///
public static void append(ImGuiTextBufferPtr self, string str, string strEnd)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (str != null)
{
pStrSize0 = Utils.GetByteCountUTF8(str);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte* pStr1 = null;
int pStrSize1 = 0;
if (strEnd != null)
{
pStrSize1 = Utils.GetByteCountUTF8(strEnd);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(strEnd, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
appendNative(self, pStr0, pStr1);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
///
/// To be documented.
///
public static void append(ImGuiTextBufferPtr self, ref byte str, ReadOnlySpan strEnd)
{
fixed (byte* pstr = &str)
{
fixed (byte* pstrEnd = strEnd)
{
appendNative(self, (byte*)pstr, (byte*)pstrEnd);
}
}
}
///
/// To be documented.
///
public static void append(ImGuiTextBufferPtr self, ref byte str, string strEnd)
{
fixed (byte* pstr = &str)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (strEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(strEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
appendNative(self, (byte*)pstr, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
///
/// To be documented.
///
public static void append(ImGuiTextBufferPtr self, ReadOnlySpan str, ref byte strEnd)
{
fixed (byte* pstr = str)
{
fixed (byte* pstrEnd = &strEnd)
{
appendNative(self, (byte*)pstr, (byte*)pstrEnd);
}
}
}
///
/// To be documented.
///
public static void append(ImGuiTextBufferPtr self, ReadOnlySpan str, string strEnd)
{
fixed (byte* pstr = str)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (strEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(strEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
appendNative(self, (byte*)pstr, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
///
/// To be documented.
///
public static void append(ImGuiTextBufferPtr self, string str, ref byte strEnd)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (str != null)
{
pStrSize0 = Utils.GetByteCountUTF8(str);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pstrEnd = &strEnd)
{
appendNative(self, pStr0, (byte*)pstrEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
///
/// To be documented.
///
public static void append(ImGuiTextBufferPtr self, string str, ReadOnlySpan strEnd)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (str != null)
{
pStrSize0 = Utils.GetByteCountUTF8(str);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pstrEnd = strEnd)
{
appendNative(self, pStr0, (byte*)pstrEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
///
/// To be documented.
///
public static void append(ref ImGuiTextBuffer self, ref byte str, ref byte strEnd)
{
fixed (ImGuiTextBuffer* pself = &self)
{
fixed (byte* pstr = &str)
{
fixed (byte* pstrEnd = &strEnd)
{
appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, (byte*)pstrEnd);
}
}
}
}
///
/// To be documented.
///
public static void append(ref ImGuiTextBuffer self, ReadOnlySpan str, ReadOnlySpan strEnd)
{
fixed (ImGuiTextBuffer* pself = &self)
{
fixed (byte* pstr = str)
{
fixed (byte* pstrEnd = strEnd)
{
appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, (byte*)pstrEnd);
}
}
}
}
///
/// To be documented.
///
public static void append(ref ImGuiTextBuffer self, string str, string strEnd)
{
fixed (ImGuiTextBuffer* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (str != null)
{
pStrSize0 = Utils.GetByteCountUTF8(str);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte* pStr1 = null;
int pStrSize1 = 0;
if (strEnd != null)
{
pStrSize1 = Utils.GetByteCountUTF8(strEnd);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(strEnd, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
appendNative((ImGuiTextBuffer*)pself, pStr0, pStr1);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
///
/// To be documented.
///
public static void append(ref ImGuiTextBuffer self, ref byte str, ReadOnlySpan strEnd)
{
fixed (ImGuiTextBuffer* pself = &self)
{
fixed (byte* pstr = &str)
{
fixed (byte* pstrEnd = strEnd)
{
appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, (byte*)pstrEnd);
}
}
}
}
///
/// To be documented.
///
public static void append(ref ImGuiTextBuffer self, ref byte str, string strEnd)
{
fixed (ImGuiTextBuffer* pself = &self)
{
fixed (byte* pstr = &str)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (strEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(strEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
///
/// To be documented.
///
public static void append(ref ImGuiTextBuffer self, ReadOnlySpan str, ref byte strEnd)
{
fixed (ImGuiTextBuffer* pself = &self)
{
fixed (byte* pstr = str)
{
fixed (byte* pstrEnd = &strEnd)
{
appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, (byte*)pstrEnd);
}
}
}
}
///
/// To be documented.
///
public static void append(ref ImGuiTextBuffer self, ReadOnlySpan str, string strEnd)
{
fixed (ImGuiTextBuffer* pself = &self)
{
fixed (byte* pstr = str)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (strEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(strEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
///
/// To be documented.
///
public static void append(ref ImGuiTextBuffer self, string str, ref byte strEnd)
{
fixed (ImGuiTextBuffer* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (str != null)
{
pStrSize0 = Utils.GetByteCountUTF8(str);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pstrEnd = &strEnd)
{
appendNative((ImGuiTextBuffer*)pself, pStr0, (byte*)pstrEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
///
/// To be documented.
///
public static void append(ref ImGuiTextBuffer self, string str, ReadOnlySpan strEnd)
{
fixed (ImGuiTextBuffer* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (str != null)
{
pStrSize0 = Utils.GetByteCountUTF8(str);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* pstrEnd = strEnd)
{
appendNative((ImGuiTextBuffer*)pself, pStr0, (byte*)pstrEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void appendfvNative(ImGuiTextBuffer* self, byte* fmt, nuint args)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[456])(self, fmt, args);
#else
((delegate* unmanaged[Cdecl])funcTable[456])((nint)self, (nint)fmt, args);
#endif
}
///
/// To be documented.
///
public static void appendfv(ImGuiTextBufferPtr self, byte* fmt, nuint args)
{
appendfvNative(self, fmt, args);
}
///
/// To be documented.
///
public static void appendfv(ref ImGuiTextBuffer self, byte* fmt, nuint args)
{
fixed (ImGuiTextBuffer* pself = &self)
{
appendfvNative((ImGuiTextBuffer*)pself, fmt, args);
}
}
///
/// To be documented.
///
public static void appendfv(ImGuiTextBufferPtr self, ref byte fmt, nuint args)
{
fixed (byte* pfmt = &fmt)
{
appendfvNative(self, (byte*)pfmt, args);
}
}
///
/// To be documented.
///
public static void appendfv(ImGuiTextBufferPtr self, ReadOnlySpan fmt, nuint args)
{
fixed (byte* pfmt = fmt)
{
appendfvNative(self, (byte*)pfmt, args);
}
}
///
/// To be documented.
///
public static void appendfv(ImGuiTextBufferPtr self, 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;
}
appendfvNative(self, pStr0, args);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
///
/// To be documented.
///
public static void appendfv(ref ImGuiTextBuffer self, ref byte fmt, nuint args)
{
fixed (ImGuiTextBuffer* pself = &self)
{
fixed (byte* pfmt = &fmt)
{
appendfvNative((ImGuiTextBuffer*)pself, (byte*)pfmt, args);
}
}
}
///
/// To be documented.
///
public static void appendfv(ref ImGuiTextBuffer self, ReadOnlySpan fmt, nuint args)
{
fixed (ImGuiTextBuffer* pself = &self)
{
fixed (byte* pfmt = fmt)
{
appendfvNative((ImGuiTextBuffer*)pself, (byte*)pfmt, args);
}
}
}
///
/// To be documented.
///
public static void appendfv(ref ImGuiTextBuffer self, string fmt, nuint args)
{
fixed (ImGuiTextBuffer* pself = &self)
{
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;
}
appendfvNative((ImGuiTextBuffer*)pself, pStr0, args);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImGuiStoragePair* ImGuiStoragePairNative(uint key, int valI)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[457])(key, valI);
#else
return (ImGuiStoragePair*)((delegate* unmanaged[Cdecl])funcTable[457])(key, valI);
#endif
}
///
/// To be documented.
///
public static ImGuiStoragePairPtr ImGuiStoragePair(uint key, int valI)
{
ImGuiStoragePairPtr ret = ImGuiStoragePairNative(key, valI);
return ret;
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DestroyNative(ImGuiStoragePair* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[458])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[458])((nint)self);
#endif
}
///
/// To be documented.
///
public static void Destroy(ImGuiStoragePairPtr self)
{
DestroyNative(self);
}
///
/// To be documented.
///
public static void Destroy(ref ImGuiStoragePair self)
{
fixed (ImGuiStoragePair* pself = &self)
{
DestroyNative((ImGuiStoragePair*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImGuiStoragePair* ImGuiStoragePairNative(uint key, float valF)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[459])(key, valF);
#else
return (ImGuiStoragePair*)((delegate* unmanaged[Cdecl])funcTable[459])(key, valF);
#endif
}
///
/// To be documented.
///
public static ImGuiStoragePairPtr ImGuiStoragePair(uint key, float valF)
{
ImGuiStoragePairPtr ret = ImGuiStoragePairNative(key, valF);
return ret;
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImGuiStoragePair* ImGuiStoragePairNative(uint key, void* valP)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[460])(key, valP);
#else
return (ImGuiStoragePair*)((delegate* unmanaged[Cdecl])funcTable[460])(key, (nint)valP);
#endif
}
///
/// To be documented.
///
public static ImGuiStoragePairPtr ImGuiStoragePair(uint key, void* valP)
{
ImGuiStoragePairPtr ret = ImGuiStoragePairNative(key, valP);
return ret;
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ClearNative(ImGuiStorage* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[461])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[461])((nint)self);
#endif
}
///
/// To be documented.
///
public static void Clear(ImGuiStoragePtr self)
{
ClearNative(self);
}
///
/// To be documented.
///
public static void Clear(ref ImGuiStorage self)
{
fixed (ImGuiStorage* pself = &self)
{
ClearNative((ImGuiStorage*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static int GetIntNative(ImGuiStorage* self, uint key, int defaultVal)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[462])(self, key, defaultVal);
#else
return (int)((delegate* unmanaged[Cdecl])funcTable[462])((nint)self, key, defaultVal);
#endif
}
///
/// To be documented.
///
public static int GetInt(ImGuiStoragePtr self, uint key, int defaultVal)
{
int ret = GetIntNative(self, key, defaultVal);
return ret;
}
///
/// To be documented.
///
public static int GetInt(ImGuiStoragePtr self, uint key)
{
int ret = GetIntNative(self, key, (int)(0));
return ret;
}
///
/// To be documented.
///
public static int GetInt(ref ImGuiStorage self, uint key, int defaultVal)
{
fixed (ImGuiStorage* pself = &self)
{
int ret = GetIntNative((ImGuiStorage*)pself, key, defaultVal);
return ret;
}
}
///
/// To be documented.
///
public static int GetInt(ref ImGuiStorage self, uint key)
{
fixed (ImGuiStorage* pself = &self)
{
int ret = GetIntNative((ImGuiStorage*)pself, key, (int)(0));
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void SetIntNative(ImGuiStorage* self, uint key, int val)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[463])(self, key, val);
#else
((delegate* unmanaged[Cdecl])funcTable[463])((nint)self, key, val);
#endif
}
///
/// To be documented.
///
public static void SetInt(ImGuiStoragePtr self, uint key, int val)
{
SetIntNative(self, key, val);
}
///
/// To be documented.
///
public static void SetInt(ref ImGuiStorage self, uint key, int val)
{
fixed (ImGuiStorage* pself = &self)
{
SetIntNative((ImGuiStorage*)pself, key, val);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte GetBoolNative(ImGuiStorage* self, uint key, byte defaultVal)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[464])(self, key, defaultVal);
#else
return (byte)((delegate* unmanaged[Cdecl])funcTable[464])((nint)self, key, defaultVal);
#endif
}
///
/// To be documented.
///
public static bool GetBool(ImGuiStoragePtr self, uint key, bool defaultVal)
{
byte ret = GetBoolNative(self, key, defaultVal ? (byte)1 : (byte)0);
return ret != 0;
}
///
/// To be documented.
///
public static bool GetBool(ImGuiStoragePtr self, uint key)
{
byte ret = GetBoolNative(self, key, (byte)(0));
return ret != 0;
}
///
/// To be documented.
///
public static bool GetBool(ref ImGuiStorage self, uint key, bool defaultVal)
{
fixed (ImGuiStorage* pself = &self)
{
byte ret = GetBoolNative((ImGuiStorage*)pself, key, defaultVal ? (byte)1 : (byte)0);
return ret != 0;
}
}
///
/// To be documented.
///
public static bool GetBool(ref ImGuiStorage self, uint key)
{
fixed (ImGuiStorage* pself = &self)
{
byte ret = GetBoolNative((ImGuiStorage*)pself, key, (byte)(0));
return ret != 0;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void SetBoolNative(ImGuiStorage* self, uint key, byte val)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[465])(self, key, val);
#else
((delegate* unmanaged[Cdecl])funcTable[465])((nint)self, key, val);
#endif
}
///
/// To be documented.
///
public static void SetBool(ImGuiStoragePtr self, uint key, bool val)
{
SetBoolNative(self, key, val ? (byte)1 : (byte)0);
}
///
/// To be documented.
///
public static void SetBool(ref ImGuiStorage self, uint key, bool val)
{
fixed (ImGuiStorage* pself = &self)
{
SetBoolNative((ImGuiStorage*)pself, key, val ? (byte)1 : (byte)0);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static float GetFloatNative(ImGuiStorage* self, uint key, float defaultVal)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[466])(self, key, defaultVal);
#else
return (float)((delegate* unmanaged[Cdecl])funcTable[466])((nint)self, key, defaultVal);
#endif
}
///
/// To be documented.
///
public static float GetFloat(ImGuiStoragePtr self, uint key, float defaultVal)
{
float ret = GetFloatNative(self, key, defaultVal);
return ret;
}
///
/// To be documented.
///
public static float GetFloat(ImGuiStoragePtr self, uint key)
{
float ret = GetFloatNative(self, key, (float)(0.0f));
return ret;
}
///
/// To be documented.
///
public static float GetFloat(ref ImGuiStorage self, uint key, float defaultVal)
{
fixed (ImGuiStorage* pself = &self)
{
float ret = GetFloatNative((ImGuiStorage*)pself, key, defaultVal);
return ret;
}
}
///
/// To be documented.
///
public static float GetFloat(ref ImGuiStorage self, uint key)
{
fixed (ImGuiStorage* pself = &self)
{
float ret = GetFloatNative((ImGuiStorage*)pself, key, (float)(0.0f));
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void SetFloatNative(ImGuiStorage* self, uint key, float val)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[467])(self, key, val);
#else
((delegate* unmanaged[Cdecl])funcTable[467])((nint)self, key, val);
#endif
}
///
/// To be documented.
///
public static void SetFloat(ImGuiStoragePtr self, uint key, float val)
{
SetFloatNative(self, key, val);
}
///
/// To be documented.
///
public static void SetFloat(ref ImGuiStorage self, uint key, float val)
{
fixed (ImGuiStorage* pself = &self)
{
SetFloatNative((ImGuiStorage*)pself, key, val);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void* GetVoidPtrNative(ImGuiStorage* self, uint key)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[468])(self, key);
#else
return (void*)((delegate* unmanaged[Cdecl])funcTable[468])((nint)self, key);
#endif
}
///
/// To be documented.
///
public static void* GetVoidPtr(ImGuiStoragePtr self, uint key)
{
void* ret = GetVoidPtrNative(self, key);
return ret;
}
///
/// To be documented.
///
public static void* GetVoidPtr(ref ImGuiStorage self, uint key)
{
fixed (ImGuiStorage* pself = &self)
{
void* ret = GetVoidPtrNative((ImGuiStorage*)pself, key);
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void SetVoidPtrNative(ImGuiStorage* self, uint key, void* val)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[469])(self, key, val);
#else
((delegate* unmanaged[Cdecl])funcTable[469])((nint)self, key, (nint)val);
#endif
}
///
/// To be documented.
///
public static void SetVoidPtr(ImGuiStoragePtr self, uint key, void* val)
{
SetVoidPtrNative(self, key, val);
}
///
/// To be documented.
///
public static void SetVoidPtr(ref ImGuiStorage self, uint key, void* val)
{
fixed (ImGuiStorage* pself = &self)
{
SetVoidPtrNative((ImGuiStorage*)pself, key, val);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static int* GetIntRefNative(ImGuiStorage* self, uint key, int defaultVal)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[470])(self, key, defaultVal);
#else
return (int*)((delegate* unmanaged[Cdecl])funcTable[470])((nint)self, key, defaultVal);
#endif
}
///
/// To be documented.
///
public static int* GetIntRef(ImGuiStoragePtr self, uint key, int defaultVal)
{
int* ret = GetIntRefNative(self, key, defaultVal);
return ret;
}
///
/// To be documented.
///
public static int* GetIntRef(ImGuiStoragePtr self, uint key)
{
int* ret = GetIntRefNative(self, key, (int)(0));
return ret;
}
///
/// To be documented.
///
public static int* GetIntRef(ref ImGuiStorage self, uint key, int defaultVal)
{
fixed (ImGuiStorage* pself = &self)
{
int* ret = GetIntRefNative((ImGuiStorage*)pself, key, defaultVal);
return ret;
}
}
///
/// To be documented.
///
public static int* GetIntRef(ref ImGuiStorage self, uint key)
{
fixed (ImGuiStorage* pself = &self)
{
int* ret = GetIntRefNative((ImGuiStorage*)pself, key, (int)(0));
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static bool* GetBoolRefNative(ImGuiStorage* self, uint key, byte defaultVal)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[471])(self, key, defaultVal);
#else
return (bool*)((delegate* unmanaged[Cdecl])funcTable[471])((nint)self, key, defaultVal);
#endif
}
///
/// To be documented.
///
public static bool* GetBoolRef(ImGuiStoragePtr self, uint key, bool defaultVal)
{
bool* ret = GetBoolRefNative(self, key, defaultVal ? (byte)1 : (byte)0);
return ret;
}
///
/// To be documented.
///
public static bool* GetBoolRef(ImGuiStoragePtr self, uint key)
{
bool* ret = GetBoolRefNative(self, key, (byte)(0));
return ret;
}
///
/// To be documented.
///
public static bool* GetBoolRef(ref ImGuiStorage self, uint key, bool defaultVal)
{
fixed (ImGuiStorage* pself = &self)
{
bool* ret = GetBoolRefNative((ImGuiStorage*)pself, key, defaultVal ? (byte)1 : (byte)0);
return ret;
}
}
///
/// To be documented.
///
public static bool* GetBoolRef(ref ImGuiStorage self, uint key)
{
fixed (ImGuiStorage* pself = &self)
{
bool* ret = GetBoolRefNative((ImGuiStorage*)pself, key, (byte)(0));
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static float* GetFloatRefNative(ImGuiStorage* self, uint key, float defaultVal)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[472])(self, key, defaultVal);
#else
return (float*)((delegate* unmanaged[Cdecl])funcTable[472])((nint)self, key, defaultVal);
#endif
}
///
/// To be documented.
///
public static float* GetFloatRef(ImGuiStoragePtr self, uint key, float defaultVal)
{
float* ret = GetFloatRefNative(self, key, defaultVal);
return ret;
}
///
/// To be documented.
///
public static float* GetFloatRef(ImGuiStoragePtr self, uint key)
{
float* ret = GetFloatRefNative(self, key, (float)(0.0f));
return ret;
}
///
/// To be documented.
///
public static float* GetFloatRef(ref ImGuiStorage self, uint key, float defaultVal)
{
fixed (ImGuiStorage* pself = &self)
{
float* ret = GetFloatRefNative((ImGuiStorage*)pself, key, defaultVal);
return ret;
}
}
///
/// To be documented.
///
public static float* GetFloatRef(ref ImGuiStorage self, uint key)
{
fixed (ImGuiStorage* pself = &self)
{
float* ret = GetFloatRefNative((ImGuiStorage*)pself, key, (float)(0.0f));
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void** GetVoidPtrRefNative(ImGuiStorage* self, uint key, void* defaultVal)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[473])(self, key, defaultVal);
#else
return (void**)((delegate* unmanaged[Cdecl])funcTable[473])((nint)self, key, (nint)defaultVal);
#endif
}
///
/// To be documented.
///
public static void** GetVoidPtrRef(ImGuiStoragePtr self, uint key, void* defaultVal)
{
void** ret = GetVoidPtrRefNative(self, key, defaultVal);
return ret;
}
///
/// To be documented.
///
public static void** GetVoidPtrRef(ImGuiStoragePtr self, uint key)
{
void** ret = GetVoidPtrRefNative(self, key, (void*)(default));
return ret;
}
///
/// To be documented.
///
public static void** GetVoidPtrRef(ref ImGuiStorage self, uint key, void* defaultVal)
{
fixed (ImGuiStorage* pself = &self)
{
void** ret = GetVoidPtrRefNative((ImGuiStorage*)pself, key, defaultVal);
return ret;
}
}
///
/// To be documented.
///
public static void** GetVoidPtrRef(ref ImGuiStorage self, uint key)
{
fixed (ImGuiStorage* pself = &self)
{
void** ret = GetVoidPtrRefNative((ImGuiStorage*)pself, key, (void*)(default));
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void SetAllIntNative(ImGuiStorage* self, int val)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[474])(self, val);
#else
((delegate* unmanaged[Cdecl])funcTable[474])((nint)self, val);
#endif
}
///
/// To be documented.
///
public static void SetAllInt(ImGuiStoragePtr self, int val)
{
SetAllIntNative(self, val);
}
///
/// To be documented.
///
public static void SetAllInt(ref ImGuiStorage self, int val)
{
fixed (ImGuiStorage* pself = &self)
{
SetAllIntNative((ImGuiStorage*)pself, val);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void BuildSortByKeyNative(ImGuiStorage* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[475])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[475])((nint)self);
#endif
}
///
/// To be documented.
///
public static void BuildSortByKey(ImGuiStoragePtr self)
{
BuildSortByKeyNative(self);
}
///
/// To be documented.
///
public static void BuildSortByKey(ref ImGuiStorage self)
{
fixed (ImGuiStorage* pself = &self)
{
BuildSortByKeyNative((ImGuiStorage*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImGuiListClipper* ImGuiListClipperNative()
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[476])();
#else
return (ImGuiListClipper*)((delegate* unmanaged[Cdecl])funcTable[476])();
#endif
}
///
/// To be documented.
///
public static ImGuiListClipperPtr ImGuiListClipper()
{
ImGuiListClipperPtr ret = ImGuiListClipperNative();
return ret;
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DestroyNative(ImGuiListClipper* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[477])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[477])((nint)self);
#endif
}
///
/// To be documented.
///
public static void Destroy(ImGuiListClipperPtr self)
{
DestroyNative(self);
}
///
/// To be documented.
///
public static void Destroy(ref ImGuiListClipper self)
{
fixed (ImGuiListClipper* pself = &self)
{
DestroyNative((ImGuiListClipper*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void BeginNative(ImGuiListClipper* self, int itemsCount, float itemsHeight)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[478])(self, itemsCount, itemsHeight);
#else
((delegate* unmanaged[Cdecl])funcTable[478])((nint)self, itemsCount, itemsHeight);
#endif
}
///
/// To be documented.
///
public static void Begin(ImGuiListClipperPtr self, int itemsCount, float itemsHeight)
{
BeginNative(self, itemsCount, itemsHeight);
}
///
/// To be documented.
///
public static void Begin(ImGuiListClipperPtr self, int itemsCount)
{
BeginNative(self, itemsCount, (float)(-1.0f));
}
///
/// To be documented.
///
public static void Begin(ref ImGuiListClipper self, int itemsCount, float itemsHeight)
{
fixed (ImGuiListClipper* pself = &self)
{
BeginNative((ImGuiListClipper*)pself, itemsCount, itemsHeight);
}
}
///
/// To be documented.
///
public static void Begin(ref ImGuiListClipper self, int itemsCount)
{
fixed (ImGuiListClipper* pself = &self)
{
BeginNative((ImGuiListClipper*)pself, itemsCount, (float)(-1.0f));
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void EndNative(ImGuiListClipper* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[479])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[479])((nint)self);
#endif
}
///
/// To be documented.
///
public static void End(ImGuiListClipperPtr self)
{
EndNative(self);
}
///
/// To be documented.
///
public static void End(ref ImGuiListClipper self)
{
fixed (ImGuiListClipper* pself = &self)
{
EndNative((ImGuiListClipper*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte StepNative(ImGuiListClipper* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[480])(self);
#else
return (byte)((delegate* unmanaged[Cdecl])funcTable[480])((nint)self);
#endif
}
///
/// To be documented.
///
public static bool Step(ImGuiListClipperPtr self)
{
byte ret = StepNative(self);
return ret != 0;
}
///
/// To be documented.
///
public static bool Step(ref ImGuiListClipper self)
{
fixed (ImGuiListClipper* pself = &self)
{
byte ret = StepNative((ImGuiListClipper*)pself);
return ret != 0;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ForceDisplayRangeByIndicesNative(ImGuiListClipper* self, int itemMin, int itemMax)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[481])(self, itemMin, itemMax);
#else
((delegate* unmanaged[Cdecl])funcTable[481])((nint)self, itemMin, itemMax);
#endif
}
///
/// To be documented.
///
public static void ForceDisplayRangeByIndices(ImGuiListClipperPtr self, int itemMin, int itemMax)
{
ForceDisplayRangeByIndicesNative(self, itemMin, itemMax);
}
///
/// To be documented.
///
public static void ForceDisplayRangeByIndices(ref ImGuiListClipper self, int itemMin, int itemMax)
{
fixed (ImGuiListClipper* pself = &self)
{
ForceDisplayRangeByIndicesNative((ImGuiListClipper*)pself, itemMin, itemMax);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImColor* ImColorNative()
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[482])();
#else
return (ImColor*)((delegate* unmanaged[Cdecl])funcTable[482])();
#endif
}
///
/// To be documented.
///
public static ImColorPtr ImColor()
{
ImColorPtr ret = ImColorNative();
return ret;
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DestroyNative(ImColor* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[483])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[483])((nint)self);
#endif
}
///
/// To be documented.
///
public static void Destroy(ImColorPtr self)
{
DestroyNative(self);
}
///
/// To be documented.
///
public static void Destroy(ref ImColor self)
{
fixed (ImColor* pself = &self)
{
DestroyNative((ImColor*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImColor* ImColorNative(float r, float g, float b, float a)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[484])(r, g, b, a);
#else
return (ImColor*)((delegate* unmanaged[Cdecl])funcTable[484])(r, g, b, a);
#endif
}
///
/// To be documented.
///
public static ImColorPtr ImColor(float r, float g, float b, float a)
{
ImColorPtr ret = ImColorNative(r, g, b, a);
return ret;
}
///
/// To be documented.
///
public static ImColorPtr ImColor(float r, float g, float b)
{
ImColorPtr ret = ImColorNative(r, g, b, (float)(1.0f));
return ret;
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImColor* ImColorNative(Vector4 col)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[485])(col);
#else
return (ImColor*)((delegate* unmanaged[Cdecl])funcTable[485])(col);
#endif
}
///
/// To be documented.
///
public static ImColorPtr ImColor(Vector4 col)
{
ImColorPtr ret = ImColorNative(col);
return ret;
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImColor* ImColorNative(int r, int g, int b, int a)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[486])(r, g, b, a);
#else
return (ImColor*)((delegate* unmanaged[Cdecl])funcTable[486])(r, g, b, a);
#endif
}
///
/// To be documented.
///
public static ImColorPtr ImColor(int r, int g, int b, int a)
{
ImColorPtr ret = ImColorNative(r, g, b, a);
return ret;
}
///
/// To be documented.
///
public static ImColorPtr ImColor(int r, int g, int b)
{
ImColorPtr ret = ImColorNative(r, g, b, (int)(255));
return ret;
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImColor* ImColorNative(uint rgba)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[487])(rgba);
#else
return (ImColor*)((delegate* unmanaged[Cdecl])funcTable[487])(rgba);
#endif
}
///
/// To be documented.
///
public static ImColorPtr ImColor(uint rgba)
{
ImColorPtr ret = ImColorNative(rgba);
return ret;
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void SetHSVNative(ImColor* self, float h, float s, float v, float a)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[488])(self, h, s, v, a);
#else
((delegate* unmanaged[Cdecl])funcTable[488])((nint)self, h, s, v, a);
#endif
}
///
/// To be documented.
///
public static void SetHSV(ImColorPtr self, float h, float s, float v, float a)
{
SetHSVNative(self, h, s, v, a);
}
///
/// To be documented.
///
public static void SetHSV(ImColorPtr self, float h, float s, float v)
{
SetHSVNative(self, h, s, v, (float)(1.0f));
}
///
/// To be documented.
///
public static void SetHSV(ref ImColor self, float h, float s, float v, float a)
{
fixed (ImColor* pself = &self)
{
SetHSVNative((ImColor*)pself, h, s, v, a);
}
}
///
/// To be documented.
///
public static void SetHSV(ref ImColor self, float h, float s, float v)
{
fixed (ImColor* pself = &self)
{
SetHSVNative((ImColor*)pself, h, s, v, (float)(1.0f));
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void HSVNative(ImColor* pOut, float h, float s, float v, float a)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[489])(pOut, h, s, v, a);
#else
((delegate* unmanaged[Cdecl])funcTable[489])((nint)pOut, h, s, v, a);
#endif
}
///
/// To be documented.
///
public static ImColor HSV(float h, float s, float v)
{
ImColor ret;
HSVNative(&ret, h, s, v, (float)(1.0f));
return ret;
}
///
/// To be documented.
///
public static ImColor HSV(float h, float s, float v, float a)
{
ImColor ret;
HSVNative(&ret, h, s, v, a);
return ret;
}
///
/// To be documented.
///
public static void HSV(ImColorPtr pOut, float h, float s, float v, float a)
{
HSVNative(pOut, h, s, v, a);
}
///
/// To be documented.
///
public static void HSV(ImColorPtr pOut, float h, float s, float v)
{
HSVNative(pOut, h, s, v, (float)(1.0f));
}
///
/// To be documented.
///
public static void HSV(ref ImColor pOut, float h, float s, float v, float a)
{
fixed (ImColor* ppOut = &pOut)
{
HSVNative((ImColor*)ppOut, h, s, v, a);
}
}
///
/// To be documented.
///
public static void HSV(ref ImColor pOut, float h, float s, float v)
{
fixed (ImColor* ppOut = &pOut)
{
HSVNative((ImColor*)ppOut, h, s, v, (float)(1.0f));
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImDrawCmd* ImDrawCmdNative()
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[490])();
#else
return (ImDrawCmd*)((delegate* unmanaged[Cdecl])funcTable[490])();
#endif
}
///
/// To be documented.
///
public static ImDrawCmdPtr ImDrawCmd()
{
ImDrawCmdPtr ret = ImDrawCmdNative();
return ret;
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DestroyNative(ImDrawCmd* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[491])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[491])((nint)self);
#endif
}
///
/// To be documented.
///
public static void Destroy(ImDrawCmdPtr self)
{
DestroyNative(self);
}
///
/// To be documented.
///
public static void Destroy(ref ImDrawCmd self)
{
fixed (ImDrawCmd* pself = &self)
{
DestroyNative((ImDrawCmd*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImTextureID GetTexIDNative(ImDrawCmd* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[492])(self);
#else
return (ImTextureID)((delegate* unmanaged[Cdecl])funcTable[492])((nint)self);
#endif
}
///
/// To be documented.
///
public static ImTextureID GetTexID(ImDrawCmdPtr self)
{
ImTextureID ret = GetTexIDNative(self);
return ret;
}
///
/// To be documented.
///
public static ImTextureID GetTexID(ref ImDrawCmd self)
{
fixed (ImDrawCmd* pself = &self)
{
ImTextureID ret = GetTexIDNative((ImDrawCmd*)pself);
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImDrawListSplitter* ImDrawListSplitterNative()
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[493])();
#else
return (ImDrawListSplitter*)((delegate* unmanaged[Cdecl])funcTable[493])();
#endif
}
///
/// To be documented.
///
public static ImDrawListSplitterPtr ImDrawListSplitter()
{
ImDrawListSplitterPtr ret = ImDrawListSplitterNative();
return ret;
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DestroyNative(ImDrawListSplitter* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[494])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[494])((nint)self);
#endif
}
///
/// To be documented.
///
public static void Destroy(ImDrawListSplitterPtr self)
{
DestroyNative(self);
}
///
/// To be documented.
///
public static void Destroy(ref ImDrawListSplitter self)
{
fixed (ImDrawListSplitter* pself = &self)
{
DestroyNative((ImDrawListSplitter*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ClearNative(ImDrawListSplitter* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[495])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[495])((nint)self);
#endif
}
///
/// To be documented.
///
public static void Clear(ImDrawListSplitterPtr self)
{
ClearNative(self);
}
///
/// To be documented.
///
public static void Clear(ref ImDrawListSplitter self)
{
fixed (ImDrawListSplitter* pself = &self)
{
ClearNative((ImDrawListSplitter*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ClearFreeMemoryNative(ImDrawListSplitter* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[496])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[496])((nint)self);
#endif
}
///
/// To be documented.
///
public static void ClearFreeMemory(ImDrawListSplitterPtr self)
{
ClearFreeMemoryNative(self);
}
///
/// To be documented.
///
public static void ClearFreeMemory(ref ImDrawListSplitter self)
{
fixed (ImDrawListSplitter* pself = &self)
{
ClearFreeMemoryNative((ImDrawListSplitter*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void SplitNative(ImDrawListSplitter* self, ImDrawList* drawList, int count)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[497])(self, drawList, count);
#else
((delegate* unmanaged[Cdecl])funcTable[497])((nint)self, (nint)drawList, count);
#endif
}
///
/// To be documented.
///
public static void Split(ImDrawListSplitterPtr self, ImDrawListPtr drawList, int count)
{
SplitNative(self, drawList, count);
}
///
/// To be documented.
///
public static void Split(ref ImDrawListSplitter self, ImDrawListPtr drawList, int count)
{
fixed (ImDrawListSplitter* pself = &self)
{
SplitNative((ImDrawListSplitter*)pself, drawList, count);
}
}
///
/// To be documented.
///
public static void Split(ImDrawListSplitterPtr self, ref ImDrawList drawList, int count)
{
fixed (ImDrawList* pdrawList = &drawList)
{
SplitNative(self, (ImDrawList*)pdrawList, count);
}
}
///
/// To be documented.
///
public static void Split(ref ImDrawListSplitter self, ref ImDrawList drawList, int count)
{
fixed (ImDrawListSplitter* pself = &self)
{
fixed (ImDrawList* pdrawList = &drawList)
{
SplitNative((ImDrawListSplitter*)pself, (ImDrawList*)pdrawList, count);
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void MergeNative(ImDrawListSplitter* self, ImDrawList* drawList)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[498])(self, drawList);
#else
((delegate* unmanaged[Cdecl])funcTable[498])((nint)self, (nint)drawList);
#endif
}
///
/// To be documented.
///
public static void Merge(ImDrawListSplitterPtr self, ImDrawListPtr drawList)
{
MergeNative(self, drawList);
}
///
/// To be documented.
///
public static void Merge(ref ImDrawListSplitter self, ImDrawListPtr drawList)
{
fixed (ImDrawListSplitter* pself = &self)
{
MergeNative((ImDrawListSplitter*)pself, drawList);
}
}
///
/// To be documented.
///
public static void Merge(ImDrawListSplitterPtr self, ref ImDrawList drawList)
{
fixed (ImDrawList* pdrawList = &drawList)
{
MergeNative(self, (ImDrawList*)pdrawList);
}
}
///
/// To be documented.
///
public static void Merge(ref ImDrawListSplitter self, ref ImDrawList drawList)
{
fixed (ImDrawListSplitter* pself = &self)
{
fixed (ImDrawList* pdrawList = &drawList)
{
MergeNative((ImDrawListSplitter*)pself, (ImDrawList*)pdrawList);
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void SetCurrentChannelNative(ImDrawListSplitter* self, ImDrawList* drawList, int channelIdx)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[499])(self, drawList, channelIdx);
#else
((delegate* unmanaged[Cdecl])funcTable[499])((nint)self, (nint)drawList, channelIdx);
#endif
}
///
/// To be documented.
///
public static void SetCurrentChannel(ImDrawListSplitterPtr self, ImDrawListPtr drawList, int channelIdx)
{
SetCurrentChannelNative(self, drawList, channelIdx);
}
///
/// To be documented.
///
public static void SetCurrentChannel(ref ImDrawListSplitter self, ImDrawListPtr drawList, int channelIdx)
{
fixed (ImDrawListSplitter* pself = &self)
{
SetCurrentChannelNative((ImDrawListSplitter*)pself, drawList, channelIdx);
}
}
///
/// To be documented.
///
public static void SetCurrentChannel(ImDrawListSplitterPtr self, ref ImDrawList drawList, int channelIdx)
{
fixed (ImDrawList* pdrawList = &drawList)
{
SetCurrentChannelNative(self, (ImDrawList*)pdrawList, channelIdx);
}
}
///
/// To be documented.
///
public static void SetCurrentChannel(ref ImDrawListSplitter self, ref ImDrawList drawList, int channelIdx)
{
fixed (ImDrawListSplitter* pself = &self)
{
fixed (ImDrawList* pdrawList = &drawList)
{
SetCurrentChannelNative((ImDrawListSplitter*)pself, (ImDrawList*)pdrawList, channelIdx);
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImDrawList* ImDrawListNative(ImDrawListSharedData* sharedData)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[500])(sharedData);
#else
return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[500])((nint)sharedData);
#endif
}
///
/// To be documented.
///
public static ImDrawListPtr ImDrawList(ImDrawListSharedDataPtr sharedData)
{
ImDrawListPtr ret = ImDrawListNative(sharedData);
return ret;
}
///
/// To be documented.
///
public static ImDrawListPtr ImDrawList(ref ImDrawListSharedData sharedData)
{
fixed (ImDrawListSharedData* psharedData = &sharedData)
{
ImDrawListPtr ret = ImDrawListNative((ImDrawListSharedData*)psharedData);
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DestroyNative(ImDrawList* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[501])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[501])((nint)self);
#endif
}
///
/// To be documented.
///
public static void Destroy(ImDrawListPtr self)
{
DestroyNative(self);
}
///
/// To be documented.
///
public static void Destroy(ref ImDrawList self)
{
fixed (ImDrawList* pself = &self)
{
DestroyNative((ImDrawList*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PushClipRectNative(ImDrawList* self, Vector2 clipRectMin, Vector2 clipRectMax, byte intersectWithCurrentClipRect)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[502])(self, clipRectMin, clipRectMax, intersectWithCurrentClipRect);
#else
((delegate* unmanaged[Cdecl])funcTable[502])((nint)self, clipRectMin, clipRectMax, intersectWithCurrentClipRect);
#endif
}
///
/// To be documented.
///
public static void PushClipRect(ImDrawListPtr self, Vector2 clipRectMin, Vector2 clipRectMax, bool intersectWithCurrentClipRect)
{
PushClipRectNative(self, clipRectMin, clipRectMax, intersectWithCurrentClipRect ? (byte)1 : (byte)0);
}
///
/// To be documented.
///
public static void PushClipRect(ImDrawListPtr self, Vector2 clipRectMin, Vector2 clipRectMax)
{
PushClipRectNative(self, clipRectMin, clipRectMax, (byte)(0));
}
///
/// To be documented.
///
public static void PushClipRect(ref ImDrawList self, Vector2 clipRectMin, Vector2 clipRectMax, bool intersectWithCurrentClipRect)
{
fixed (ImDrawList* pself = &self)
{
PushClipRectNative((ImDrawList*)pself, clipRectMin, clipRectMax, intersectWithCurrentClipRect ? (byte)1 : (byte)0);
}
}
///
/// To be documented.
///
public static void PushClipRect(ref ImDrawList self, Vector2 clipRectMin, Vector2 clipRectMax)
{
fixed (ImDrawList* pself = &self)
{
PushClipRectNative((ImDrawList*)pself, clipRectMin, clipRectMax, (byte)(0));
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PushClipRectFullScreenNative(ImDrawList* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[503])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[503])((nint)self);
#endif
}
///
/// To be documented.
///
public static void PushClipRectFullScreen(ImDrawListPtr self)
{
PushClipRectFullScreenNative(self);
}
///
/// To be documented.
///
public static void PushClipRectFullScreen(ref ImDrawList self)
{
fixed (ImDrawList* pself = &self)
{
PushClipRectFullScreenNative((ImDrawList*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PopClipRectNative(ImDrawList* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[504])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[504])((nint)self);
#endif
}
///
/// To be documented.
///
public static void PopClipRect(ImDrawListPtr self)
{
PopClipRectNative(self);
}
///
/// To be documented.
///
public static void PopClipRect(ref ImDrawList self)
{
fixed (ImDrawList* pself = &self)
{
PopClipRectNative((ImDrawList*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PushTextureIDNative(ImDrawList* self, ImTextureID textureId)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[505])(self, textureId);
#else
((delegate* unmanaged[Cdecl])funcTable[505])((nint)self, textureId);
#endif
}
///
/// To be documented.
///
public static void PushTextureID(ImDrawListPtr self, ImTextureID textureId)
{
PushTextureIDNative(self, textureId);
}
///
/// To be documented.
///
public static void PushTextureID(ref ImDrawList self, ImTextureID textureId)
{
fixed (ImDrawList* pself = &self)
{
PushTextureIDNative((ImDrawList*)pself, textureId);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PopTextureIDNative(ImDrawList* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[506])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[506])((nint)self);
#endif
}
///
/// To be documented.
///
public static void PopTextureID(ImDrawListPtr self)
{
PopTextureIDNative(self);
}
///
/// To be documented.
///
public static void PopTextureID(ref ImDrawList self)
{
fixed (ImDrawList* pself = &self)
{
PopTextureIDNative((ImDrawList*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void GetClipRectMinNative(Vector2* pOut, ImDrawList* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[507])(pOut, self);
#else
((delegate* unmanaged[Cdecl])funcTable[507])((nint)pOut, (nint)self);
#endif
}
///
/// To be documented.
///
public static Vector2 GetClipRectMin(ImDrawListPtr self)
{
Vector2 ret;
GetClipRectMinNative(&ret, self);
return ret;
}
///
/// To be documented.
///
public static void GetClipRectMin(Vector2* pOut, ImDrawListPtr self)
{
GetClipRectMinNative(pOut, self);
}
///
/// To be documented.
///
public static void GetClipRectMin(ref Vector2 pOut, ImDrawListPtr self)
{
fixed (Vector2* ppOut = &pOut)
{
GetClipRectMinNative((Vector2*)ppOut, self);
}
}
///
/// To be documented.
///
public static Vector2 GetClipRectMin(ref ImDrawList self)
{
fixed (ImDrawList* pself = &self)
{
Vector2 ret;
GetClipRectMinNative(&ret, (ImDrawList*)pself);
return ret;
}
}
///
/// To be documented.
///
public static void GetClipRectMin(Vector2* pOut, ref ImDrawList self)
{
fixed (ImDrawList* pself = &self)
{
GetClipRectMinNative(pOut, (ImDrawList*)pself);
}
}
///
/// To be documented.
///
public static void GetClipRectMin(ref Vector2 pOut, ref ImDrawList self)
{
fixed (Vector2* ppOut = &pOut)
{
fixed (ImDrawList* pself = &self)
{
GetClipRectMinNative((Vector2*)ppOut, (ImDrawList*)pself);
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void GetClipRectMaxNative(Vector2* pOut, ImDrawList* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[508])(pOut, self);
#else
((delegate* unmanaged[Cdecl])funcTable[508])((nint)pOut, (nint)self);
#endif
}
///
/// To be documented.
///
public static Vector2 GetClipRectMax(ImDrawListPtr self)
{
Vector2 ret;
GetClipRectMaxNative(&ret, self);
return ret;
}
///
/// To be documented.
///
public static void GetClipRectMax(Vector2* pOut, ImDrawListPtr self)
{
GetClipRectMaxNative(pOut, self);
}
///
/// To be documented.
///
public static void GetClipRectMax(ref Vector2 pOut, ImDrawListPtr self)
{
fixed (Vector2* ppOut = &pOut)
{
GetClipRectMaxNative((Vector2*)ppOut, self);
}
}
///
/// To be documented.
///
public static Vector2 GetClipRectMax(ref ImDrawList self)
{
fixed (ImDrawList* pself = &self)
{
Vector2 ret;
GetClipRectMaxNative(&ret, (ImDrawList*)pself);
return ret;
}
}
///
/// To be documented.
///
public static void GetClipRectMax(Vector2* pOut, ref ImDrawList self)
{
fixed (ImDrawList* pself = &self)
{
GetClipRectMaxNative(pOut, (ImDrawList*)pself);
}
}
///
/// To be documented.
///
public static void GetClipRectMax(ref Vector2 pOut, ref ImDrawList self)
{
fixed (Vector2* ppOut = &pOut)
{
fixed (ImDrawList* pself = &self)
{
GetClipRectMaxNative((Vector2*)ppOut, (ImDrawList*)pself);
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddLineNative(ImDrawList* self, Vector2 p1, Vector2 p2, uint col, float thickness)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[509])(self, p1, p2, col, thickness);
#else
((delegate* unmanaged[Cdecl])funcTable[509])((nint)self, p1, p2, col, thickness);
#endif
}
///
/// To be documented.
///
public static void AddLine(ImDrawListPtr self, Vector2 p1, Vector2 p2, uint col, float thickness)
{
AddLineNative(self, p1, p2, col, thickness);
}
///
/// To be documented.
///
public static void AddLine(ImDrawListPtr self, Vector2 p1, Vector2 p2, uint col)
{
AddLineNative(self, p1, p2, col, (float)(1.0f));
}
///
/// To be documented.
///
public static void AddLine(ref ImDrawList self, Vector2 p1, Vector2 p2, uint col, float thickness)
{
fixed (ImDrawList* pself = &self)
{
AddLineNative((ImDrawList*)pself, p1, p2, col, thickness);
}
}
///
/// To be documented.
///
public static void AddLine(ref ImDrawList self, Vector2 p1, Vector2 p2, uint col)
{
fixed (ImDrawList* pself = &self)
{
AddLineNative((ImDrawList*)pself, p1, p2, col, (float)(1.0f));
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddRectNative(ImDrawList* self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags, float thickness)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[510])(self, pMin, pMax, col, rounding, flags, thickness);
#else
((delegate* unmanaged[Cdecl])funcTable[510])((nint)self, pMin, pMax, col, rounding, flags, thickness);
#endif
}
///
/// To be documented.
///
public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags, float thickness)
{
AddRectNative(self, pMin, pMax, col, rounding, flags, thickness);
}
///
/// To be documented.
///
public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags)
{
AddRectNative(self, pMin, pMax, col, rounding, flags, (float)(1.0f));
}
///
/// To be documented.
///
public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding)
{
AddRectNative(self, pMin, pMax, col, rounding, (ImDrawFlags)(0), (float)(1.0f));
}
///
/// To be documented.
///
public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col)
{
AddRectNative(self, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0), (float)(1.0f));
}
///
/// To be documented.
///
public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags)
{
AddRectNative(self, pMin, pMax, col, (float)(0.0f), flags, (float)(1.0f));
}
///
/// To be documented.
///
public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding, float thickness)
{
AddRectNative(self, pMin, pMax, col, rounding, (ImDrawFlags)(0), thickness);
}
///
/// To be documented.
///
public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags, float thickness)
{
AddRectNative(self, pMin, pMax, col, (float)(0.0f), flags, thickness);
}
///
/// To be documented.
///
public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags, float thickness)
{
fixed (ImDrawList* pself = &self)
{
AddRectNative((ImDrawList*)pself, pMin, pMax, col, rounding, flags, thickness);
}
}
///
/// To be documented.
///
public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags)
{
fixed (ImDrawList* pself = &self)
{
AddRectNative((ImDrawList*)pself, pMin, pMax, col, rounding, flags, (float)(1.0f));
}
}
///
/// To be documented.
///
public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding)
{
fixed (ImDrawList* pself = &self)
{
AddRectNative((ImDrawList*)pself, pMin, pMax, col, rounding, (ImDrawFlags)(0), (float)(1.0f));
}
}
///
/// To be documented.
///
public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col)
{
fixed (ImDrawList* pself = &self)
{
AddRectNative((ImDrawList*)pself, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0), (float)(1.0f));
}
}
///
/// To be documented.
///
public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags)
{
fixed (ImDrawList* pself = &self)
{
AddRectNative((ImDrawList*)pself, pMin, pMax, col, (float)(0.0f), flags, (float)(1.0f));
}
}
///
/// To be documented.
///
public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding, float thickness)
{
fixed (ImDrawList* pself = &self)
{
AddRectNative((ImDrawList*)pself, pMin, pMax, col, rounding, (ImDrawFlags)(0), thickness);
}
}
///
/// To be documented.
///
public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags, float thickness)
{
fixed (ImDrawList* pself = &self)
{
AddRectNative((ImDrawList*)pself, pMin, pMax, col, (float)(0.0f), flags, thickness);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddRectFilledNative(ImDrawList* self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[511])(self, pMin, pMax, col, rounding, flags);
#else
((delegate* unmanaged[Cdecl])funcTable[511])((nint)self, pMin, pMax, col, rounding, flags);
#endif
}
///
/// To be documented.
///
public static void AddRectFilled(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags)
{
AddRectFilledNative(self, pMin, pMax, col, rounding, flags);
}
///
/// To be documented.
///
public static void AddRectFilled(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding)
{
AddRectFilledNative(self, pMin, pMax, col, rounding, (ImDrawFlags)(0));
}
///
/// To be documented.
///
public static void AddRectFilled(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col)
{
AddRectFilledNative(self, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0));
}
///
/// To be documented.
///
public static void AddRectFilled(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags)
{
AddRectFilledNative(self, pMin, pMax, col, (float)(0.0f), flags);
}
///
/// To be documented.
///
public static void AddRectFilled(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags)
{
fixed (ImDrawList* pself = &self)
{
AddRectFilledNative((ImDrawList*)pself, pMin, pMax, col, rounding, flags);
}
}
///
/// To be documented.
///
public static void AddRectFilled(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding)
{
fixed (ImDrawList* pself = &self)
{
AddRectFilledNative((ImDrawList*)pself, pMin, pMax, col, rounding, (ImDrawFlags)(0));
}
}
///
/// To be documented.
///
public static void AddRectFilled(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col)
{
fixed (ImDrawList* pself = &self)
{
AddRectFilledNative((ImDrawList*)pself, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0));
}
}
///
/// To be documented.
///
public static void AddRectFilled(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags)
{
fixed (ImDrawList* pself = &self)
{
AddRectFilledNative((ImDrawList*)pself, pMin, pMax, col, (float)(0.0f), flags);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddRectFilledMultiColorNative(ImDrawList* self, Vector2 pMin, Vector2 pMax, uint colUprLeft, uint colUprRight, uint colBotRight, uint colBotLeft)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[512])(self, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft);
#else
((delegate* unmanaged[Cdecl])funcTable[512])((nint)self, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft);
#endif
}
///
/// To be documented.
///
public static void AddRectFilledMultiColor(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint colUprLeft, uint colUprRight, uint colBotRight, uint colBotLeft)
{
AddRectFilledMultiColorNative(self, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft);
}
///
/// To be documented.
///
public static void AddRectFilledMultiColor(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint colUprLeft, uint colUprRight, uint colBotRight, uint colBotLeft)
{
fixed (ImDrawList* pself = &self)
{
AddRectFilledMultiColorNative((ImDrawList*)pself, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddQuadNative(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[513])(self, p1, p2, p3, p4, col, thickness);
#else
((delegate* unmanaged[Cdecl])funcTable[513])((nint)self, p1, p2, p3, p4, col, thickness);
#endif
}
///
/// To be documented.
///
public static void AddQuad(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness)
{
AddQuadNative(self, p1, p2, p3, p4, col, thickness);
}
///
/// To be documented.
///
public static void AddQuad(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col)
{
AddQuadNative(self, p1, p2, p3, p4, col, (float)(1.0f));
}
///
/// To be documented.
///
public static void AddQuad(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness)
{
fixed (ImDrawList* pself = &self)
{
AddQuadNative((ImDrawList*)pself, p1, p2, p3, p4, col, thickness);
}
}
///
/// To be documented.
///
public static void AddQuad(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col)
{
fixed (ImDrawList* pself = &self)
{
AddQuadNative((ImDrawList*)pself, p1, p2, p3, p4, col, (float)(1.0f));
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddQuadFilledNative(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[514])(self, p1, p2, p3, p4, col);
#else
((delegate* unmanaged[Cdecl])funcTable[514])((nint)self, p1, p2, p3, p4, col);
#endif
}
///
/// To be documented.
///
public static void AddQuadFilled(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col)
{
AddQuadFilledNative(self, p1, p2, p3, p4, col);
}
///
/// To be documented.
///
public static void AddQuadFilled(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col)
{
fixed (ImDrawList* pself = &self)
{
AddQuadFilledNative((ImDrawList*)pself, p1, p2, p3, p4, col);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddTriangleNative(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[515])(self, p1, p2, p3, col, thickness);
#else
((delegate* unmanaged[Cdecl])funcTable[515])((nint)self, p1, p2, p3, col, thickness);
#endif
}
///
/// To be documented.
///
public static void AddTriangle(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness)
{
AddTriangleNative(self, p1, p2, p3, col, thickness);
}
///
/// To be documented.
///
public static void AddTriangle(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, uint col)
{
AddTriangleNative(self, p1, p2, p3, col, (float)(1.0f));
}
///
/// To be documented.
///
public static void AddTriangle(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness)
{
fixed (ImDrawList* pself = &self)
{
AddTriangleNative((ImDrawList*)pself, p1, p2, p3, col, thickness);
}
}
///
/// To be documented.
///
public static void AddTriangle(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, uint col)
{
fixed (ImDrawList* pself = &self)
{
AddTriangleNative((ImDrawList*)pself, p1, p2, p3, col, (float)(1.0f));
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddTriangleFilledNative(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, uint col)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[516])(self, p1, p2, p3, col);
#else
((delegate* unmanaged[Cdecl])funcTable[516])((nint)self, p1, p2, p3, col);
#endif
}
///
/// To be documented.
///
public static void AddTriangleFilled(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, uint col)
{
AddTriangleFilledNative(self, p1, p2, p3, col);
}
///
/// To be documented.
///
public static void AddTriangleFilled(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, uint col)
{
fixed (ImDrawList* pself = &self)
{
AddTriangleFilledNative((ImDrawList*)pself, p1, p2, p3, col);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddCircleNative(ImDrawList* self, Vector2 center, float radius, uint col, int numSegments, float thickness)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[517])(self, center, radius, col, numSegments, thickness);
#else
((delegate* unmanaged[Cdecl])funcTable[517])((nint)self, center, radius, col, numSegments, thickness);
#endif
}
///
/// To be documented.
///
public static void AddCircle(ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments, float thickness)
{
AddCircleNative(self, center, radius, col, numSegments, thickness);
}
///
/// To be documented.
///
public static void AddCircle(ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments)
{
AddCircleNative(self, center, radius, col, numSegments, (float)(1.0f));
}
///
/// To be documented.
///
public static void AddCircle(ImDrawListPtr self, Vector2 center, float radius, uint col)
{
AddCircleNative(self, center, radius, col, (int)(0), (float)(1.0f));
}
///
/// To be documented.
///
public static void AddCircle(ImDrawListPtr self, Vector2 center, float radius, uint col, float thickness)
{
AddCircleNative(self, center, radius, col, (int)(0), thickness);
}
///
/// To be documented.
///
public static void AddCircle(ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments, float thickness)
{
fixed (ImDrawList* pself = &self)
{
AddCircleNative((ImDrawList*)pself, center, radius, col, numSegments, thickness);
}
}
///
/// To be documented.
///
public static void AddCircle(ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments)
{
fixed (ImDrawList* pself = &self)
{
AddCircleNative((ImDrawList*)pself, center, radius, col, numSegments, (float)(1.0f));
}
}
///
/// To be documented.
///
public static void AddCircle(ref ImDrawList self, Vector2 center, float radius, uint col)
{
fixed (ImDrawList* pself = &self)
{
AddCircleNative((ImDrawList*)pself, center, radius, col, (int)(0), (float)(1.0f));
}
}
///
/// To be documented.
///
public static void AddCircle(ref ImDrawList self, Vector2 center, float radius, uint col, float thickness)
{
fixed (ImDrawList* pself = &self)
{
AddCircleNative((ImDrawList*)pself, center, radius, col, (int)(0), thickness);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddCircleFilledNative(ImDrawList* self, Vector2 center, float radius, uint col, int numSegments)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[518])(self, center, radius, col, numSegments);
#else
((delegate* unmanaged[Cdecl])funcTable[518])((nint)self, center, radius, col, numSegments);
#endif
}
///
/// To be documented.
///
public static void AddCircleFilled(ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments)
{
AddCircleFilledNative(self, center, radius, col, numSegments);
}
///
/// To be documented.
///
public static void AddCircleFilled(ImDrawListPtr self, Vector2 center, float radius, uint col)
{
AddCircleFilledNative(self, center, radius, col, (int)(0));
}
///
/// To be documented.
///
public static void AddCircleFilled(ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments)
{
fixed (ImDrawList* pself = &self)
{
AddCircleFilledNative((ImDrawList*)pself, center, radius, col, numSegments);
}
}
///
/// To be documented.
///
public static void AddCircleFilled(ref ImDrawList self, Vector2 center, float radius, uint col)
{
fixed (ImDrawList* pself = &self)
{
AddCircleFilledNative((ImDrawList*)pself, center, radius, col, (int)(0));
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddNgonNative(ImDrawList* self, Vector2 center, float radius, uint col, int numSegments, float thickness)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[519])(self, center, radius, col, numSegments, thickness);
#else
((delegate* unmanaged[Cdecl])funcTable[519])((nint)self, center, radius, col, numSegments, thickness);
#endif
}
///
/// To be documented.
///
public static void AddNgon(ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments, float thickness)
{
AddNgonNative(self, center, radius, col, numSegments, thickness);
}
///
/// To be documented.
///
public static void AddNgon(ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments)
{
AddNgonNative(self, center, radius, col, numSegments, (float)(1.0f));
}
///
/// To be documented.
///
public static void AddNgon(ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments, float thickness)
{
fixed (ImDrawList* pself = &self)
{
AddNgonNative((ImDrawList*)pself, center, radius, col, numSegments, thickness);
}
}
///
/// To be documented.
///
public static void AddNgon(ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments)
{
fixed (ImDrawList* pself = &self)
{
AddNgonNative((ImDrawList*)pself, center, radius, col, numSegments, (float)(1.0f));
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddNgonFilledNative(ImDrawList* self, Vector2 center, float radius, uint col, int numSegments)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[520])(self, center, radius, col, numSegments);
#else
((delegate* unmanaged[Cdecl])funcTable[520])((nint)self, center, radius, col, numSegments);
#endif
}
///
/// To be documented.
///
public static void AddNgonFilled(ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments)
{
AddNgonFilledNative(self, center, radius, col, numSegments);
}
///
/// To be documented.
///
public static void AddNgonFilled(ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments)
{
fixed (ImDrawList* pself = &self)
{
AddNgonFilledNative((ImDrawList*)pself, center, radius, col, numSegments);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddTextNative(ImDrawList* self, Vector2 pos, uint col, byte* textBegin, byte* textEnd)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[521])(self, pos, col, textBegin, textEnd);
#else
((delegate* unmanaged[Cdecl])funcTable[521])((nint)self, pos, col, (nint)textBegin, (nint)textEnd);
#endif
}
///
/// To be documented.
///
public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, byte* textBegin, byte* textEnd)
{
AddTextNative(self, pos, col, textBegin, textEnd);
}
///
/// To be documented.
///
public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, byte* textBegin)
{
AddTextNative(self, pos, col, textBegin, (byte*)(default));
}
///
/// To be documented.
///
public static void AddText(ref ImDrawList self, Vector2 pos, uint col, byte* textBegin, byte* textEnd)
{
fixed (ImDrawList* pself = &self)
{
AddTextNative((ImDrawList*)pself, pos, col, textBegin, textEnd);
}
}
///
/// To be documented.
///
public static void AddText(ref ImDrawList self, Vector2 pos, uint col, byte* textBegin)
{
fixed (ImDrawList* pself = &self)
{
AddTextNative((ImDrawList*)pself, pos, col, textBegin, (byte*)(default));
}
}
///
/// To be documented.
///
public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ref byte textBegin, byte* textEnd)
{
fixed (byte* ptextBegin = &textBegin)
{
AddTextNative(self, pos, col, (byte*)ptextBegin, textEnd);
}
}
///
/// To be documented.
///
public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ref byte textBegin)
{
fixed (byte* ptextBegin = &textBegin)
{
AddTextNative(self, pos, col, (byte*)ptextBegin, (byte*)(default));
}
}
///
/// To be documented.
///
public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd)
{
fixed (byte* ptextBegin = textBegin)
{
AddTextNative(self, pos, col, (byte*)ptextBegin, textEnd);
}
}
///
/// To be documented.
///
public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ReadOnlySpan textBegin)
{
fixed (byte* ptextBegin = textBegin)
{
AddTextNative(self, pos, col, (byte*)ptextBegin, (byte*)(default));
}
}
///
/// To be documented.
///
public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, string textBegin, byte* textEnd)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
AddTextNative(self, pos, col, pStr0, textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
///
/// To be documented.
///
public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, string textBegin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
AddTextNative(self, pos, col, pStr0, (byte*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
///
/// To be documented.
///
public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ref byte textBegin, byte* textEnd)
{
fixed (ImDrawList* pself = &self)
{
fixed (byte* ptextBegin = &textBegin)
{
AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, textEnd);
}
}
}
///
/// To be documented.
///
public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ref byte textBegin)
{
fixed (ImDrawList* pself = &self)
{
fixed (byte* ptextBegin = &textBegin)
{
AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, (byte*)(default));
}
}
}
///
/// To be documented.
///
public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd)
{
fixed (ImDrawList* pself = &self)
{
fixed (byte* ptextBegin = textBegin)
{
AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, textEnd);
}
}
}
///
/// To be documented.
///
public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ReadOnlySpan textBegin)
{
fixed (ImDrawList* pself = &self)
{
fixed (byte* ptextBegin = textBegin)
{
AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, (byte*)(default));
}
}
}
///
/// To be documented.
///
public static void AddText(ref ImDrawList self, Vector2 pos, uint col, string textBegin, byte* textEnd)
{
fixed (ImDrawList* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
AddTextNative((ImDrawList*)pself, pos, col, pStr0, textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
///
/// To be documented.
///
public static void AddText(ref ImDrawList self, Vector2 pos, uint col, string textBegin)
{
fixed (ImDrawList* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
AddTextNative((ImDrawList*)pself, pos, col, pStr0, (byte*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}