// ------------------------------------------------------------------------------
//
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
// ------------------------------------------------------------------------------
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using HexaGen.Runtime;
using System.Numerics;
namespace Dalamud.Bindings.ImGui
{
public unsafe partial class ImGui
{
///
/// To be documented.
///
public static void AddText(ref ImFontGlyphRangesBuilder self, ReadOnlySpan text, ReadOnlySpan textEnd)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
fixed (byte* ptext = text)
{
fixed (byte* ptextEnd = textEnd)
{
AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, (byte*)ptextEnd);
}
}
}
}
///
/// To be documented.
///
public static void AddText(ref ImFontGlyphRangesBuilder self, string text, string 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(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(pStrSize1 + 1);
}
else
{
byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
pStr1 = pStrStack1;
}
int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1);
pStr1[pStrOffset1] = 0;
}
AddTextNative((ImFontGlyphRangesBuilder*)pself, pStr0, pStr1);
if (pStrSize1 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr1);
}
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
///
/// To be documented.
///
public static void AddText(ref ImFontGlyphRangesBuilder self, ref byte text, ReadOnlySpan textEnd)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
fixed (byte* ptext = &text)
{
fixed (byte* ptextEnd = textEnd)
{
AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, (byte*)ptextEnd);
}
}
}
}
///
/// To be documented.
///
public static void AddText(ref ImFontGlyphRangesBuilder self, ref byte text, string textEnd)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
fixed (byte* ptext = &text)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
///
/// To be documented.
///
public static void AddText(ref ImFontGlyphRangesBuilder self, ReadOnlySpan text, ref byte textEnd)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
fixed (byte* ptext = text)
{
fixed (byte* ptextEnd = &textEnd)
{
AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, (byte*)ptextEnd);
}
}
}
}
///
/// To be documented.
///
public static void AddText(ref ImFontGlyphRangesBuilder self, ReadOnlySpan text, string textEnd)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
fixed (byte* ptext = text)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (textEnd != null)
{
pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
///
/// To be documented.
///
public static void AddText(ref ImFontGlyphRangesBuilder self, string text, ref 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(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((ImFontGlyphRangesBuilder*)pself, pStr0, (byte*)ptextEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
///
/// To be documented.
///
public static void AddText(ref ImFontGlyphRangesBuilder self, string text, ReadOnlySpan 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(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((ImFontGlyphRangesBuilder*)pself, pStr0, (byte*)ptextEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AddRangesNative(ImFontGlyphRangesBuilder* self, ushort* ranges)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[578])(self, ranges);
#else
((delegate* unmanaged[Cdecl])funcTable[578])((nint)self, (nint)ranges);
#endif
}
///
/// To be documented.
///
public static void AddRanges(ImFontGlyphRangesBuilderPtr self, ushort* ranges)
{
AddRangesNative(self, ranges);
}
///
/// To be documented.
///
public static void AddRanges(ref ImFontGlyphRangesBuilder self, ushort* ranges)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
AddRangesNative((ImFontGlyphRangesBuilder*)pself, ranges);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void BuildRangesNative(ImFontGlyphRangesBuilder* self, ImVector* outRanges)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]*, void>)funcTable[579])(self, outRanges);
#else
((delegate* unmanaged[Cdecl])funcTable[579])((nint)self, (nint)outRanges);
#endif
}
///
/// To be documented.
///
public static void BuildRanges(ImFontGlyphRangesBuilderPtr self, ImVector* outRanges)
{
BuildRangesNative(self, outRanges);
}
///
/// To be documented.
///
public static void BuildRanges(ref ImFontGlyphRangesBuilder self, ImVector* outRanges)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
BuildRangesNative((ImFontGlyphRangesBuilder*)pself, outRanges);
}
}
///
/// To be documented.
///
public static void BuildRanges(ImFontGlyphRangesBuilderPtr self, ref ImVector outRanges)
{
fixed (ImVector* poutRanges = &outRanges)
{
BuildRangesNative(self, (ImVector*)poutRanges);
}
}
///
/// To be documented.
///
public static void BuildRanges(ref ImFontGlyphRangesBuilder self, ref ImVector outRanges)
{
fixed (ImFontGlyphRangesBuilder* pself = &self)
{
fixed (ImVector* poutRanges = &outRanges)
{
BuildRangesNative((ImFontGlyphRangesBuilder*)pself, (ImVector*)poutRanges);
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImFontAtlasCustomRect* ImFontAtlasCustomRectNative()
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[580])();
#else
return (ImFontAtlasCustomRect*)((delegate* unmanaged[Cdecl])funcTable[580])();
#endif
}
///
/// To be documented.
///
public static ImFontAtlasCustomRectPtr ImFontAtlasCustomRect()
{
ImFontAtlasCustomRectPtr ret = ImFontAtlasCustomRectNative();
return ret;
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DestroyNative(ImFontAtlasCustomRect* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[581])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[581])((nint)self);
#endif
}
///
/// To be documented.
///
public static void Destroy(ImFontAtlasCustomRectPtr self)
{
DestroyNative(self);
}
///
/// To be documented.
///
public static void Destroy(ref ImFontAtlasCustomRect self)
{
fixed (ImFontAtlasCustomRect* pself = &self)
{
DestroyNative((ImFontAtlasCustomRect*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte IsPackedNative(ImFontAtlasCustomRect* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[582])(self);
#else
return (byte)((delegate* unmanaged[Cdecl])funcTable[582])((nint)self);
#endif
}
///
/// To be documented.
///
public static bool IsPacked(ImFontAtlasCustomRectPtr self)
{
byte ret = IsPackedNative(self);
return ret != 0;
}
///
/// To be documented.
///
public static bool IsPacked(ref ImFontAtlasCustomRect self)
{
fixed (ImFontAtlasCustomRect* pself = &self)
{
byte ret = IsPackedNative((ImFontAtlasCustomRect*)pself);
return ret != 0;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImFontAtlas* ImFontAtlasNative()
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[583])();
#else
return (ImFontAtlas*)((delegate* unmanaged[Cdecl])funcTable[583])();
#endif
}
///
/// To be documented.
///
public static ImFontAtlasPtr ImFontAtlas()
{
ImFontAtlasPtr ret = ImFontAtlasNative();
return ret;
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void DestroyNative(ImFontAtlas* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[584])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[584])((nint)self);
#endif
}
///
/// To be documented.
///
public static void Destroy(ImFontAtlasPtr self)
{
DestroyNative(self);
}
///
/// To be documented.
///
public static void Destroy(ref ImFontAtlas self)
{
fixed (ImFontAtlas* pself = &self)
{
DestroyNative((ImFontAtlas*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImFont* AddFontNative(ImFontAtlas* self, ImFontConfig* fontCfg)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[585])(self, fontCfg);
#else
return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[585])((nint)self, (nint)fontCfg);
#endif
}
///
/// To be documented.
///
public static ImFontPtr AddFont(ImFontAtlasPtr self, ImFontConfigPtr fontCfg)
{
ImFontPtr ret = AddFontNative(self, fontCfg);
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFont(ref ImFontAtlas self, ImFontConfigPtr fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
ImFontPtr ret = AddFontNative((ImFontAtlas*)pself, fontCfg);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFont(ImFontAtlasPtr self, ref ImFontConfig fontCfg)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontNative(self, (ImFontConfig*)pfontCfg);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFont(ref ImFontAtlas self, ref ImFontConfig fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontNative((ImFontAtlas*)pself, (ImFontConfig*)pfontCfg);
return ret;
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImFont* AddFontDefaultNative(ImFontAtlas* self, ImFontConfig* fontCfg)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[586])(self, fontCfg);
#else
return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[586])((nint)self, (nint)fontCfg);
#endif
}
///
/// To be documented.
///
public static ImFontPtr AddFontDefault(ImFontAtlasPtr self, ImFontConfigPtr fontCfg)
{
ImFontPtr ret = AddFontDefaultNative(self, fontCfg);
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontDefault(ImFontAtlasPtr self)
{
ImFontPtr ret = AddFontDefaultNative(self, (ImFontConfig*)(default));
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontDefault(ref ImFontAtlas self, ImFontConfigPtr fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
ImFontPtr ret = AddFontDefaultNative((ImFontAtlas*)pself, fontCfg);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontDefault(ref ImFontAtlas self)
{
fixed (ImFontAtlas* pself = &self)
{
ImFontPtr ret = AddFontDefaultNative((ImFontAtlas*)pself, (ImFontConfig*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontDefault(ImFontAtlasPtr self, ref ImFontConfig fontCfg)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontDefaultNative(self, (ImFontConfig*)pfontCfg);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontDefault(ref ImFontAtlas self, ref ImFontConfig fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontDefaultNative((ImFontAtlas*)pself, (ImFontConfig*)pfontCfg);
return ret;
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImFont* AddFontFromFileTTFNative(ImFontAtlas* self, byte* filename, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[587])(self, filename, sizePixels, fontCfg, glyphRanges);
#else
return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[587])((nint)self, (nint)filename, sizePixels, (nint)fontCfg, (nint)glyphRanges);
#endif
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges)
{
ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, fontCfg, glyphRanges);
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, ImFontConfigPtr fontCfg)
{
ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, fontCfg, (ushort*)(default));
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels)
{
ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, (ImFontConfig*)(default), (ushort*)(default));
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, ushort* glyphRanges)
{
ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, (ImFontConfig*)(default), glyphRanges);
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, fontCfg, glyphRanges);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, ImFontConfigPtr fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, fontCfg, (ushort*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels)
{
fixed (ImFontAtlas* pself = &self)
{
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, (ImFontConfig*)(default), (ushort*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, (ImFontConfig*)(default), glyphRanges);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges)
{
fixed (byte* pfilename = &filename)
{
ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, fontCfg, glyphRanges);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, ImFontConfigPtr fontCfg)
{
fixed (byte* pfilename = &filename)
{
ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, fontCfg, (ushort*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels)
{
fixed (byte* pfilename = &filename)
{
ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, ushort* glyphRanges)
{
fixed (byte* pfilename = &filename)
{
ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges)
{
fixed (byte* pfilename = filename)
{
ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, fontCfg, glyphRanges);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, ImFontConfigPtr fontCfg)
{
fixed (byte* pfilename = filename)
{
ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, fontCfg, (ushort*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels)
{
fixed (byte* pfilename = filename)
{
ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, ushort* glyphRanges)
{
fixed (byte* pfilename = filename)
{
ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (filename != null)
{
pStrSize0 = Utils.GetByteCountUTF8(filename);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, fontCfg, glyphRanges);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, ImFontConfigPtr fontCfg)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (filename != null)
{
pStrSize0 = Utils.GetByteCountUTF8(filename);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, fontCfg, (ushort*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (filename != null)
{
pStrSize0 = Utils.GetByteCountUTF8(filename);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, ushort* glyphRanges)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (filename != null)
{
pStrSize0 = Utils.GetByteCountUTF8(filename);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pfilename = &filename)
{
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, fontCfg, glyphRanges);
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, ImFontConfigPtr fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pfilename = &filename)
{
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, fontCfg, (ushort*)(default));
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pfilename = &filename)
{
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)(default));
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pfilename = &filename)
{
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges);
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pfilename = filename)
{
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, fontCfg, glyphRanges);
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, ImFontConfigPtr fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pfilename = filename)
{
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, fontCfg, (ushort*)(default));
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pfilename = filename)
{
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)(default));
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pfilename = filename)
{
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges);
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (filename != null)
{
pStrSize0 = Utils.GetByteCountUTF8(filename);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, fontCfg, glyphRanges);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, ImFontConfigPtr fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (filename != null)
{
pStrSize0 = Utils.GetByteCountUTF8(filename);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, fontCfg, (ushort*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels)
{
fixed (ImFontAtlas* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (filename != null)
{
pStrSize0 = Utils.GetByteCountUTF8(filename);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (filename != null)
{
pStrSize0 = Utils.GetByteCountUTF8(filename);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, ref ImFontConfig fontCfg)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges);
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, ref ImFontConfig fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default));
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges)
{
fixed (byte* pfilename = &filename)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges);
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, ref ImFontConfig fontCfg)
{
fixed (byte* pfilename = &filename)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default));
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges)
{
fixed (byte* pfilename = filename)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges);
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg)
{
fixed (byte* pfilename = filename)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default));
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (filename != null)
{
pStrSize0 = Utils.GetByteCountUTF8(filename);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, ref ImFontConfig fontCfg)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (filename != null)
{
pStrSize0 = Utils.GetByteCountUTF8(filename);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pfilename = &filename)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges);
return ret;
}
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, ref ImFontConfig fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pfilename = &filename)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default));
return ret;
}
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pfilename = filename)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges);
return ret;
}
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pfilename = filename)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default));
return ret;
}
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (filename != null)
{
pStrSize0 = Utils.GetByteCountUTF8(filename);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, ref ImFontConfig fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (filename != null)
{
pStrSize0 = Utils.GetByteCountUTF8(filename);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImFont* AddFontFromMemoryTTFNative(ImFontAtlas* self, void* fontData, int fontSize, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[588])(self, fontData, fontSize, sizePixels, fontCfg, glyphRanges);
#else
return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[588])((nint)self, (nint)fontData, fontSize, sizePixels, (nint)fontCfg, (nint)glyphRanges);
#endif
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontSize, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges)
{
ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontSize, sizePixels, fontCfg, glyphRanges);
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontSize, float sizePixels, ImFontConfigPtr fontCfg)
{
ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontSize, sizePixels, fontCfg, (ushort*)(default));
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontSize, float sizePixels)
{
ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontSize, sizePixels, (ImFontConfig*)(default), (ushort*)(default));
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontSize, float sizePixels, ushort* glyphRanges)
{
ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontSize, sizePixels, (ImFontConfig*)(default), glyphRanges);
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontSize, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontSize, sizePixels, fontCfg, glyphRanges);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontSize, float sizePixels, ImFontConfigPtr fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontSize, sizePixels, fontCfg, (ushort*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontSize, float sizePixels)
{
fixed (ImFontAtlas* pself = &self)
{
ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontSize, sizePixels, (ImFontConfig*)(default), (ushort*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontSize, float sizePixels, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontSize, sizePixels, (ImFontConfig*)(default), glyphRanges);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontSize, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontSize, float sizePixels, ref ImFontConfig fontCfg)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontSize, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges);
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontSize, float sizePixels, ref ImFontConfig fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default));
return ret;
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImFont* AddFontFromMemoryCompressedTTFNative(ImFontAtlas* self, void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[589])(self, compressedFontData, compressedFontSize, sizePixels, fontCfg, glyphRanges);
#else
return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[589])((nint)self, (nint)compressedFontData, compressedFontSize, sizePixels, (nint)fontCfg, (nint)glyphRanges);
#endif
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges)
{
ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontSize, sizePixels, fontCfg, glyphRanges);
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfigPtr fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontSize, sizePixels, fontCfg, (ushort*)(default));
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontSize, float sizePixels)
{
ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)(default), (ushort*)(default));
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontSize, float sizePixels, ushort* glyphRanges)
{
ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)(default), glyphRanges);
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontSize, sizePixels, fontCfg, glyphRanges);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfigPtr fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontSize, sizePixels, fontCfg, (ushort*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontSize, float sizePixels)
{
fixed (ImFontAtlas* pself = &self)
{
ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)(default), (ushort*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontSize, float sizePixels, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)(default), glyphRanges);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontSize, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontSize, float sizePixels, ref ImFontConfig fontCfg)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontSize, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges);
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontSize, float sizePixels, ref ImFontConfig fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default));
return ret;
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImFont* AddFontFromMemoryCompressedBase85TTFNative(ImFontAtlas* self, byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[590])(self, compressedFontDatabase85, sizePixels, fontCfg, glyphRanges);
#else
return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[590])((nint)self, (nint)compressedFontDatabase85, sizePixels, (nint)fontCfg, (nint)glyphRanges);
#endif
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, fontCfg, glyphRanges);
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default));
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default));
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, ushort* glyphRanges)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges);
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, fontCfg, glyphRanges);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels)
{
fixed (ImFontAtlas* pself = &self)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges)
{
fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg)
{
fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels)
{
fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, ushort* glyphRanges)
{
fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges)
{
fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg)
{
fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels)
{
fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ushort* glyphRanges)
{
fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (compressedFontDatabase85 != null)
{
pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, fontCfg, glyphRanges);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (compressedFontDatabase85 != null)
{
pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, fontCfg, (ushort*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (compressedFontDatabase85 != null)
{
pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, ushort* glyphRanges)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (compressedFontDatabase85 != null)
{
pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges);
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default));
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default));
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges);
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges);
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default));
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default));
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges);
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (compressedFontDatabase85 != null)
{
pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, fontCfg, glyphRanges);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (compressedFontDatabase85 != null)
{
pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, fontCfg, (ushort*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels)
{
fixed (ImFontAtlas* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (compressedFontDatabase85 != null)
{
pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (compressedFontDatabase85 != null)
{
pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges);
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default));
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges);
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default));
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges)
{
fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges);
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg)
{
fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default));
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges)
{
fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges);
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg)
{
fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default));
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (compressedFontDatabase85 != null)
{
pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (compressedFontDatabase85 != null)
{
pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges);
return ret;
}
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default));
return ret;
}
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges);
return ret;
}
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85)
{
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default));
return ret;
}
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges)
{
fixed (ImFontAtlas* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (compressedFontDatabase85 != null)
{
pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
}
///
/// To be documented.
///
public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg)
{
fixed (ImFontAtlas* pself = &self)
{
byte* pStr0 = null;
int pStrSize0 = 0;
if (compressedFontDatabase85 != null)
{
pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
}
else
{
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
fixed (ImFontConfig* pfontCfg = &fontCfg)
{
ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
}
return ret;
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ClearInputDataNative(ImFontAtlas* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[591])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[591])((nint)self);
#endif
}
///
/// To be documented.
///
public static void ClearInputData(ImFontAtlasPtr self)
{
ClearInputDataNative(self);
}
///
/// To be documented.
///
public static void ClearInputData(ref ImFontAtlas self)
{
fixed (ImFontAtlas* pself = &self)
{
ClearInputDataNative((ImFontAtlas*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ClearTexDataNative(ImFontAtlas* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[592])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[592])((nint)self);
#endif
}
///
/// To be documented.
///
public static void ClearTexData(ImFontAtlasPtr self)
{
ClearTexDataNative(self);
}
///
/// To be documented.
///
public static void ClearTexData(ref ImFontAtlas self)
{
fixed (ImFontAtlas* pself = &self)
{
ClearTexDataNative((ImFontAtlas*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ClearFontsNative(ImFontAtlas* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[593])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[593])((nint)self);
#endif
}
///
/// To be documented.
///
public static void ClearFonts(ImFontAtlasPtr self)
{
ClearFontsNative(self);
}
///
/// To be documented.
///
public static void ClearFonts(ref ImFontAtlas self)
{
fixed (ImFontAtlas* pself = &self)
{
ClearFontsNative((ImFontAtlas*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ClearNative(ImFontAtlas* self)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[594])(self);
#else
((delegate* unmanaged[Cdecl])funcTable[594])((nint)self);
#endif
}
///
/// To be documented.
///
public static void Clear(ImFontAtlasPtr self)
{
ClearNative(self);
}
///
/// To be documented.
///
public static void Clear(ref ImFontAtlas self)
{
fixed (ImFontAtlas* pself = &self)
{
ClearNative((ImFontAtlas*)pself);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte BuildNative(ImFontAtlas* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[595])(self);
#else
return (byte)((delegate* unmanaged[Cdecl])funcTable[595])((nint)self);
#endif
}
///
/// To be documented.
///
public static bool Build(ImFontAtlasPtr self)
{
byte ret = BuildNative(self);
return ret != 0;
}
///
/// To be documented.
///
public static bool Build(ref ImFontAtlas self)
{
fixed (ImFontAtlas* pself = &self)
{
byte ret = BuildNative((ImFontAtlas*)pself);
return ret != 0;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void GetTexDataAsAlpha8Native(ImFontAtlas* self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[596])(self, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel);
#else
((delegate* unmanaged[Cdecl])funcTable[596])((nint)self, textureIndex, (nint)outPixels, (nint)outWidth, (nint)outHeight, (nint)outBytesPerPixel);
#endif
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel)
{
GetTexDataAsAlpha8Native(self, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel);
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight)
{
GetTexDataAsAlpha8Native(self, textureIndex, outPixels, outWidth, outHeight, (int*)(default));
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel);
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight)
{
fixed (ImFontAtlas* pself = &self)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, outHeight, (int*)(default));
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel)
{
fixed (byte** poutPixels = &outPixels)
{
GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel);
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight)
{
fixed (byte** poutPixels = &outPixels)
{
GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default));
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel);
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default));
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel)
{
fixed (int* poutWidth = &outWidth)
{
GetTexDataAsAlpha8Native(self, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel);
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight)
{
fixed (int* poutWidth = &outWidth)
{
GetTexDataAsAlpha8Native(self, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default));
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (int* poutWidth = &outWidth)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel);
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (int* poutWidth = &outWidth)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default));
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel);
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default));
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel);
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default));
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsAlpha8Native(self, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel);
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsAlpha8Native(self, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default));
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel);
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default));
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel);
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default));
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel);
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default));
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsAlpha8Native(self, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel);
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsAlpha8Native(self, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default));
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel);
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default));
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel);
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default));
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel);
}
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default));
}
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsAlpha8Native(self, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel);
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel);
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel);
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel);
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsAlpha8Native(self, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel);
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel);
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel);
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel);
}
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel)
{
fixed (int* poutHeight = &outHeight)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsAlpha8Native(self, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel);
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (int* poutHeight = &outHeight)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel);
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutHeight = &outHeight)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel);
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutHeight = &outHeight)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel);
}
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsAlpha8Native(self, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel);
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel);
}
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel);
}
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel);
}
}
}
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void GetTexDataAsRGBA32Native(ImFontAtlas* self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[597])(self, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel);
#else
((delegate* unmanaged[Cdecl])funcTable[597])((nint)self, textureIndex, (nint)outPixels, (nint)outWidth, (nint)outHeight, (nint)outBytesPerPixel);
#endif
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel)
{
GetTexDataAsRGBA32Native(self, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel);
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight)
{
GetTexDataAsRGBA32Native(self, textureIndex, outPixels, outWidth, outHeight, (int*)(default));
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel);
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight)
{
fixed (ImFontAtlas* pself = &self)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, outHeight, (int*)(default));
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel)
{
fixed (byte** poutPixels = &outPixels)
{
GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel);
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight)
{
fixed (byte** poutPixels = &outPixels)
{
GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default));
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel);
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default));
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel)
{
fixed (int* poutWidth = &outWidth)
{
GetTexDataAsRGBA32Native(self, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel);
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight)
{
fixed (int* poutWidth = &outWidth)
{
GetTexDataAsRGBA32Native(self, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default));
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (int* poutWidth = &outWidth)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel);
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (int* poutWidth = &outWidth)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default));
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel);
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default));
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel);
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default));
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsRGBA32Native(self, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel);
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsRGBA32Native(self, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default));
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel);
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default));
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel);
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default));
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel);
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default));
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsRGBA32Native(self, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel);
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsRGBA32Native(self, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default));
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel);
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default));
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel);
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default));
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel);
}
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default));
}
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsRGBA32Native(self, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel);
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel);
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel);
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel);
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsRGBA32Native(self, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel);
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel);
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel);
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel);
}
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel)
{
fixed (int* poutHeight = &outHeight)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsRGBA32Native(self, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel);
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (int* poutHeight = &outHeight)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel);
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutHeight = &outHeight)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel);
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutHeight = &outHeight)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel);
}
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsRGBA32Native(self, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel);
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel);
}
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel);
}
}
}
}
}
///
/// To be documented.
///
public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (byte** poutPixels = &outPixels)
{
fixed (int* poutWidth = &outWidth)
{
fixed (int* poutHeight = &outHeight)
{
fixed (int* poutBytesPerPixel = &outBytesPerPixel)
{
GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel);
}
}
}
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte IsBuiltNative(ImFontAtlas* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[598])(self);
#else
return (byte)((delegate* unmanaged[Cdecl])funcTable[598])((nint)self);
#endif
}
///
/// To be documented.
///
public static bool IsBuilt(ImFontAtlasPtr self)
{
byte ret = IsBuiltNative(self);
return ret != 0;
}
///
/// To be documented.
///
public static bool IsBuilt(ref ImFontAtlas self)
{
fixed (ImFontAtlas* pself = &self)
{
byte ret = IsBuiltNative((ImFontAtlas*)pself);
return ret != 0;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void SetTexIDNative(ImFontAtlas* self, int textureIndex, ImTextureID id)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[599])(self, textureIndex, id);
#else
((delegate* unmanaged[Cdecl])funcTable[599])((nint)self, textureIndex, id);
#endif
}
///
/// To be documented.
///
public static void SetTexID(ImFontAtlasPtr self, int textureIndex, ImTextureID id)
{
SetTexIDNative(self, textureIndex, id);
}
///
/// To be documented.
///
public static void SetTexID(ref ImFontAtlas self, int textureIndex, ImTextureID id)
{
fixed (ImFontAtlas* pself = &self)
{
SetTexIDNative((ImFontAtlas*)pself, textureIndex, id);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ClearTexIDNative(ImFontAtlas* self, ImTextureID nullId)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[600])(self, nullId);
#else
((delegate* unmanaged[Cdecl])funcTable[600])((nint)self, nullId);
#endif
}
///
/// To be documented.
///
public static void ClearTexID(ImFontAtlasPtr self, ImTextureID nullId)
{
ClearTexIDNative(self, nullId);
}
///
/// To be documented.
///
public static void ClearTexID(ref ImFontAtlas self, ImTextureID nullId)
{
fixed (ImFontAtlas* pself = &self)
{
ClearTexIDNative((ImFontAtlas*)pself, nullId);
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ushort* GetGlyphRangesDefaultNative(ImFontAtlas* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[601])(self);
#else
return (ushort*)((delegate* unmanaged[Cdecl])funcTable[601])((nint)self);
#endif
}
///
/// To be documented.
///
public static ushort* GetGlyphRangesDefault(ImFontAtlasPtr self)
{
ushort* ret = GetGlyphRangesDefaultNative(self);
return ret;
}
///
/// To be documented.
///
public static ushort* GetGlyphRangesDefault(ref ImFontAtlas self)
{
fixed (ImFontAtlas* pself = &self)
{
ushort* ret = GetGlyphRangesDefaultNative((ImFontAtlas*)pself);
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ushort* GetGlyphRangesKoreanNative(ImFontAtlas* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[602])(self);
#else
return (ushort*)((delegate* unmanaged[Cdecl])funcTable[602])((nint)self);
#endif
}
///
/// To be documented.
///
public static ushort* GetGlyphRangesKorean(ImFontAtlasPtr self)
{
ushort* ret = GetGlyphRangesKoreanNative(self);
return ret;
}
///
/// To be documented.
///
public static ushort* GetGlyphRangesKorean(ref ImFontAtlas self)
{
fixed (ImFontAtlas* pself = &self)
{
ushort* ret = GetGlyphRangesKoreanNative((ImFontAtlas*)pself);
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ushort* GetGlyphRangesJapaneseNative(ImFontAtlas* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[603])(self);
#else
return (ushort*)((delegate* unmanaged[Cdecl])funcTable[603])((nint)self);
#endif
}
///
/// To be documented.
///
public static ushort* GetGlyphRangesJapanese(ImFontAtlasPtr self)
{
ushort* ret = GetGlyphRangesJapaneseNative(self);
return ret;
}
///
/// To be documented.
///
public static ushort* GetGlyphRangesJapanese(ref ImFontAtlas self)
{
fixed (ImFontAtlas* pself = &self)
{
ushort* ret = GetGlyphRangesJapaneseNative((ImFontAtlas*)pself);
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ushort* GetGlyphRangesChineseFullNative(ImFontAtlas* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[604])(self);
#else
return (ushort*)((delegate* unmanaged[Cdecl])funcTable[604])((nint)self);
#endif
}
///
/// To be documented.
///
public static ushort* GetGlyphRangesChineseFull(ImFontAtlasPtr self)
{
ushort* ret = GetGlyphRangesChineseFullNative(self);
return ret;
}
///
/// To be documented.
///
public static ushort* GetGlyphRangesChineseFull(ref ImFontAtlas self)
{
fixed (ImFontAtlas* pself = &self)
{
ushort* ret = GetGlyphRangesChineseFullNative((ImFontAtlas*)pself);
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ushort* GetGlyphRangesChineseSimplifiedCommonNative(ImFontAtlas* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[605])(self);
#else
return (ushort*)((delegate* unmanaged[Cdecl])funcTable[605])((nint)self);
#endif
}
///
/// To be documented.
///
public static ushort* GetGlyphRangesChineseSimplifiedCommon(ImFontAtlasPtr self)
{
ushort* ret = GetGlyphRangesChineseSimplifiedCommonNative(self);
return ret;
}
///
/// To be documented.
///
public static ushort* GetGlyphRangesChineseSimplifiedCommon(ref ImFontAtlas self)
{
fixed (ImFontAtlas* pself = &self)
{
ushort* ret = GetGlyphRangesChineseSimplifiedCommonNative((ImFontAtlas*)pself);
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ushort* GetGlyphRangesCyrillicNative(ImFontAtlas* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[606])(self);
#else
return (ushort*)((delegate* unmanaged[Cdecl])funcTable[606])((nint)self);
#endif
}
///
/// To be documented.
///
public static ushort* GetGlyphRangesCyrillic(ImFontAtlasPtr self)
{
ushort* ret = GetGlyphRangesCyrillicNative(self);
return ret;
}
///
/// To be documented.
///
public static ushort* GetGlyphRangesCyrillic(ref ImFontAtlas self)
{
fixed (ImFontAtlas* pself = &self)
{
ushort* ret = GetGlyphRangesCyrillicNative((ImFontAtlas*)pself);
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ushort* GetGlyphRangesThaiNative(ImFontAtlas* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[607])(self);
#else
return (ushort*)((delegate* unmanaged[Cdecl])funcTable[607])((nint)self);
#endif
}
///
/// To be documented.
///
public static ushort* GetGlyphRangesThai(ImFontAtlasPtr self)
{
ushort* ret = GetGlyphRangesThaiNative(self);
return ret;
}
///
/// To be documented.
///
public static ushort* GetGlyphRangesThai(ref ImFontAtlas self)
{
fixed (ImFontAtlas* pself = &self)
{
ushort* ret = GetGlyphRangesThaiNative((ImFontAtlas*)pself);
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ushort* GetGlyphRangesVietnameseNative(ImFontAtlas* self)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[608])(self);
#else
return (ushort*)((delegate* unmanaged[Cdecl])funcTable[608])((nint)self);
#endif
}
///
/// To be documented.
///
public static ushort* GetGlyphRangesVietnamese(ImFontAtlasPtr self)
{
ushort* ret = GetGlyphRangesVietnameseNative(self);
return ret;
}
///
/// To be documented.
///
public static ushort* GetGlyphRangesVietnamese(ref ImFontAtlas self)
{
fixed (ImFontAtlas* pself = &self)
{
ushort* ret = GetGlyphRangesVietnameseNative((ImFontAtlas*)pself);
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static int AddCustomRectRegularNative(ImFontAtlas* self, int width, int height)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[609])(self, width, height);
#else
return (int)((delegate* unmanaged[Cdecl])funcTable[609])((nint)self, width, height);
#endif
}
///
/// To be documented.
///
public static int AddCustomRectRegular(ImFontAtlasPtr self, int width, int height)
{
int ret = AddCustomRectRegularNative(self, width, height);
return ret;
}
///
/// To be documented.
///
public static int AddCustomRectRegular(ref ImFontAtlas self, int width, int height)
{
fixed (ImFontAtlas* pself = &self)
{
int ret = AddCustomRectRegularNative((ImFontAtlas*)pself, width, height);
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static int AddCustomRectFontGlyphNative(ImFontAtlas* self, ImFont* font, ushort id, int width, int height, float advanceX, Vector2 offset)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[610])(self, font, id, width, height, advanceX, offset);
#else
return (int)((delegate* unmanaged[Cdecl])funcTable[610])((nint)self, (nint)font, id, width, height, advanceX, offset);
#endif
}
///
/// To be documented.
///
public static int AddCustomRectFontGlyph(ImFontAtlasPtr self, ImFontPtr font, ushort id, int width, int height, float advanceX, Vector2 offset)
{
int ret = AddCustomRectFontGlyphNative(self, font, id, width, height, advanceX, offset);
return ret;
}
///
/// To be documented.
///
public static int AddCustomRectFontGlyph(ImFontAtlasPtr self, ImFontPtr font, ushort id, int width, int height, float advanceX)
{
int ret = AddCustomRectFontGlyphNative(self, font, id, width, height, advanceX, (Vector2)(new Vector2(0,0)));
return ret;
}
///
/// To be documented.
///
public static int AddCustomRectFontGlyph(ref ImFontAtlas self, ImFontPtr font, ushort id, int width, int height, float advanceX, Vector2 offset)
{
fixed (ImFontAtlas* pself = &self)
{
int ret = AddCustomRectFontGlyphNative((ImFontAtlas*)pself, font, id, width, height, advanceX, offset);
return ret;
}
}
///
/// To be documented.
///
public static int AddCustomRectFontGlyph(ref ImFontAtlas self, ImFontPtr font, ushort id, int width, int height, float advanceX)
{
fixed (ImFontAtlas* pself = &self)
{
int ret = AddCustomRectFontGlyphNative((ImFontAtlas*)pself, font, id, width, height, advanceX, (Vector2)(new Vector2(0,0)));
return ret;
}
}
///
/// To be documented.
///
public static int AddCustomRectFontGlyph(ImFontAtlasPtr self, ref ImFont font, ushort id, int width, int height, float advanceX, Vector2 offset)
{
fixed (ImFont* pfont = &font)
{
int ret = AddCustomRectFontGlyphNative(self, (ImFont*)pfont, id, width, height, advanceX, offset);
return ret;
}
}
///
/// To be documented.
///
public static int AddCustomRectFontGlyph(ImFontAtlasPtr self, ref ImFont font, ushort id, int width, int height, float advanceX)
{
fixed (ImFont* pfont = &font)
{
int ret = AddCustomRectFontGlyphNative(self, (ImFont*)pfont, id, width, height, advanceX, (Vector2)(new Vector2(0,0)));
return ret;
}
}
///
/// To be documented.
///
public static int AddCustomRectFontGlyph(ref ImFontAtlas self, ref ImFont font, ushort id, int width, int height, float advanceX, Vector2 offset)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (ImFont* pfont = &font)
{
int ret = AddCustomRectFontGlyphNative((ImFontAtlas*)pself, (ImFont*)pfont, id, width, height, advanceX, offset);
return ret;
}
}
}
///
/// To be documented.
///
public static int AddCustomRectFontGlyph(ref ImFontAtlas self, ref ImFont font, ushort id, int width, int height, float advanceX)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (ImFont* pfont = &font)
{
int ret = AddCustomRectFontGlyphNative((ImFontAtlas*)pself, (ImFont*)pfont, id, width, height, advanceX, (Vector2)(new Vector2(0,0)));
return ret;
}
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static ImFontAtlasCustomRect* GetCustomRectByIndexNative(ImFontAtlas* self, int index)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl])funcTable[611])(self, index);
#else
return (ImFontAtlasCustomRect*)((delegate* unmanaged[Cdecl])funcTable[611])((nint)self, index);
#endif
}
///
/// To be documented.
///
public static ImFontAtlasCustomRectPtr GetCustomRectByIndex(ImFontAtlasPtr self, int index)
{
ImFontAtlasCustomRectPtr ret = GetCustomRectByIndexNative(self, index);
return ret;
}
///
/// To be documented.
///
public static ImFontAtlasCustomRectPtr GetCustomRectByIndex(ref ImFontAtlas self, int index)
{
fixed (ImFontAtlas* pself = &self)
{
ImFontAtlasCustomRectPtr ret = GetCustomRectByIndexNative((ImFontAtlas*)pself, index);
return ret;
}
}
///
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void CalcCustomRectUVNative(ImFontAtlas* self, ImFontAtlasCustomRect* rect, Vector2* outUvMin, Vector2* outUvMax)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl])funcTable[612])(self, rect, outUvMin, outUvMax);
#else
((delegate* unmanaged[Cdecl])funcTable[612])((nint)self, (nint)rect, (nint)outUvMin, (nint)outUvMax);
#endif
}
///
/// To be documented.
///
public static void CalcCustomRectUV(ImFontAtlasPtr self, ImFontAtlasCustomRectPtr rect, Vector2* outUvMin, Vector2* outUvMax)
{
CalcCustomRectUVNative(self, rect, outUvMin, outUvMax);
}
///
/// To be documented.
///
public static void CalcCustomRectUV(ref ImFontAtlas self, ImFontAtlasCustomRectPtr rect, Vector2* outUvMin, Vector2* outUvMax)
{
fixed (ImFontAtlas* pself = &self)
{
CalcCustomRectUVNative((ImFontAtlas*)pself, rect, outUvMin, outUvMax);
}
}
///
/// To be documented.
///
public static void CalcCustomRectUV(ImFontAtlasPtr self, ref ImFontAtlasCustomRect rect, Vector2* outUvMin, Vector2* outUvMax)
{
fixed (ImFontAtlasCustomRect* prect = &rect)
{
CalcCustomRectUVNative(self, (ImFontAtlasCustomRect*)prect, outUvMin, outUvMax);
}
}
///
/// To be documented.
///
public static void CalcCustomRectUV(ref ImFontAtlas self, ref ImFontAtlasCustomRect rect, Vector2* outUvMin, Vector2* outUvMax)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (ImFontAtlasCustomRect* prect = &rect)
{
CalcCustomRectUVNative((ImFontAtlas*)pself, (ImFontAtlasCustomRect*)prect, outUvMin, outUvMax);
}
}
}
///
/// To be documented.
///
public static void CalcCustomRectUV(ImFontAtlasPtr self, ImFontAtlasCustomRectPtr rect, ref Vector2 outUvMin, Vector2* outUvMax)
{
fixed (Vector2* poutUvMin = &outUvMin)
{
CalcCustomRectUVNative(self, rect, (Vector2*)poutUvMin, outUvMax);
}
}
///
/// To be documented.
///
public static void CalcCustomRectUV(ref ImFontAtlas self, ImFontAtlasCustomRectPtr rect, ref Vector2 outUvMin, Vector2* outUvMax)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (Vector2* poutUvMin = &outUvMin)
{
CalcCustomRectUVNative((ImFontAtlas*)pself, rect, (Vector2*)poutUvMin, outUvMax);
}
}
}
///
/// To be documented.
///
public static void CalcCustomRectUV(ImFontAtlasPtr self, ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, Vector2* outUvMax)
{
fixed (ImFontAtlasCustomRect* prect = &rect)
{
fixed (Vector2* poutUvMin = &outUvMin)
{
CalcCustomRectUVNative(self, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, outUvMax);
}
}
}
///
/// To be documented.
///
public static void CalcCustomRectUV(ref ImFontAtlas self, ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, Vector2* outUvMax)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (ImFontAtlasCustomRect* prect = &rect)
{
fixed (Vector2* poutUvMin = &outUvMin)
{
CalcCustomRectUVNative((ImFontAtlas*)pself, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, outUvMax);
}
}
}
}
///
/// To be documented.
///
public static void CalcCustomRectUV(ImFontAtlasPtr self, ImFontAtlasCustomRectPtr rect, Vector2* outUvMin, ref Vector2 outUvMax)
{
fixed (Vector2* poutUvMax = &outUvMax)
{
CalcCustomRectUVNative(self, rect, outUvMin, (Vector2*)poutUvMax);
}
}
///
/// To be documented.
///
public static void CalcCustomRectUV(ref ImFontAtlas self, ImFontAtlasCustomRectPtr rect, Vector2* outUvMin, ref Vector2 outUvMax)
{
fixed (ImFontAtlas* pself = &self)
{
fixed (Vector2* poutUvMax = &outUvMax)
{
CalcCustomRectUVNative((ImFontAtlas*)pself, rect, outUvMin, (Vector2*)poutUvMax);
}
}
}
}
}