Dalamud/imgui/Dalamud.Bindings.ImGui/Generated/Functions/Functions.091.cs
2025-07-20 01:24:17 +02:00

5034 lines
144 KiB
C#

// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using HexaGen.Runtime;
using System.Numerics;
namespace Dalamud.Bindings.ImGui
{
public unsafe partial class ImGui
{
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan<byte> textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (byte* ptextBegin = &textBegin)
{
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan<byte> textEnd, ref Vector4 cpuFineClipRect)
{
fixed (byte* ptextBegin = &textBegin)
{
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (byte* ptextBegin = &textBegin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, ref Vector4 cpuFineClipRect)
{
fixed (byte* ptextBegin = &textBegin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (byte* ptextBegin = textBegin)
{
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect)
{
fixed (byte* ptextBegin = textBegin)
{
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (byte* ptextBegin = textBegin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, string textEnd, ref Vector4 cpuFineClipRect)
{
fixed (byte* ptextBegin = textBegin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan<byte> textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan<byte> textEnd, ref Vector4 cpuFineClipRect)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (byte* ptextBegin = &textBegin)
{
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (byte* ptextBegin = &textBegin)
{
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, ReadOnlySpan<byte> textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (byte* ptextBegin = textBegin)
{
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, ReadOnlySpan<byte> textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (byte* ptextBegin = textBegin)
{
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte* pStr1 = null;
int pStrSize1 = 0;
if (textEnd != null)
{
pStrSize1 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc<byte>(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)pcpuFineClipRect);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte* pStr1 = null;
int pStrSize1 = 0;
if (textEnd != null)
{
pStrSize1 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc<byte>(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)pcpuFineClipRect);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan<byte> textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (byte* ptextBegin = &textBegin)
{
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan<byte> textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (byte* ptextBegin = &textBegin)
{
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (byte* ptextBegin = &textBegin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (byte* ptextBegin = &textBegin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (byte* ptextBegin = textBegin)
{
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (byte* ptextBegin = textBegin)
{
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (byte* ptextBegin = textBegin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, string textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (byte* ptextBegin = textBegin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan<byte> textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan<byte> textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = &textBegin)
{
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = &textBegin)
{
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, ReadOnlySpan<byte> textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = textBegin)
{
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, ReadOnlySpan<byte> textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = textBegin)
{
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImFont* pfont = &font)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte* pStr1 = null;
int pStrSize1 = 0;
if (textEnd != null)
{
pStrSize1 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc<byte>(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)pcpuFineClipRect);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImFont* pfont = &font)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte* pStr1 = null;
int pStrSize1 = 0;
if (textEnd != null)
{
pStrSize1 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc<byte>(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)pcpuFineClipRect);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan<byte> textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = &textBegin)
{
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan<byte> textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = &textBegin)
{
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = &textBegin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = &textBegin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = textBegin)
{
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = textBegin)
{
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = textBegin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, string textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = textBegin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImFont* pfont = &font)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImFont* pfont = &font)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan<byte> textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImFont* pfont = &font)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan<byte> textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImFont* pfont = &font)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = &textBegin)
{
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = &textBegin)
{
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, ReadOnlySpan<byte> textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = textBegin)
{
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, ReadOnlySpan<byte> textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = textBegin)
{
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (ImFont* pfont = &font)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte* pStr1 = null;
int pStrSize1 = 0;
if (textEnd != null)
{
pStrSize1 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc<byte>(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)pcpuFineClipRect);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (ImFont* pfont = &font)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte* pStr1 = null;
int pStrSize1 = 0;
if (textEnd != null)
{
pStrSize1 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc<byte>(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)pcpuFineClipRect);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan<byte> textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = &textBegin)
{
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan<byte> textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = &textBegin)
{
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = &textBegin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = &textBegin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = textBegin)
{
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = textBegin)
{
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = textBegin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan<byte> textBegin, string textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (ImFont* pfont = &font)
{
fixed (byte* ptextBegin = textBegin)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (ImFont* pfont = &font)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (ImFont* pfont = &font)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ptextEnd = &textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan<byte> textEnd, float wrapWidth, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (ImFont* pfont = &font)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan<byte> textEnd, ref Vector4 cpuFineClipRect)
{
fixed (ImDrawList* pself = &self)
{
fixed (ImFont* pfont = &font)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textBegin != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textBegin);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ptextEnd = textEnd)
{
fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect)
{
AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddPolylineNative(ImDrawList* self, Vector2* points, int numPoints, uint col, ImDrawFlags flags, float thickness)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, Vector2*, int, uint, ImDrawFlags, float, void>)funcTable[523])(self, points, numPoints, col, flags, thickness);
#else
((delegate* unmanaged[Cdecl]<nint, nint, int, uint, ImDrawFlags, float, void>)funcTable[523])((nint)self, (nint)points, numPoints, col, flags, thickness);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddPolyline(ImDrawListPtr self, Vector2* points, int numPoints, uint col, ImDrawFlags flags, float thickness)
{
AddPolylineNative(self, points, numPoints, col, flags, thickness);
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddPolyline(ref ImDrawList self, Vector2* points, int numPoints, uint col, ImDrawFlags flags, float thickness)
{
fixed (ImDrawList* pself = &self)
{
AddPolylineNative((ImDrawList*)pself, points, numPoints, col, flags, thickness);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddPolyline(ImDrawListPtr self, ref Vector2 points, int numPoints, uint col, ImDrawFlags flags, float thickness)
{
fixed (Vector2* ppoints = &points)
{
AddPolylineNative(self, (Vector2*)ppoints, numPoints, col, flags, thickness);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddPolyline(ref ImDrawList self, ref Vector2 points, int numPoints, uint col, ImDrawFlags flags, float thickness)
{
fixed (ImDrawList* pself = &self)
{
fixed (Vector2* ppoints = &points)
{
AddPolylineNative((ImDrawList*)pself, (Vector2*)ppoints, numPoints, col, flags, thickness);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddConvexPolyFilledNative(ImDrawList* self, Vector2* points, int numPoints, uint col)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, Vector2*, int, uint, void>)funcTable[524])(self, points, numPoints, col);
#else
((delegate* unmanaged[Cdecl]<nint, nint, int, uint, void>)funcTable[524])((nint)self, (nint)points, numPoints, col);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddConvexPolyFilled(ImDrawListPtr self, Vector2* points, int numPoints, uint col)
{
AddConvexPolyFilledNative(self, points, numPoints, col);
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddConvexPolyFilled(ref ImDrawList self, Vector2* points, int numPoints, uint col)
{
fixed (ImDrawList* pself = &self)
{
AddConvexPolyFilledNative((ImDrawList*)pself, points, numPoints, col);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddConvexPolyFilled(ImDrawListPtr self, ref Vector2 points, int numPoints, uint col)
{
fixed (Vector2* ppoints = &points)
{
AddConvexPolyFilledNative(self, (Vector2*)ppoints, numPoints, col);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddConvexPolyFilled(ref ImDrawList self, ref Vector2 points, int numPoints, uint col)
{
fixed (ImDrawList* pself = &self)
{
fixed (Vector2* ppoints = &points)
{
AddConvexPolyFilledNative((ImDrawList*)pself, (Vector2*)ppoints, numPoints, col);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddBezierCubicNative(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int numSegments)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, Vector2, Vector2, Vector2, Vector2, uint, float, int, void>)funcTable[525])(self, p1, p2, p3, p4, col, thickness, numSegments);
#else
((delegate* unmanaged[Cdecl]<nint, Vector2, Vector2, Vector2, Vector2, uint, float, int, void>)funcTable[525])((nint)self, p1, p2, p3, p4, col, thickness, numSegments);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddBezierCubic(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int numSegments)
{
AddBezierCubicNative(self, p1, p2, p3, p4, col, thickness, numSegments);
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddBezierCubic(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness)
{
AddBezierCubicNative(self, p1, p2, p3, p4, col, thickness, (int)(0));
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddBezierCubic(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int numSegments)
{
fixed (ImDrawList* pself = &self)
{
AddBezierCubicNative((ImDrawList*)pself, p1, p2, p3, p4, col, thickness, numSegments);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddBezierCubic(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness)
{
fixed (ImDrawList* pself = &self)
{
AddBezierCubicNative((ImDrawList*)pself, p1, p2, p3, p4, col, thickness, (int)(0));
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddBezierQuadraticNative(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int numSegments)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, Vector2, Vector2, Vector2, uint, float, int, void>)funcTable[526])(self, p1, p2, p3, col, thickness, numSegments);
#else
((delegate* unmanaged[Cdecl]<nint, Vector2, Vector2, Vector2, uint, float, int, void>)funcTable[526])((nint)self, p1, p2, p3, col, thickness, numSegments);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddBezierQuadratic(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int numSegments)
{
AddBezierQuadraticNative(self, p1, p2, p3, col, thickness, numSegments);
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddBezierQuadratic(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness)
{
AddBezierQuadraticNative(self, p1, p2, p3, col, thickness, (int)(0));
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddBezierQuadratic(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int numSegments)
{
fixed (ImDrawList* pself = &self)
{
AddBezierQuadraticNative((ImDrawList*)pself, p1, p2, p3, col, thickness, numSegments);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddBezierQuadratic(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness)
{
fixed (ImDrawList* pself = &self)
{
AddBezierQuadraticNative((ImDrawList*)pself, p1, p2, p3, col, thickness, (int)(0));
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddImageNative(ImDrawList* self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, ImTextureID, Vector2, Vector2, Vector2, Vector2, uint, void>)funcTable[527])(self, userTextureId, pMin, pMax, uvMin, uvMax, col);
#else
((delegate* unmanaged[Cdecl]<nint, ImTextureID, Vector2, Vector2, Vector2, Vector2, uint, void>)funcTable[527])((nint)self, userTextureId, pMin, pMax, uvMin, uvMax, col);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImage(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col)
{
AddImageNative(self, userTextureId, pMin, pMax, uvMin, uvMax, col);
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImage(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax)
{
AddImageNative(self, userTextureId, pMin, pMax, uvMin, uvMax, (uint)(4294967295));
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImage(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin)
{
AddImageNative(self, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), (uint)(4294967295));
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImage(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax)
{
AddImageNative(self, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (uint)(4294967295));
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImage(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, uint col)
{
AddImageNative(self, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), col);
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImage(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, uint col)
{
AddImageNative(self, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), col);
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImage(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col)
{
fixed (ImDrawList* pself = &self)
{
AddImageNative((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, uvMax, col);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImage(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax)
{
fixed (ImDrawList* pself = &self)
{
AddImageNative((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, uvMax, (uint)(4294967295));
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImage(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin)
{
fixed (ImDrawList* pself = &self)
{
AddImageNative((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), (uint)(4294967295));
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImage(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax)
{
fixed (ImDrawList* pself = &self)
{
AddImageNative((ImDrawList*)pself, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (uint)(4294967295));
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImage(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, uint col)
{
fixed (ImDrawList* pself = &self)
{
AddImageNative((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), col);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImage(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, uint col)
{
fixed (ImDrawList* pself = &self)
{
AddImageNative((ImDrawList*)pself, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), col);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddImageQuadNative(ImDrawList* self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, ImTextureID, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, uint, void>)funcTable[528])(self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col);
#else
((delegate* unmanaged[Cdecl]<nint, ImTextureID, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, uint, void>)funcTable[528])((nint)self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col)
{
AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col);
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4)
{
AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, (uint)(4294967295));
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3)
{
AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), (uint)(4294967295));
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2)
{
AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295));
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1)
{
AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295));
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4)
{
AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295));
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, uint col)
{
AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), col);
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, uint col)
{
AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col);
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, uint col)
{
AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col);
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col)
{
AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col);
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col)
{
fixed (ImDrawList* pself = &self)
{
AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4)
{
fixed (ImDrawList* pself = &self)
{
AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, (uint)(4294967295));
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3)
{
fixed (ImDrawList* pself = &self)
{
AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), (uint)(4294967295));
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2)
{
fixed (ImDrawList* pself = &self)
{
AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295));
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1)
{
fixed (ImDrawList* pself = &self)
{
AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295));
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4)
{
fixed (ImDrawList* pself = &self)
{
AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295));
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, uint col)
{
fixed (ImDrawList* pself = &self)
{
AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), col);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, uint col)
{
fixed (ImDrawList* pself = &self)
{
AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, uint col)
{
fixed (ImDrawList* pself = &self)
{
AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col)
{
fixed (ImDrawList* pself = &self)
{
AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddImageRoundedNative(ImDrawList* self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding, ImDrawFlags flags)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, ImTextureID, Vector2, Vector2, Vector2, Vector2, uint, float, ImDrawFlags, void>)funcTable[529])(self, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags);
#else
((delegate* unmanaged[Cdecl]<nint, ImTextureID, Vector2, Vector2, Vector2, Vector2, uint, float, ImDrawFlags, void>)funcTable[529])((nint)self, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageRounded(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding, ImDrawFlags flags)
{
AddImageRoundedNative(self, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags);
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageRounded(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding)
{
AddImageRoundedNative(self, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, (ImDrawFlags)(0));
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageRounded(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding, ImDrawFlags flags)
{
fixed (ImDrawList* pself = &self)
{
AddImageRoundedNative((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddImageRounded(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding)
{
fixed (ImDrawList* pself = &self)
{
AddImageRoundedNative((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, (ImDrawFlags)(0));
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PathClearNative(ImDrawList* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, void>)funcTable[530])(self);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[530])((nint)self);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathClear(ImDrawListPtr self)
{
PathClearNative(self);
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathClear(ref ImDrawList self)
{
fixed (ImDrawList* pself = &self)
{
PathClearNative((ImDrawList*)pself);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PathLineToNative(ImDrawList* self, Vector2 pos)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, Vector2, void>)funcTable[531])(self, pos);
#else
((delegate* unmanaged[Cdecl]<nint, Vector2, void>)funcTable[531])((nint)self, pos);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathLineTo(ImDrawListPtr self, Vector2 pos)
{
PathLineToNative(self, pos);
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathLineTo(ref ImDrawList self, Vector2 pos)
{
fixed (ImDrawList* pself = &self)
{
PathLineToNative((ImDrawList*)pself, pos);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PathLineToMergeDuplicateNative(ImDrawList* self, Vector2 pos)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, Vector2, void>)funcTable[532])(self, pos);
#else
((delegate* unmanaged[Cdecl]<nint, Vector2, void>)funcTable[532])((nint)self, pos);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathLineToMergeDuplicate(ImDrawListPtr self, Vector2 pos)
{
PathLineToMergeDuplicateNative(self, pos);
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathLineToMergeDuplicate(ref ImDrawList self, Vector2 pos)
{
fixed (ImDrawList* pself = &self)
{
PathLineToMergeDuplicateNative((ImDrawList*)pself, pos);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PathFillConvexNative(ImDrawList* self, uint col)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, uint, void>)funcTable[533])(self, col);
#else
((delegate* unmanaged[Cdecl]<nint, uint, void>)funcTable[533])((nint)self, col);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathFillConvex(ImDrawListPtr self, uint col)
{
PathFillConvexNative(self, col);
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathFillConvex(ref ImDrawList self, uint col)
{
fixed (ImDrawList* pself = &self)
{
PathFillConvexNative((ImDrawList*)pself, col);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PathStrokeNative(ImDrawList* self, uint col, ImDrawFlags flags, float thickness)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, uint, ImDrawFlags, float, void>)funcTable[534])(self, col, flags, thickness);
#else
((delegate* unmanaged[Cdecl]<nint, uint, ImDrawFlags, float, void>)funcTable[534])((nint)self, col, flags, thickness);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathStroke(ImDrawListPtr self, uint col, ImDrawFlags flags, float thickness)
{
PathStrokeNative(self, col, flags, thickness);
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathStroke(ImDrawListPtr self, uint col, ImDrawFlags flags)
{
PathStrokeNative(self, col, flags, (float)(1.0f));
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathStroke(ImDrawListPtr self, uint col)
{
PathStrokeNative(self, col, (ImDrawFlags)(0), (float)(1.0f));
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathStroke(ImDrawListPtr self, uint col, float thickness)
{
PathStrokeNative(self, col, (ImDrawFlags)(0), thickness);
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathStroke(ref ImDrawList self, uint col, ImDrawFlags flags, float thickness)
{
fixed (ImDrawList* pself = &self)
{
PathStrokeNative((ImDrawList*)pself, col, flags, thickness);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathStroke(ref ImDrawList self, uint col, ImDrawFlags flags)
{
fixed (ImDrawList* pself = &self)
{
PathStrokeNative((ImDrawList*)pself, col, flags, (float)(1.0f));
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathStroke(ref ImDrawList self, uint col)
{
fixed (ImDrawList* pself = &self)
{
PathStrokeNative((ImDrawList*)pself, col, (ImDrawFlags)(0), (float)(1.0f));
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathStroke(ref ImDrawList self, uint col, float thickness)
{
fixed (ImDrawList* pself = &self)
{
PathStrokeNative((ImDrawList*)pself, col, (ImDrawFlags)(0), thickness);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PathArcToNative(ImDrawList* self, Vector2 center, float radius, float aMin, float aMax, int numSegments)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, Vector2, float, float, float, int, void>)funcTable[535])(self, center, radius, aMin, aMax, numSegments);
#else
((delegate* unmanaged[Cdecl]<nint, Vector2, float, float, float, int, void>)funcTable[535])((nint)self, center, radius, aMin, aMax, numSegments);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathArcTo(ImDrawListPtr self, Vector2 center, float radius, float aMin, float aMax, int numSegments)
{
PathArcToNative(self, center, radius, aMin, aMax, numSegments);
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathArcTo(ImDrawListPtr self, Vector2 center, float radius, float aMin, float aMax)
{
PathArcToNative(self, center, radius, aMin, aMax, (int)(0));
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathArcTo(ref ImDrawList self, Vector2 center, float radius, float aMin, float aMax, int numSegments)
{
fixed (ImDrawList* pself = &self)
{
PathArcToNative((ImDrawList*)pself, center, radius, aMin, aMax, numSegments);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathArcTo(ref ImDrawList self, Vector2 center, float radius, float aMin, float aMax)
{
fixed (ImDrawList* pself = &self)
{
PathArcToNative((ImDrawList*)pself, center, radius, aMin, aMax, (int)(0));
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PathArcToFastNative(ImDrawList* self, Vector2 center, float radius, int aMinOf12, int aMaxOf12)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, Vector2, float, int, int, void>)funcTable[536])(self, center, radius, aMinOf12, aMaxOf12);
#else
((delegate* unmanaged[Cdecl]<nint, Vector2, float, int, int, void>)funcTable[536])((nint)self, center, radius, aMinOf12, aMaxOf12);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathArcToFast(ImDrawListPtr self, Vector2 center, float radius, int aMinOf12, int aMaxOf12)
{
PathArcToFastNative(self, center, radius, aMinOf12, aMaxOf12);
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathArcToFast(ref ImDrawList self, Vector2 center, float radius, int aMinOf12, int aMaxOf12)
{
fixed (ImDrawList* pself = &self)
{
PathArcToFastNative((ImDrawList*)pself, center, radius, aMinOf12, aMaxOf12);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PathBezierCubicCurveToNative(ImDrawList* self, Vector2 p2, Vector2 p3, Vector2 p4, int numSegments)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, Vector2, Vector2, Vector2, int, void>)funcTable[537])(self, p2, p3, p4, numSegments);
#else
((delegate* unmanaged[Cdecl]<nint, Vector2, Vector2, Vector2, int, void>)funcTable[537])((nint)self, p2, p3, p4, numSegments);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathBezierCubicCurveTo(ImDrawListPtr self, Vector2 p2, Vector2 p3, Vector2 p4, int numSegments)
{
PathBezierCubicCurveToNative(self, p2, p3, p4, numSegments);
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathBezierCubicCurveTo(ImDrawListPtr self, Vector2 p2, Vector2 p3, Vector2 p4)
{
PathBezierCubicCurveToNative(self, p2, p3, p4, (int)(0));
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathBezierCubicCurveTo(ref ImDrawList self, Vector2 p2, Vector2 p3, Vector2 p4, int numSegments)
{
fixed (ImDrawList* pself = &self)
{
PathBezierCubicCurveToNative((ImDrawList*)pself, p2, p3, p4, numSegments);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathBezierCubicCurveTo(ref ImDrawList self, Vector2 p2, Vector2 p3, Vector2 p4)
{
fixed (ImDrawList* pself = &self)
{
PathBezierCubicCurveToNative((ImDrawList*)pself, p2, p3, p4, (int)(0));
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PathBezierQuadraticCurveToNative(ImDrawList* self, Vector2 p2, Vector2 p3, int numSegments)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, Vector2, Vector2, int, void>)funcTable[538])(self, p2, p3, numSegments);
#else
((delegate* unmanaged[Cdecl]<nint, Vector2, Vector2, int, void>)funcTable[538])((nint)self, p2, p3, numSegments);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathBezierQuadraticCurveTo(ImDrawListPtr self, Vector2 p2, Vector2 p3, int numSegments)
{
PathBezierQuadraticCurveToNative(self, p2, p3, numSegments);
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathBezierQuadraticCurveTo(ImDrawListPtr self, Vector2 p2, Vector2 p3)
{
PathBezierQuadraticCurveToNative(self, p2, p3, (int)(0));
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathBezierQuadraticCurveTo(ref ImDrawList self, Vector2 p2, Vector2 p3, int numSegments)
{
fixed (ImDrawList* pself = &self)
{
PathBezierQuadraticCurveToNative((ImDrawList*)pself, p2, p3, numSegments);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathBezierQuadraticCurveTo(ref ImDrawList self, Vector2 p2, Vector2 p3)
{
fixed (ImDrawList* pself = &self)
{
PathBezierQuadraticCurveToNative((ImDrawList*)pself, p2, p3, (int)(0));
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PathRectNative(ImDrawList* self, Vector2 rectMin, Vector2 rectMax, float rounding, ImDrawFlags flags)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, Vector2, Vector2, float, ImDrawFlags, void>)funcTable[539])(self, rectMin, rectMax, rounding, flags);
#else
((delegate* unmanaged[Cdecl]<nint, Vector2, Vector2, float, ImDrawFlags, void>)funcTable[539])((nint)self, rectMin, rectMax, rounding, flags);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathRect(ImDrawListPtr self, Vector2 rectMin, Vector2 rectMax, float rounding, ImDrawFlags flags)
{
PathRectNative(self, rectMin, rectMax, rounding, flags);
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathRect(ImDrawListPtr self, Vector2 rectMin, Vector2 rectMax, float rounding)
{
PathRectNative(self, rectMin, rectMax, rounding, (ImDrawFlags)(0));
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathRect(ImDrawListPtr self, Vector2 rectMin, Vector2 rectMax)
{
PathRectNative(self, rectMin, rectMax, (float)(0.0f), (ImDrawFlags)(0));
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathRect(ImDrawListPtr self, Vector2 rectMin, Vector2 rectMax, ImDrawFlags flags)
{
PathRectNative(self, rectMin, rectMax, (float)(0.0f), flags);
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathRect(ref ImDrawList self, Vector2 rectMin, Vector2 rectMax, float rounding, ImDrawFlags flags)
{
fixed (ImDrawList* pself = &self)
{
PathRectNative((ImDrawList*)pself, rectMin, rectMax, rounding, flags);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathRect(ref ImDrawList self, Vector2 rectMin, Vector2 rectMax, float rounding)
{
fixed (ImDrawList* pself = &self)
{
PathRectNative((ImDrawList*)pself, rectMin, rectMax, rounding, (ImDrawFlags)(0));
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathRect(ref ImDrawList self, Vector2 rectMin, Vector2 rectMax)
{
fixed (ImDrawList* pself = &self)
{
PathRectNative((ImDrawList*)pself, rectMin, rectMax, (float)(0.0f), (ImDrawFlags)(0));
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void PathRect(ref ImDrawList self, Vector2 rectMin, Vector2 rectMax, ImDrawFlags flags)
{
fixed (ImDrawList* pself = &self)
{
PathRectNative((ImDrawList*)pself, rectMin, rectMax, (float)(0.0f), flags);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddCallbackNative(ImDrawList* self, ImDrawCallback callback, void* callbackData)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, delegate*<ImDrawList*, ImDrawCmd*, void>, void*, void>)funcTable[540])(self, (delegate*<ImDrawList*, ImDrawCmd*, void>)Utils.GetFunctionPointerForDelegate(callback), callbackData);
#else
((delegate* unmanaged[Cdecl]<nint, nint, nint, void>)funcTable[540])((nint)self, (nint)Utils.GetFunctionPointerForDelegate(callback), (nint)callbackData);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddCallback(ImDrawListPtr self, ImDrawCallback callback, void* callbackData)
{
AddCallbackNative(self, callback, callbackData);
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddCallback(ref ImDrawList self, ImDrawCallback callback, void* callbackData)
{
fixed (ImDrawList* pself = &self)
{
AddCallbackNative((ImDrawList*)pself, callback, callbackData);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddDrawCmdNative(ImDrawList* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, void>)funcTable[541])(self);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[541])((nint)self);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddDrawCmd(ImDrawListPtr self)
{
AddDrawCmdNative(self);
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddDrawCmd(ref ImDrawList self)
{
fixed (ImDrawList* pself = &self)
{
AddDrawCmdNative((ImDrawList*)pself);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImDrawList* CloneOutputNative(ImDrawList* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl]<ImDrawList*, ImDrawList*>)funcTable[542])(self);
#else
return (ImDrawList*)((delegate* unmanaged[Cdecl]<nint, nint>)funcTable[542])((nint)self);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static ImDrawListPtr CloneOutput(ImDrawListPtr self)
{
ImDrawListPtr ret = CloneOutputNative(self);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static ImDrawListPtr CloneOutput(ref ImDrawList self)
{
fixed (ImDrawList* pself = &self)
{
ImDrawListPtr ret = CloneOutputNative((ImDrawList*)pself);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ChannelsSplitNative(ImDrawList* self, int count)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, int, void>)funcTable[543])(self, count);
#else
((delegate* unmanaged[Cdecl]<nint, int, void>)funcTable[543])((nint)self, count);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void ChannelsSplit(ImDrawListPtr self, int count)
{
ChannelsSplitNative(self, count);
}
/// <summary>
/// To be documented.
/// </summary>
public static void ChannelsSplit(ref ImDrawList self, int count)
{
fixed (ImDrawList* pself = &self)
{
ChannelsSplitNative((ImDrawList*)pself, count);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ChannelsMergeNative(ImDrawList* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, void>)funcTable[544])(self);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[544])((nint)self);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void ChannelsMerge(ImDrawListPtr self)
{
ChannelsMergeNative(self);
}
/// <summary>
/// To be documented.
/// </summary>
public static void ChannelsMerge(ref ImDrawList self)
{
fixed (ImDrawList* pself = &self)
{
ChannelsMergeNative((ImDrawList*)pself);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ChannelsSetCurrentNative(ImDrawList* self, int n)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, int, void>)funcTable[545])(self, n);
#else
((delegate* unmanaged[Cdecl]<nint, int, void>)funcTable[545])((nint)self, n);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void ChannelsSetCurrent(ImDrawListPtr self, int n)
{
ChannelsSetCurrentNative(self, n);
}
/// <summary>
/// To be documented.
/// </summary>
public static void ChannelsSetCurrent(ref ImDrawList self, int n)
{
fixed (ImDrawList* pself = &self)
{
ChannelsSetCurrentNative((ImDrawList*)pself, n);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PrimReserveNative(ImDrawList* self, int idxCount, int vtxCount)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, int, int, void>)funcTable[546])(self, idxCount, vtxCount);
#else
((delegate* unmanaged[Cdecl]<nint, int, int, void>)funcTable[546])((nint)self, idxCount, vtxCount);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void PrimReserve(ImDrawListPtr self, int idxCount, int vtxCount)
{
PrimReserveNative(self, idxCount, vtxCount);
}
/// <summary>
/// To be documented.
/// </summary>
public static void PrimReserve(ref ImDrawList self, int idxCount, int vtxCount)
{
fixed (ImDrawList* pself = &self)
{
PrimReserveNative((ImDrawList*)pself, idxCount, vtxCount);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PrimUnreserveNative(ImDrawList* self, int idxCount, int vtxCount)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, int, int, void>)funcTable[547])(self, idxCount, vtxCount);
#else
((delegate* unmanaged[Cdecl]<nint, int, int, void>)funcTable[547])((nint)self, idxCount, vtxCount);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void PrimUnreserve(ImDrawListPtr self, int idxCount, int vtxCount)
{
PrimUnreserveNative(self, idxCount, vtxCount);
}
/// <summary>
/// To be documented.
/// </summary>
public static void PrimUnreserve(ref ImDrawList self, int idxCount, int vtxCount)
{
fixed (ImDrawList* pself = &self)
{
PrimUnreserveNative((ImDrawList*)pself, idxCount, vtxCount);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PrimRectNative(ImDrawList* self, Vector2 a, Vector2 b, uint col)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, Vector2, Vector2, uint, void>)funcTable[548])(self, a, b, col);
#else
((delegate* unmanaged[Cdecl]<nint, Vector2, Vector2, uint, void>)funcTable[548])((nint)self, a, b, col);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void PrimRect(ImDrawListPtr self, Vector2 a, Vector2 b, uint col)
{
PrimRectNative(self, a, b, col);
}
/// <summary>
/// To be documented.
/// </summary>
public static void PrimRect(ref ImDrawList self, Vector2 a, Vector2 b, uint col)
{
fixed (ImDrawList* pself = &self)
{
PrimRectNative((ImDrawList*)pself, a, b, col);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PrimRectUVNative(ImDrawList* self, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, uint col)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, Vector2, Vector2, Vector2, Vector2, uint, void>)funcTable[549])(self, a, b, uvA, uvB, col);
#else
((delegate* unmanaged[Cdecl]<nint, Vector2, Vector2, Vector2, Vector2, uint, void>)funcTable[549])((nint)self, a, b, uvA, uvB, col);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void PrimRectUV(ImDrawListPtr self, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, uint col)
{
PrimRectUVNative(self, a, b, uvA, uvB, col);
}
/// <summary>
/// To be documented.
/// </summary>
public static void PrimRectUV(ref ImDrawList self, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, uint col)
{
fixed (ImDrawList* pself = &self)
{
PrimRectUVNative((ImDrawList*)pself, a, b, uvA, uvB, col);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PrimQuadUVNative(ImDrawList* self, Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uvA, Vector2 uvB, Vector2 uvC, Vector2 uvD, uint col)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, uint, void>)funcTable[550])(self, a, b, c, d, uvA, uvB, uvC, uvD, col);
#else
((delegate* unmanaged[Cdecl]<nint, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, uint, void>)funcTable[550])((nint)self, a, b, c, d, uvA, uvB, uvC, uvD, col);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void PrimQuadUV(ImDrawListPtr self, Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uvA, Vector2 uvB, Vector2 uvC, Vector2 uvD, uint col)
{
PrimQuadUVNative(self, a, b, c, d, uvA, uvB, uvC, uvD, col);
}
/// <summary>
/// To be documented.
/// </summary>
public static void PrimQuadUV(ref ImDrawList self, Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uvA, Vector2 uvB, Vector2 uvC, Vector2 uvD, uint col)
{
fixed (ImDrawList* pself = &self)
{
PrimQuadUVNative((ImDrawList*)pself, a, b, c, d, uvA, uvB, uvC, uvD, col);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PrimWriteVtxNative(ImDrawList* self, Vector2 pos, Vector2 uv, uint col)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, Vector2, Vector2, uint, void>)funcTable[551])(self, pos, uv, col);
#else
((delegate* unmanaged[Cdecl]<nint, Vector2, Vector2, uint, void>)funcTable[551])((nint)self, pos, uv, col);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void PrimWriteVtx(ImDrawListPtr self, Vector2 pos, Vector2 uv, uint col)
{
PrimWriteVtxNative(self, pos, uv, col);
}
/// <summary>
/// To be documented.
/// </summary>
public static void PrimWriteVtx(ref ImDrawList self, Vector2 pos, Vector2 uv, uint col)
{
fixed (ImDrawList* pself = &self)
{
PrimWriteVtxNative((ImDrawList*)pself, pos, uv, col);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PrimWriteIdxNative(ImDrawList* self, ushort idx)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, ushort, void>)funcTable[552])(self, idx);
#else
((delegate* unmanaged[Cdecl]<nint, ushort, void>)funcTable[552])((nint)self, idx);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void PrimWriteIdx(ImDrawListPtr self, ushort idx)
{
PrimWriteIdxNative(self, idx);
}
/// <summary>
/// To be documented.
/// </summary>
public static void PrimWriteIdx(ref ImDrawList self, ushort idx)
{
fixed (ImDrawList* pself = &self)
{
PrimWriteIdxNative((ImDrawList*)pself, idx);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void PrimVtxNative(ImDrawList* self, Vector2 pos, Vector2 uv, uint col)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, Vector2, Vector2, uint, void>)funcTable[553])(self, pos, uv, col);
#else
((delegate* unmanaged[Cdecl]<nint, Vector2, Vector2, uint, void>)funcTable[553])((nint)self, pos, uv, col);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void PrimVtx(ImDrawListPtr self, Vector2 pos, Vector2 uv, uint col)
{
PrimVtxNative(self, pos, uv, col);
}
/// <summary>
/// To be documented.
/// </summary>
public static void PrimVtx(ref ImDrawList self, Vector2 pos, Vector2 uv, uint col)
{
fixed (ImDrawList* pself = &self)
{
PrimVtxNative((ImDrawList*)pself, pos, uv, col);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void _ResetForNewFrameNative(ImDrawList* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, void>)funcTable[554])(self);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[554])((nint)self);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void _ResetForNewFrame(ImDrawListPtr self)
{
_ResetForNewFrameNative(self);
}
/// <summary>
/// To be documented.
/// </summary>
public static void _ResetForNewFrame(ref ImDrawList self)
{
fixed (ImDrawList* pself = &self)
{
_ResetForNewFrameNative((ImDrawList*)pself);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void _ClearFreeMemoryNative(ImDrawList* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, void>)funcTable[555])(self);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[555])((nint)self);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void _ClearFreeMemory(ImDrawListPtr self)
{
_ClearFreeMemoryNative(self);
}
/// <summary>
/// To be documented.
/// </summary>
public static void _ClearFreeMemory(ref ImDrawList self)
{
fixed (ImDrawList* pself = &self)
{
_ClearFreeMemoryNative((ImDrawList*)pself);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void _PopUnusedDrawCmdNative(ImDrawList* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, void>)funcTable[556])(self);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[556])((nint)self);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void _PopUnusedDrawCmd(ImDrawListPtr self)
{
_PopUnusedDrawCmdNative(self);
}
/// <summary>
/// To be documented.
/// </summary>
public static void _PopUnusedDrawCmd(ref ImDrawList self)
{
fixed (ImDrawList* pself = &self)
{
_PopUnusedDrawCmdNative((ImDrawList*)pself);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void _TryMergeDrawCmdsNative(ImDrawList* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, void>)funcTable[557])(self);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[557])((nint)self);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void _TryMergeDrawCmds(ImDrawListPtr self)
{
_TryMergeDrawCmdsNative(self);
}
/// <summary>
/// To be documented.
/// </summary>
public static void _TryMergeDrawCmds(ref ImDrawList self)
{
fixed (ImDrawList* pself = &self)
{
_TryMergeDrawCmdsNative((ImDrawList*)pself);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void _OnChangedClipRectNative(ImDrawList* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, void>)funcTable[558])(self);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[558])((nint)self);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void _OnChangedClipRect(ImDrawListPtr self)
{
_OnChangedClipRectNative(self);
}
/// <summary>
/// To be documented.
/// </summary>
public static void _OnChangedClipRect(ref ImDrawList self)
{
fixed (ImDrawList* pself = &self)
{
_OnChangedClipRectNative((ImDrawList*)pself);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void _OnChangedTextureIDNative(ImDrawList* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, void>)funcTable[559])(self);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[559])((nint)self);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void _OnChangedTextureID(ImDrawListPtr self)
{
_OnChangedTextureIDNative(self);
}
/// <summary>
/// To be documented.
/// </summary>
public static void _OnChangedTextureID(ref ImDrawList self)
{
fixed (ImDrawList* pself = &self)
{
_OnChangedTextureIDNative((ImDrawList*)pself);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void _OnChangedVtxOffsetNative(ImDrawList* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, void>)funcTable[560])(self);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[560])((nint)self);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void _OnChangedVtxOffset(ImDrawListPtr self)
{
_OnChangedVtxOffsetNative(self);
}
/// <summary>
/// To be documented.
/// </summary>
public static void _OnChangedVtxOffset(ref ImDrawList self)
{
fixed (ImDrawList* pself = &self)
{
_OnChangedVtxOffsetNative((ImDrawList*)pself);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static int _CalcCircleAutoSegmentCountNative(ImDrawList* self, float radius)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl]<ImDrawList*, float, int>)funcTable[561])(self, radius);
#else
return (int)((delegate* unmanaged[Cdecl]<nint, float, int>)funcTable[561])((nint)self, radius);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static int _CalcCircleAutoSegmentCount(ImDrawListPtr self, float radius)
{
int ret = _CalcCircleAutoSegmentCountNative(self, radius);
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
public static int _CalcCircleAutoSegmentCount(ref ImDrawList self, float radius)
{
fixed (ImDrawList* pself = &self)
{
int ret = _CalcCircleAutoSegmentCountNative((ImDrawList*)pself, radius);
return ret;
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void _PathArcToFastExNative(ImDrawList* self, Vector2 center, float radius, int aMinSample, int aMaxSample, int aStep)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, Vector2, float, int, int, int, void>)funcTable[562])(self, center, radius, aMinSample, aMaxSample, aStep);
#else
((delegate* unmanaged[Cdecl]<nint, Vector2, float, int, int, int, void>)funcTable[562])((nint)self, center, radius, aMinSample, aMaxSample, aStep);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void _PathArcToFastEx(ImDrawListPtr self, Vector2 center, float radius, int aMinSample, int aMaxSample, int aStep)
{
_PathArcToFastExNative(self, center, radius, aMinSample, aMaxSample, aStep);
}
/// <summary>
/// To be documented.
/// </summary>
public static void _PathArcToFastEx(ref ImDrawList self, Vector2 center, float radius, int aMinSample, int aMaxSample, int aStep)
{
fixed (ImDrawList* pself = &self)
{
_PathArcToFastExNative((ImDrawList*)pself, center, radius, aMinSample, aMaxSample, aStep);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void _PathArcToNNative(ImDrawList* self, Vector2 center, float radius, float aMin, float aMax, int numSegments)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawList*, Vector2, float, float, float, int, void>)funcTable[563])(self, center, radius, aMin, aMax, numSegments);
#else
((delegate* unmanaged[Cdecl]<nint, Vector2, float, float, float, int, void>)funcTable[563])((nint)self, center, radius, aMin, aMax, numSegments);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void _PathArcToN(ImDrawListPtr self, Vector2 center, float radius, float aMin, float aMax, int numSegments)
{
_PathArcToNNative(self, center, radius, aMin, aMax, numSegments);
}
/// <summary>
/// To be documented.
/// </summary>
public static void _PathArcToN(ref ImDrawList self, Vector2 center, float radius, float aMin, float aMax, int numSegments)
{
fixed (ImDrawList* pself = &self)
{
_PathArcToNNative((ImDrawList*)pself, center, radius, aMin, aMax, numSegments);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImDrawData* ImDrawDataNative()
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl]<ImDrawData*>)funcTable[564])();
#else
return (ImDrawData*)((delegate* unmanaged[Cdecl]<nint>)funcTable[564])();
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static ImDrawDataPtr ImDrawData()
{
ImDrawDataPtr ret = ImDrawDataNative();
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DestroyNative(ImDrawData* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawData*, void>)funcTable[565])(self);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[565])((nint)self);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void Destroy(ImDrawDataPtr self)
{
DestroyNative(self);
}
/// <summary>
/// To be documented.
/// </summary>
public static void Destroy(ref ImDrawData self)
{
fixed (ImDrawData* pself = &self)
{
DestroyNative((ImDrawData*)pself);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ClearNative(ImDrawData* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawData*, void>)funcTable[566])(self);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[566])((nint)self);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void Clear(ImDrawDataPtr self)
{
ClearNative(self);
}
/// <summary>
/// To be documented.
/// </summary>
public static void Clear(ref ImDrawData self)
{
fixed (ImDrawData* pself = &self)
{
ClearNative((ImDrawData*)pself);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DeIndexAllBuffersNative(ImDrawData* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawData*, void>)funcTable[567])(self);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[567])((nint)self);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void DeIndexAllBuffers(ImDrawDataPtr self)
{
DeIndexAllBuffersNative(self);
}
/// <summary>
/// To be documented.
/// </summary>
public static void DeIndexAllBuffers(ref ImDrawData self)
{
fixed (ImDrawData* pself = &self)
{
DeIndexAllBuffersNative((ImDrawData*)pself);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ScaleClipRectsNative(ImDrawData* self, Vector2 fbScale)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImDrawData*, Vector2, void>)funcTable[568])(self, fbScale);
#else
((delegate* unmanaged[Cdecl]<nint, Vector2, void>)funcTable[568])((nint)self, fbScale);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void ScaleClipRects(ImDrawDataPtr self, Vector2 fbScale)
{
ScaleClipRectsNative(self, fbScale);
}
/// <summary>
/// To be documented.
/// </summary>
public static void ScaleClipRects(ref ImDrawData self, Vector2 fbScale)
{
fixed (ImDrawData* pself = &self)
{
ScaleClipRectsNative((ImDrawData*)pself, fbScale);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImFontConfig* ImFontConfigNative()
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl]<ImFontConfig*>)funcTable[569])();
#else
return (ImFontConfig*)((delegate* unmanaged[Cdecl]<nint>)funcTable[569])();
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static ImFontConfigPtr ImFontConfig()
{
ImFontConfigPtr ret = ImFontConfigNative();
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DestroyNative(ImFontConfig* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImFontConfig*, void>)funcTable[570])(self);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[570])((nint)self);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void Destroy(ImFontConfigPtr self)
{
DestroyNative(self);
}
/// <summary>
/// To be documented.
/// </summary>
public static void Destroy(ref ImFontConfig self)
{
fixed (ImFontConfig* pself = &self)
{
DestroyNative((ImFontConfig*)pself);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImFontGlyphRangesBuilder* ImFontGlyphRangesBuilderNative()
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl]<ImFontGlyphRangesBuilder*>)funcTable[571])();
#else
return (ImFontGlyphRangesBuilder*)((delegate* unmanaged[Cdecl]<nint>)funcTable[571])();
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static ImFontGlyphRangesBuilderPtr ImFontGlyphRangesBuilder()
{
ImFontGlyphRangesBuilderPtr ret = ImFontGlyphRangesBuilderNative();
return ret;
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DestroyNative(ImFontGlyphRangesBuilder* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImFontGlyphRangesBuilder*, void>)funcTable[572])(self);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[572])((nint)self);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void Destroy(ImFontGlyphRangesBuilderPtr self)
{
DestroyNative(self);
}
/// <summary>
/// To be documented.
/// </summary>
public static void Destroy(ref ImFontGlyphRangesBuilder self)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
DestroyNative((ImFontGlyphRangesBuilder*)pself);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ClearNative(ImFontGlyphRangesBuilder* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImFontGlyphRangesBuilder*, void>)funcTable[573])(self);
#else
((delegate* unmanaged[Cdecl]<nint, void>)funcTable[573])((nint)self);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void Clear(ImFontGlyphRangesBuilderPtr self)
{
ClearNative(self);
}
/// <summary>
/// To be documented.
/// </summary>
public static void Clear(ref ImFontGlyphRangesBuilder self)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
ClearNative((ImFontGlyphRangesBuilder*)pself);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte GetBitNative(ImFontGlyphRangesBuilder* self, nuint n)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl]<ImFontGlyphRangesBuilder*, nuint, byte>)funcTable[574])(self, n);
#else
return (byte)((delegate* unmanaged[Cdecl]<nint, nuint, byte>)funcTable[574])((nint)self, n);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static bool GetBit(ImFontGlyphRangesBuilderPtr self, nuint n)
{
byte ret = GetBitNative(self, n);
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
public static bool GetBit(ref ImFontGlyphRangesBuilder self, nuint n)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
byte ret = GetBitNative((ImFontGlyphRangesBuilder*)pself, n);
return ret != 0;
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void SetBitNative(ImFontGlyphRangesBuilder* self, nuint n)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImFontGlyphRangesBuilder*, nuint, void>)funcTable[575])(self, n);
#else
((delegate* unmanaged[Cdecl]<nint, nuint, void>)funcTable[575])((nint)self, n);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void SetBit(ImFontGlyphRangesBuilderPtr self, nuint n)
{
SetBitNative(self, n);
}
/// <summary>
/// To be documented.
/// </summary>
public static void SetBit(ref ImFontGlyphRangesBuilder self, nuint n)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
SetBitNative((ImFontGlyphRangesBuilder*)pself, n);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddCharNative(ImFontGlyphRangesBuilder* self, ushort c)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImFontGlyphRangesBuilder*, ushort, void>)funcTable[576])(self, c);
#else
((delegate* unmanaged[Cdecl]<nint, ushort, void>)funcTable[576])((nint)self, c);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddChar(ImFontGlyphRangesBuilderPtr self, ushort c)
{
AddCharNative(self, c);
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddChar(ref ImFontGlyphRangesBuilder self, ushort c)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
AddCharNative((ImFontGlyphRangesBuilder*)pself, c);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddTextNative(ImFontGlyphRangesBuilder* self, byte* text, byte* textEnd)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<ImFontGlyphRangesBuilder*, byte*, byte*, void>)funcTable[577])(self, text, textEnd);
#else
((delegate* unmanaged[Cdecl]<nint, nint, nint, void>)funcTable[577])((nint)self, (nint)text, (nint)textEnd);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImFontGlyphRangesBuilderPtr self, byte* text, byte* textEnd)
{
AddTextNative(self, text, textEnd);
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImFontGlyphRangesBuilderPtr self, byte* text)
{
AddTextNative(self, text, (byte*)(default));
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImFontGlyphRangesBuilder self, byte* text, byte* textEnd)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
AddTextNative((ImFontGlyphRangesBuilder*)pself, text, textEnd);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImFontGlyphRangesBuilder self, byte* text)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
AddTextNative((ImFontGlyphRangesBuilder*)pself, text, (byte*)(default));
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImFontGlyphRangesBuilderPtr self, ref byte text, byte* textEnd)
{
fixed (byte* ptext = &text)
{
AddTextNative(self, (byte*)ptext, textEnd);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImFontGlyphRangesBuilderPtr self, ref byte text)
{
fixed (byte* ptext = &text)
{
AddTextNative(self, (byte*)ptext, (byte*)(default));
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImFontGlyphRangesBuilderPtr self, ReadOnlySpan<byte> text, byte* textEnd)
{
fixed (byte* ptext = text)
{
AddTextNative(self, (byte*)ptext, textEnd);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImFontGlyphRangesBuilderPtr self, ReadOnlySpan<byte> text)
{
fixed (byte* ptext = text)
{
AddTextNative(self, (byte*)ptext, (byte*)(default));
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImFontGlyphRangesBuilderPtr self, string text, byte* textEnd)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (text != null)
{
pStrSize0 = Utils.GetByteCountUTF8(text);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
AddTextNative(self, pStr0, textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImFontGlyphRangesBuilderPtr self, string text)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (text != null)
{
pStrSize0 = Utils.GetByteCountUTF8(text);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
AddTextNative(self, pStr0, (byte*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImFontGlyphRangesBuilder self, ref byte text, byte* textEnd)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
fixed (byte* ptext = &text)
{
AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, textEnd);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImFontGlyphRangesBuilder self, ref byte text)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
fixed (byte* ptext = &text)
{
AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, (byte*)(default));
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImFontGlyphRangesBuilder self, ReadOnlySpan<byte> text, byte* textEnd)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
fixed (byte* ptext = text)
{
AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, textEnd);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImFontGlyphRangesBuilder self, ReadOnlySpan<byte> text)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
fixed (byte* ptext = text)
{
AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, (byte*)(default));
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImFontGlyphRangesBuilder self, string text, byte* textEnd)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (text != null)
{
pStrSize0 = Utils.GetByteCountUTF8(text);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
AddTextNative((ImFontGlyphRangesBuilder*)pself, pStr0, textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImFontGlyphRangesBuilder self, string text)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (text != null)
{
pStrSize0 = Utils.GetByteCountUTF8(text);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
AddTextNative((ImFontGlyphRangesBuilder*)pself, pStr0, (byte*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImFontGlyphRangesBuilderPtr self, byte* text, ref byte textEnd)
{
fixed (byte* ptextEnd = &textEnd)
{
AddTextNative(self, text, (byte*)ptextEnd);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImFontGlyphRangesBuilderPtr self, byte* text, ReadOnlySpan<byte> textEnd)
{
fixed (byte* ptextEnd = textEnd)
{
AddTextNative(self, text, (byte*)ptextEnd);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImFontGlyphRangesBuilderPtr self, byte* text, string textEnd)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
AddTextNative(self, text, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImFontGlyphRangesBuilder self, byte* text, ref byte textEnd)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
fixed (byte* ptextEnd = &textEnd)
{
AddTextNative((ImFontGlyphRangesBuilder*)pself, text, (byte*)ptextEnd);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImFontGlyphRangesBuilder self, byte* text, ReadOnlySpan<byte> textEnd)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
fixed (byte* ptextEnd = textEnd)
{
AddTextNative((ImFontGlyphRangesBuilder*)pself, text, (byte*)ptextEnd);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImFontGlyphRangesBuilder self, byte* text, string textEnd)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
AddTextNative((ImFontGlyphRangesBuilder*)pself, text, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImFontGlyphRangesBuilderPtr self, ref byte text, ref byte textEnd)
{
fixed (byte* ptext = &text)
{
fixed (byte* ptextEnd = &textEnd)
{
AddTextNative(self, (byte*)ptext, (byte*)ptextEnd);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImFontGlyphRangesBuilderPtr self, ReadOnlySpan<byte> text, ReadOnlySpan<byte> textEnd)
{
fixed (byte* ptext = text)
{
fixed (byte* ptextEnd = textEnd)
{
AddTextNative(self, (byte*)ptext, (byte*)ptextEnd);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImFontGlyphRangesBuilderPtr self, string text, string textEnd)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (text != null)
{
pStrSize0 = Utils.GetByteCountUTF8(text);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
byte* pStr1 = null;
int pStrSize1 = 0;
if (textEnd != null)
{
pStrSize1 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
pStr1 = Utils.Alloc<byte>(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
AddTextNative(self, pStr0, pStr1);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImFontGlyphRangesBuilderPtr self, ref byte text, ReadOnlySpan<byte> textEnd)
{
fixed (byte* ptext = &text)
{
fixed (byte* ptextEnd = textEnd)
{
AddTextNative(self, (byte*)ptext, (byte*)ptextEnd);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImFontGlyphRangesBuilderPtr self, ref byte text, string textEnd)
{
fixed (byte* ptext = &text)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
AddTextNative(self, (byte*)ptext, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImFontGlyphRangesBuilderPtr self, ReadOnlySpan<byte> text, ref byte textEnd)
{
fixed (byte* ptext = text)
{
fixed (byte* ptextEnd = &textEnd)
{
AddTextNative(self, (byte*)ptext, (byte*)ptextEnd);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImFontGlyphRangesBuilderPtr self, ReadOnlySpan<byte> text, string textEnd)
{
fixed (byte* ptext = text)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
AddTextNative(self, (byte*)ptext, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImFontGlyphRangesBuilderPtr self, string text, ref byte textEnd)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (text != null)
{
pStrSize0 = Utils.GetByteCountUTF8(text);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ptextEnd = &textEnd)
{
AddTextNative(self, pStr0, (byte*)ptextEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ImFontGlyphRangesBuilderPtr self, string text, ReadOnlySpan<byte> textEnd)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (text != null)
{
pStrSize0 = Utils.GetByteCountUTF8(text);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (byte* ptextEnd = textEnd)
{
AddTextNative(self, pStr0, (byte*)ptextEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void AddText(ref ImFontGlyphRangesBuilder self, ref byte text, ref byte textEnd)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
fixed (byte* ptext = &text)
{
fixed (byte* ptextEnd = &textEnd)
{
AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, (byte*)ptextEnd);
}
}
}
}
}
}