// ------------------------------------------------------------------------------ // // 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.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using HexaGen.Runtime; using System.Numerics; namespace Dalamud.Bindings.ImGui { /// /// To be documented. /// [StructLayout(LayoutKind.Sequential)] public partial struct ImFontAtlas { /// /// To be documented. /// public ImFontAtlasFlags Flags; /// /// To be documented. /// public ImVector Textures; /// /// To be documented. /// public int TexDesiredWidth; /// /// To be documented. /// public int TexDesiredHeight; /// /// To be documented. /// public int TexGlyphPadding; /// /// To be documented. /// public byte Locked; /// /// To be documented. /// public byte TexReady; /// /// To be documented. /// public byte TexPixelsUseColors; /// /// To be documented. /// public int TexWidth; /// /// To be documented. /// public int TexHeight; /// /// To be documented. /// public Vector2 TexUvScale; /// /// To be documented. /// public Vector2 TexUvWhitePixel; /// /// To be documented. /// public ImVector Fonts; /// /// To be documented. /// public ImVector CustomRects; /// /// To be documented. /// public ImVector ConfigData; /// /// To be documented. /// public Vector4 TexUvLines_0; public Vector4 TexUvLines_1; public Vector4 TexUvLines_2; public Vector4 TexUvLines_3; public Vector4 TexUvLines_4; public Vector4 TexUvLines_5; public Vector4 TexUvLines_6; public Vector4 TexUvLines_7; public Vector4 TexUvLines_8; public Vector4 TexUvLines_9; public Vector4 TexUvLines_10; public Vector4 TexUvLines_11; public Vector4 TexUvLines_12; public Vector4 TexUvLines_13; public Vector4 TexUvLines_14; public Vector4 TexUvLines_15; public Vector4 TexUvLines_16; public Vector4 TexUvLines_17; public Vector4 TexUvLines_18; public Vector4 TexUvLines_19; public Vector4 TexUvLines_20; public Vector4 TexUvLines_21; public Vector4 TexUvLines_22; public Vector4 TexUvLines_23; public Vector4 TexUvLines_24; public Vector4 TexUvLines_25; public Vector4 TexUvLines_26; public Vector4 TexUvLines_27; public Vector4 TexUvLines_28; public Vector4 TexUvLines_29; public Vector4 TexUvLines_30; public Vector4 TexUvLines_31; public Vector4 TexUvLines_32; public Vector4 TexUvLines_33; public Vector4 TexUvLines_34; public Vector4 TexUvLines_35; public Vector4 TexUvLines_36; public Vector4 TexUvLines_37; public Vector4 TexUvLines_38; public Vector4 TexUvLines_39; public Vector4 TexUvLines_40; public Vector4 TexUvLines_41; public Vector4 TexUvLines_42; public Vector4 TexUvLines_43; public Vector4 TexUvLines_44; public Vector4 TexUvLines_45; public Vector4 TexUvLines_46; public Vector4 TexUvLines_47; public Vector4 TexUvLines_48; public Vector4 TexUvLines_49; public Vector4 TexUvLines_50; public Vector4 TexUvLines_51; public Vector4 TexUvLines_52; public Vector4 TexUvLines_53; public Vector4 TexUvLines_54; public Vector4 TexUvLines_55; public Vector4 TexUvLines_56; public Vector4 TexUvLines_57; public Vector4 TexUvLines_58; public Vector4 TexUvLines_59; public Vector4 TexUvLines_60; public Vector4 TexUvLines_61; public Vector4 TexUvLines_62; public Vector4 TexUvLines_63; /// /// To be documented. /// public unsafe ImFontBuilderIO* FontBuilderIO; /// /// To be documented. /// public uint FontBuilderFlags; /// /// To be documented. /// public int TextureIndexCommon; /// /// To be documented. /// public int PackIdCommon; /// /// To be documented. /// public ImFontAtlasCustomRect RectMouseCursors; /// /// To be documented. /// public ImFontAtlasCustomRect RectLines; /// /// To be documented. /// public unsafe ImFontAtlas(ImFontAtlasFlags flags = default, ImVector textures = default, int texDesiredWidth = default, int texDesiredHeight = default, int texGlyphPadding = default, bool locked = default, bool texReady = default, bool texPixelsUseColors = default, int texWidth = default, int texHeight = default, Vector2 texUvScale = default, Vector2 texUvWhitePixel = default, ImVector fonts = default, ImVector customRects = default, ImVector configData = default, Vector4* texUvLines = default, ImFontBuilderIO* fontBuilderIo = default, uint fontBuilderFlags = default, int textureIndexCommon = default, int packIdCommon = default, ImFontAtlasCustomRect rectMouseCursors = default, ImFontAtlasCustomRect rectLines = default) { Flags = flags; Textures = textures; TexDesiredWidth = texDesiredWidth; TexDesiredHeight = texDesiredHeight; TexGlyphPadding = texGlyphPadding; Locked = locked ? (byte)1 : (byte)0; TexReady = texReady ? (byte)1 : (byte)0; TexPixelsUseColors = texPixelsUseColors ? (byte)1 : (byte)0; TexWidth = texWidth; TexHeight = texHeight; TexUvScale = texUvScale; TexUvWhitePixel = texUvWhitePixel; Fonts = fonts; CustomRects = customRects; ConfigData = configData; if (texUvLines != default(Vector4*)) { TexUvLines_0 = texUvLines[0]; TexUvLines_1 = texUvLines[1]; TexUvLines_2 = texUvLines[2]; TexUvLines_3 = texUvLines[3]; TexUvLines_4 = texUvLines[4]; TexUvLines_5 = texUvLines[5]; TexUvLines_6 = texUvLines[6]; TexUvLines_7 = texUvLines[7]; TexUvLines_8 = texUvLines[8]; TexUvLines_9 = texUvLines[9]; TexUvLines_10 = texUvLines[10]; TexUvLines_11 = texUvLines[11]; TexUvLines_12 = texUvLines[12]; TexUvLines_13 = texUvLines[13]; TexUvLines_14 = texUvLines[14]; TexUvLines_15 = texUvLines[15]; TexUvLines_16 = texUvLines[16]; TexUvLines_17 = texUvLines[17]; TexUvLines_18 = texUvLines[18]; TexUvLines_19 = texUvLines[19]; TexUvLines_20 = texUvLines[20]; TexUvLines_21 = texUvLines[21]; TexUvLines_22 = texUvLines[22]; TexUvLines_23 = texUvLines[23]; TexUvLines_24 = texUvLines[24]; TexUvLines_25 = texUvLines[25]; TexUvLines_26 = texUvLines[26]; TexUvLines_27 = texUvLines[27]; TexUvLines_28 = texUvLines[28]; TexUvLines_29 = texUvLines[29]; TexUvLines_30 = texUvLines[30]; TexUvLines_31 = texUvLines[31]; TexUvLines_32 = texUvLines[32]; TexUvLines_33 = texUvLines[33]; TexUvLines_34 = texUvLines[34]; TexUvLines_35 = texUvLines[35]; TexUvLines_36 = texUvLines[36]; TexUvLines_37 = texUvLines[37]; TexUvLines_38 = texUvLines[38]; TexUvLines_39 = texUvLines[39]; TexUvLines_40 = texUvLines[40]; TexUvLines_41 = texUvLines[41]; TexUvLines_42 = texUvLines[42]; TexUvLines_43 = texUvLines[43]; TexUvLines_44 = texUvLines[44]; TexUvLines_45 = texUvLines[45]; TexUvLines_46 = texUvLines[46]; TexUvLines_47 = texUvLines[47]; TexUvLines_48 = texUvLines[48]; TexUvLines_49 = texUvLines[49]; TexUvLines_50 = texUvLines[50]; TexUvLines_51 = texUvLines[51]; TexUvLines_52 = texUvLines[52]; TexUvLines_53 = texUvLines[53]; TexUvLines_54 = texUvLines[54]; TexUvLines_55 = texUvLines[55]; TexUvLines_56 = texUvLines[56]; TexUvLines_57 = texUvLines[57]; TexUvLines_58 = texUvLines[58]; TexUvLines_59 = texUvLines[59]; TexUvLines_60 = texUvLines[60]; TexUvLines_61 = texUvLines[61]; TexUvLines_62 = texUvLines[62]; TexUvLines_63 = texUvLines[63]; } FontBuilderIO = fontBuilderIo; FontBuilderFlags = fontBuilderFlags; TextureIndexCommon = textureIndexCommon; PackIdCommon = packIdCommon; RectMouseCursors = rectMouseCursors; RectLines = rectLines; } /// /// To be documented. /// public unsafe ImFontAtlas(ImFontAtlasFlags flags = default, ImVector textures = default, int texDesiredWidth = default, int texDesiredHeight = default, int texGlyphPadding = default, bool locked = default, bool texReady = default, bool texPixelsUseColors = default, int texWidth = default, int texHeight = default, Vector2 texUvScale = default, Vector2 texUvWhitePixel = default, ImVector fonts = default, ImVector customRects = default, ImVector configData = default, Span texUvLines = default, ImFontBuilderIO* fontBuilderIo = default, uint fontBuilderFlags = default, int textureIndexCommon = default, int packIdCommon = default, ImFontAtlasCustomRect rectMouseCursors = default, ImFontAtlasCustomRect rectLines = default) { Flags = flags; Textures = textures; TexDesiredWidth = texDesiredWidth; TexDesiredHeight = texDesiredHeight; TexGlyphPadding = texGlyphPadding; Locked = locked ? (byte)1 : (byte)0; TexReady = texReady ? (byte)1 : (byte)0; TexPixelsUseColors = texPixelsUseColors ? (byte)1 : (byte)0; TexWidth = texWidth; TexHeight = texHeight; TexUvScale = texUvScale; TexUvWhitePixel = texUvWhitePixel; Fonts = fonts; CustomRects = customRects; ConfigData = configData; if (texUvLines != default(Span)) { TexUvLines_0 = texUvLines[0]; TexUvLines_1 = texUvLines[1]; TexUvLines_2 = texUvLines[2]; TexUvLines_3 = texUvLines[3]; TexUvLines_4 = texUvLines[4]; TexUvLines_5 = texUvLines[5]; TexUvLines_6 = texUvLines[6]; TexUvLines_7 = texUvLines[7]; TexUvLines_8 = texUvLines[8]; TexUvLines_9 = texUvLines[9]; TexUvLines_10 = texUvLines[10]; TexUvLines_11 = texUvLines[11]; TexUvLines_12 = texUvLines[12]; TexUvLines_13 = texUvLines[13]; TexUvLines_14 = texUvLines[14]; TexUvLines_15 = texUvLines[15]; TexUvLines_16 = texUvLines[16]; TexUvLines_17 = texUvLines[17]; TexUvLines_18 = texUvLines[18]; TexUvLines_19 = texUvLines[19]; TexUvLines_20 = texUvLines[20]; TexUvLines_21 = texUvLines[21]; TexUvLines_22 = texUvLines[22]; TexUvLines_23 = texUvLines[23]; TexUvLines_24 = texUvLines[24]; TexUvLines_25 = texUvLines[25]; TexUvLines_26 = texUvLines[26]; TexUvLines_27 = texUvLines[27]; TexUvLines_28 = texUvLines[28]; TexUvLines_29 = texUvLines[29]; TexUvLines_30 = texUvLines[30]; TexUvLines_31 = texUvLines[31]; TexUvLines_32 = texUvLines[32]; TexUvLines_33 = texUvLines[33]; TexUvLines_34 = texUvLines[34]; TexUvLines_35 = texUvLines[35]; TexUvLines_36 = texUvLines[36]; TexUvLines_37 = texUvLines[37]; TexUvLines_38 = texUvLines[38]; TexUvLines_39 = texUvLines[39]; TexUvLines_40 = texUvLines[40]; TexUvLines_41 = texUvLines[41]; TexUvLines_42 = texUvLines[42]; TexUvLines_43 = texUvLines[43]; TexUvLines_44 = texUvLines[44]; TexUvLines_45 = texUvLines[45]; TexUvLines_46 = texUvLines[46]; TexUvLines_47 = texUvLines[47]; TexUvLines_48 = texUvLines[48]; TexUvLines_49 = texUvLines[49]; TexUvLines_50 = texUvLines[50]; TexUvLines_51 = texUvLines[51]; TexUvLines_52 = texUvLines[52]; TexUvLines_53 = texUvLines[53]; TexUvLines_54 = texUvLines[54]; TexUvLines_55 = texUvLines[55]; TexUvLines_56 = texUvLines[56]; TexUvLines_57 = texUvLines[57]; TexUvLines_58 = texUvLines[58]; TexUvLines_59 = texUvLines[59]; TexUvLines_60 = texUvLines[60]; TexUvLines_61 = texUvLines[61]; TexUvLines_62 = texUvLines[62]; TexUvLines_63 = texUvLines[63]; } FontBuilderIO = fontBuilderIo; FontBuilderFlags = fontBuilderFlags; TextureIndexCommon = textureIndexCommon; PackIdCommon = packIdCommon; RectMouseCursors = rectMouseCursors; RectLines = rectLines; } /// /// To be documented. /// public unsafe Span TexUvLines { get { fixed (Vector4* p = &this.TexUvLines_0) { return new Span(p, 64); } } } /// /// To be documented. /// public unsafe int AddCustomRectFontGlyph(ImFontPtr font, ushort id, int width, int height, float advanceX, Vector2 offset) { fixed (ImFontAtlas* @this = &this) { int ret = ImGui.AddCustomRectFontGlyphNative(@this, font, id, width, height, advanceX, offset); return ret; } } /// /// To be documented. /// public unsafe int AddCustomRectFontGlyph(ImFontPtr font, ushort id, int width, int height, float advanceX) { fixed (ImFontAtlas* @this = &this) { int ret = ImGui.AddCustomRectFontGlyphNative(@this, font, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); return ret; } } /// /// To be documented. /// public unsafe int AddCustomRectFontGlyph(ref ImFont font, ushort id, int width, int height, float advanceX, Vector2 offset) { fixed (ImFontAtlas* @this = &this) { fixed (ImFont* pfont = &font) { int ret = ImGui.AddCustomRectFontGlyphNative(@this, (ImFont*)pfont, id, width, height, advanceX, offset); return ret; } } } /// /// To be documented. /// public unsafe int AddCustomRectFontGlyph(ref ImFont font, ushort id, int width, int height, float advanceX) { fixed (ImFontAtlas* @this = &this) { fixed (ImFont* pfont = &font) { int ret = ImGui.AddCustomRectFontGlyphNative(@this, (ImFont*)pfont, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); return ret; } } } /// /// To be documented. /// public unsafe int AddCustomRectRegular(int width, int height) { fixed (ImFontAtlas* @this = &this) { int ret = ImGui.AddCustomRectRegularNative(@this, width, height); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFont(ImFontConfig* fontCfg) { fixed (ImFontAtlas* @this = &this) { ImFontPtr ret = ImGui.AddFontNative(@this, fontCfg); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFont(ref ImFontConfig fontCfg) { fixed (ImFontAtlas* @this = &this) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontNative(@this, (ImFontConfig*)pfontCfg); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontDefault(ImFontConfig* fontCfg) { fixed (ImFontAtlas* @this = &this) { ImFontPtr ret = ImGui.AddFontDefaultNative(@this, fontCfg); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontDefault() { fixed (ImFontAtlas* @this = &this) { ImFontPtr ret = ImGui.AddFontDefaultNative(@this, (ImFontConfig*)(default)); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontDefault(ref ImFontConfig fontCfg) { fixed (ImFontAtlas* @this = &this) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontDefaultNative(@this, (ImFontConfig*)pfontCfg); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, fontCfg, glyphRanges); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ImFontConfig* fontCfg) { fixed (ImFontAtlas* @this = &this) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, fontCfg, (ushort*)(default)); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels) { fixed (ImFontAtlas* @this = &this) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, (ImFontConfig*)(default), glyphRanges); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pfilename = &filename) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, fontCfg, glyphRanges); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ImFontConfig* fontCfg) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pfilename = &filename) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, fontCfg, (ushort*)(default)); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pfilename = &filename) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pfilename = &filename) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pfilename = filename) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, fontCfg, glyphRanges); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ImFontConfig* fontCfg) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pfilename = filename) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, fontCfg, (ushort*)(default)); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pfilename = filename) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pfilename = filename) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { 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 = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, fontCfg, glyphRanges); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ImFontConfig* fontCfg) { fixed (ImFontAtlas* @this = &this) { 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 = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, fontCfg, (ushort*)(default)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels) { fixed (ImFontAtlas* @this = &this) { 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 = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { 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 = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ref ImFontConfig fontCfg) { fixed (ImFontAtlas* @this = &this) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pfilename = &filename) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); return ret; } } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ref ImFontConfig fontCfg) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pfilename = &filename) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); return ret; } } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pfilename = filename) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); return ret; } } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pfilename = filename) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); return ret; } } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { 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 = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ref ImFontConfig fontCfg) { fixed (ImFontAtlas* @this = &this) { 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 = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, fontCfg, glyphRanges); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) { fixed (ImFontAtlas* @this = &this) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default)); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels) { fixed (ImFontAtlas* @this = &this) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default)); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default)); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { 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 = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, fontCfg, glyphRanges); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) { fixed (ImFontAtlas* @this = &this) { 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 = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, fontCfg, (ushort*)(default)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels) { fixed (ImFontAtlas* @this = &this) { 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 = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { 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 = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) { fixed (ImFontAtlas* @this = &this) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); return ret; } } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); return ret; } } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); return ret; } } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) { fixed (ImFontAtlas* @this = &this) { fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); return ret; } } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { 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 = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) { fixed (ImFontAtlas* @this = &this) { 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 = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontSize, sizePixels, fontCfg, glyphRanges); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfig* fontCfg) { fixed (ImFontAtlas* @this = &this) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontSize, sizePixels, fontCfg, (ushort*)(default)); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels) { fixed (ImFontAtlas* @this = &this) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)(default), glyphRanges); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ref ImFontConfig fontCfg) { fixed (ImFontAtlas* @this = &this) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontSize, sizePixels, fontCfg, glyphRanges); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ImFontConfig* fontCfg) { fixed (ImFontAtlas* @this = &this) { ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontSize, sizePixels, fontCfg, (ushort*)(default)); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels) { fixed (ImFontAtlas* @this = &this) { ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontSize, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontSize, sizePixels, (ImFontConfig*)(default), glyphRanges); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) { fixed (ImFontAtlas* @this = &this) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ref ImFontConfig fontCfg) { fixed (ImFontAtlas* @this = &this) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); return ret; } } } /// /// To be documented. /// public unsafe bool Build() { fixed (ImFontAtlas* @this = &this) { byte ret = ImGui.BuildNative(@this); return ret != 0; } } /// /// To be documented. /// public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, Vector2* outUvMin, Vector2* outUvMax) { fixed (ImFontAtlas* @this = &this) { ImGui.CalcCustomRectUVNative(@this, rect, outUvMin, outUvMax); } } /// /// To be documented. /// public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, Vector2* outUvMin, Vector2* outUvMax) { fixed (ImFontAtlas* @this = &this) { fixed (ImFontAtlasCustomRect* prect = &rect) { ImGui.CalcCustomRectUVNative(@this, (ImFontAtlasCustomRect*)prect, outUvMin, outUvMax); } } } /// /// To be documented. /// public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, ref Vector2 outUvMin, Vector2* outUvMax) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutUvMin = &outUvMin) { ImGui.CalcCustomRectUVNative(@this, rect, (Vector2*)poutUvMin, outUvMax); } } } /// /// To be documented. /// public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, Vector2* outUvMax) { fixed (ImFontAtlas* @this = &this) { fixed (ImFontAtlasCustomRect* prect = &rect) { fixed (Vector2* poutUvMin = &outUvMin) { ImGui.CalcCustomRectUVNative(@this, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, outUvMax); } } } } /// /// To be documented. /// public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, Vector2* outUvMin, ref Vector2 outUvMax) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutUvMax = &outUvMax) { ImGui.CalcCustomRectUVNative(@this, rect, outUvMin, (Vector2*)poutUvMax); } } } /// /// To be documented. /// public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, Vector2* outUvMin, ref Vector2 outUvMax) { fixed (ImFontAtlas* @this = &this) { fixed (ImFontAtlasCustomRect* prect = &rect) { fixed (Vector2* poutUvMax = &outUvMax) { ImGui.CalcCustomRectUVNative(@this, (ImFontAtlasCustomRect*)prect, outUvMin, (Vector2*)poutUvMax); } } } } /// /// To be documented. /// public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, ref Vector2 outUvMin, ref Vector2 outUvMax) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutUvMin = &outUvMin) { fixed (Vector2* poutUvMax = &outUvMax) { ImGui.CalcCustomRectUVNative(@this, rect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); } } } } /// /// To be documented. /// public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, ref Vector2 outUvMax) { fixed (ImFontAtlas* @this = &this) { fixed (ImFontAtlasCustomRect* prect = &rect) { fixed (Vector2* poutUvMin = &outUvMin) { fixed (Vector2* poutUvMax = &outUvMax) { ImGui.CalcCustomRectUVNative(@this, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); } } } } } /// /// To be documented. /// public unsafe void Clear() { fixed (ImFontAtlas* @this = &this) { ImGui.ClearNative(@this); } } /// /// To be documented. /// public unsafe void ClearFonts() { fixed (ImFontAtlas* @this = &this) { ImGui.ClearFontsNative(@this); } } /// /// To be documented. /// public unsafe void ClearInputData() { fixed (ImFontAtlas* @this = &this) { ImGui.ClearInputDataNative(@this); } } /// /// To be documented. /// public unsafe void ClearTexData() { fixed (ImFontAtlas* @this = &this) { ImGui.ClearTexDataNative(@this); } } /// /// To be documented. /// public unsafe void ClearTexID(ImTextureID nullId) { fixed (ImFontAtlas* @this = &this) { ImGui.ClearTexIDNative(@this, nullId); } } /// /// To be documented. /// public unsafe void Destroy() { fixed (ImFontAtlas* @this = &this) { ImGui.DestroyNative(@this); } } /// /// To be documented. /// public unsafe ImFontAtlasCustomRect* GetCustomRectByIndex(int index) { fixed (ImFontAtlas* @this = &this) { ImFontAtlasCustomRect* ret = ImGui.GetCustomRectByIndexNative(@this, index); return ret; } } /// /// To be documented. /// public unsafe ushort* GetGlyphRangesChineseFull() { fixed (ImFontAtlas* @this = &this) { ushort* ret = ImGui.GetGlyphRangesChineseFullNative(@this); return ret; } } /// /// To be documented. /// public unsafe ushort* GetGlyphRangesChineseSimplifiedCommon() { fixed (ImFontAtlas* @this = &this) { ushort* ret = ImGui.GetGlyphRangesChineseSimplifiedCommonNative(@this); return ret; } } /// /// To be documented. /// public unsafe ushort* GetGlyphRangesCyrillic() { fixed (ImFontAtlas* @this = &this) { ushort* ret = ImGui.GetGlyphRangesCyrillicNative(@this); return ret; } } /// /// To be documented. /// public unsafe ushort* GetGlyphRangesDefault() { fixed (ImFontAtlas* @this = &this) { ushort* ret = ImGui.GetGlyphRangesDefaultNative(@this); return ret; } } /// /// To be documented. /// public unsafe ushort* GetGlyphRangesJapanese() { fixed (ImFontAtlas* @this = &this) { ushort* ret = ImGui.GetGlyphRangesJapaneseNative(@this); return ret; } } /// /// To be documented. /// public unsafe ushort* GetGlyphRangesKorean() { fixed (ImFontAtlas* @this = &this) { ushort* ret = ImGui.GetGlyphRangesKoreanNative(@this); return ret; } } /// /// To be documented. /// public unsafe ushort* GetGlyphRangesThai() { fixed (ImFontAtlas* @this = &this) { ushort* ret = ImGui.GetGlyphRangesThaiNative(@this); return ret; } } /// /// To be documented. /// public unsafe ushort* GetGlyphRangesVietnamese() { fixed (ImFontAtlas* @this = &this) { ushort* ret = ImGui.GetGlyphRangesVietnameseNative(@this); return ret; } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, outUvBorder, outUvFill, textureIndex); return ret != 0; } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill, textureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutSize = &outSize) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill, textureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill, textureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutUvBorder = &outUvBorder) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutUvBorder = outUvBorder) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvBorder = &outUvBorder) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvBorder = outUvBorder) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = &outUvBorder) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = outUvBorder) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = &outUvBorder) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = outUvBorder) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutUvFill = &outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutUvFill = outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvFill = &outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvFill = outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvFill = &outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvFill = outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvFill = &outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvFill = outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (Vector2* poutUvFill = &outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (Vector2* poutUvFill = outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (Vector2* poutUvFill = &outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (Vector2* poutUvFill = outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (Vector2* poutUvFill = &outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (Vector2* poutUvFill = outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (Vector2* poutUvFill = &outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (Vector2* poutUvFill = outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, outUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutSize = &outSize) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutUvFill = &outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutUvFill = outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvFill = &outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvFill = outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvFill = &outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvFill = outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvFill = &outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvFill = outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (Vector2* poutUvFill = &outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (Vector2* poutUvFill = outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (Vector2* poutUvFill = &outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (Vector2* poutUvFill = outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (Vector2* poutUvFill = &outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (Vector2* poutUvFill = outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (Vector2* poutUvFill = &outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) { fixed (ImFontAtlas* @this = &this) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (Vector2* poutUvFill = outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, int* outHeight) { fixed (ImFontAtlas* @this = &this) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, outWidth, outHeight, (int*)(default)); } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (int* poutWidth = &outWidth) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight) { fixed (ImFontAtlas* @this = &this) { fixed (int* poutWidth = &outWidth) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default)); } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutWidth = &outWidth) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutWidth = &outWidth) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight) { fixed (ImFontAtlas* @this = &this) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default)); } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (int* poutWidth = &outWidth) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight) { fixed (ImFontAtlas* @this = &this) { fixed (int* poutWidth = &outWidth) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutWidth = &outWidth) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); } } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutWidth = &outWidth) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); } } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (int* poutWidth = &outWidth) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutWidth = &outWidth) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); } } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (int* poutHeight = &outHeight) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutHeight = &outHeight) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); } } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (int* poutWidth = &outWidth) { fixed (int* poutHeight = &outHeight) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); } } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutWidth = &outWidth) { fixed (int* poutHeight = &outHeight) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); } } } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, int* outHeight) { fixed (ImFontAtlas* @this = &this) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, outWidth, outHeight, (int*)(default)); } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (int* poutWidth = &outWidth) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight) { fixed (ImFontAtlas* @this = &this) { fixed (int* poutWidth = &outWidth) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default)); } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutWidth = &outWidth) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutWidth = &outWidth) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight) { fixed (ImFontAtlas* @this = &this) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default)); } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (int* poutWidth = &outWidth) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight) { fixed (ImFontAtlas* @this = &this) { fixed (int* poutWidth = &outWidth) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutWidth = &outWidth) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); } } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutWidth = &outWidth) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); } } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (int* poutWidth = &outWidth) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutWidth = &outWidth) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); } } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (int* poutHeight = &outHeight) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutHeight = &outHeight) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); } } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (int* poutWidth = &outWidth) { fixed (int* poutHeight = &outHeight) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); } } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) { fixed (ImFontAtlas* @this = &this) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutWidth = &outWidth) { fixed (int* poutHeight = &outHeight) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); } } } } } } /// /// To be documented. /// public unsafe bool IsBuilt() { fixed (ImFontAtlas* @this = &this) { byte ret = ImGui.IsBuiltNative(@this); return ret != 0; } } /// /// To be documented. /// public unsafe void SetTexID(int textureIndex, ImTextureID id) { fixed (ImFontAtlas* @this = &this) { ImGui.SetTexIDNative(@this, textureIndex, id); } } } /// /// To be documented. /// #if NET5_0_OR_GREATER [DebuggerDisplay("{DebuggerDisplay,nq}")] #endif public unsafe struct ImFontAtlasPtr : IEquatable { public ImFontAtlasPtr(ImFontAtlas* handle) { Handle = handle; } public ImFontAtlas* Handle; public bool IsNull => Handle == null; public static ImFontAtlasPtr Null => new ImFontAtlasPtr(null); public ImFontAtlas this[int index] { get => Handle[index]; set => Handle[index] = value; } public static implicit operator ImFontAtlasPtr(ImFontAtlas* handle) => new ImFontAtlasPtr(handle); public static implicit operator ImFontAtlas*(ImFontAtlasPtr handle) => handle.Handle; public static bool operator ==(ImFontAtlasPtr left, ImFontAtlasPtr right) => left.Handle == right.Handle; public static bool operator !=(ImFontAtlasPtr left, ImFontAtlasPtr right) => left.Handle != right.Handle; public static bool operator ==(ImFontAtlasPtr left, ImFontAtlas* right) => left.Handle == right; public static bool operator !=(ImFontAtlasPtr left, ImFontAtlas* right) => left.Handle != right; public bool Equals(ImFontAtlasPtr other) => Handle == other.Handle; /// public override bool Equals(object obj) => obj is ImFontAtlasPtr handle && Equals(handle); /// public override int GetHashCode() => ((nuint)Handle).GetHashCode(); #if NET5_0_OR_GREATER private string DebuggerDisplay => string.Format("ImFontAtlasPtr [0x{0}]", ((nuint)Handle).ToString("X")); #endif /// /// To be documented. /// public ref ImFontAtlasFlags Flags => ref Unsafe.AsRef(&Handle->Flags); /// /// To be documented. /// public ref ImVector Textures => ref Unsafe.AsRef>(&Handle->Textures); /// /// To be documented. /// public ref int TexDesiredWidth => ref Unsafe.AsRef(&Handle->TexDesiredWidth); /// /// To be documented. /// public ref int TexDesiredHeight => ref Unsafe.AsRef(&Handle->TexDesiredHeight); /// /// To be documented. /// public ref int TexGlyphPadding => ref Unsafe.AsRef(&Handle->TexGlyphPadding); /// /// To be documented. /// public ref bool Locked => ref Unsafe.AsRef(&Handle->Locked); /// /// To be documented. /// public ref bool TexReady => ref Unsafe.AsRef(&Handle->TexReady); /// /// To be documented. /// public ref bool TexPixelsUseColors => ref Unsafe.AsRef(&Handle->TexPixelsUseColors); /// /// To be documented. /// public ref int TexWidth => ref Unsafe.AsRef(&Handle->TexWidth); /// /// To be documented. /// public ref int TexHeight => ref Unsafe.AsRef(&Handle->TexHeight); /// /// To be documented. /// public ref Vector2 TexUvScale => ref Unsafe.AsRef(&Handle->TexUvScale); /// /// To be documented. /// public ref Vector2 TexUvWhitePixel => ref Unsafe.AsRef(&Handle->TexUvWhitePixel); /// /// To be documented. /// public ref ImVector Fonts => ref Unsafe.AsRef>(&Handle->Fonts); /// /// To be documented. /// public ref ImVector CustomRects => ref Unsafe.AsRef>(&Handle->CustomRects); /// /// To be documented. /// public ref ImVector ConfigData => ref Unsafe.AsRef>(&Handle->ConfigData); /// /// To be documented. /// public unsafe Span TexUvLines { get { return new Span(&Handle->TexUvLines_0, 64); } } /// /// To be documented. /// public ref ImFontBuilderIOPtr FontBuilderIO => ref Unsafe.AsRef(&Handle->FontBuilderIO); /// /// To be documented. /// public ref uint FontBuilderFlags => ref Unsafe.AsRef(&Handle->FontBuilderFlags); /// /// To be documented. /// public ref int TextureIndexCommon => ref Unsafe.AsRef(&Handle->TextureIndexCommon); /// /// To be documented. /// public ref int PackIdCommon => ref Unsafe.AsRef(&Handle->PackIdCommon); /// /// To be documented. /// public ref ImFontAtlasCustomRect RectMouseCursors => ref Unsafe.AsRef(&Handle->RectMouseCursors); /// /// To be documented. /// public ref ImFontAtlasCustomRect RectLines => ref Unsafe.AsRef(&Handle->RectLines); /// /// To be documented. /// public unsafe int AddCustomRectFontGlyph(ImFontPtr font, ushort id, int width, int height, float advanceX, Vector2 offset) { int ret = ImGui.AddCustomRectFontGlyphNative(Handle, font, id, width, height, advanceX, offset); return ret; } /// /// To be documented. /// public unsafe int AddCustomRectFontGlyph(ImFontPtr font, ushort id, int width, int height, float advanceX) { int ret = ImGui.AddCustomRectFontGlyphNative(Handle, font, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); return ret; } /// /// To be documented. /// public unsafe int AddCustomRectFontGlyph(ref ImFont font, ushort id, int width, int height, float advanceX, Vector2 offset) { fixed (ImFont* pfont = &font) { int ret = ImGui.AddCustomRectFontGlyphNative(Handle, (ImFont*)pfont, id, width, height, advanceX, offset); return ret; } } /// /// To be documented. /// public unsafe int AddCustomRectFontGlyph(ref ImFont font, ushort id, int width, int height, float advanceX) { fixed (ImFont* pfont = &font) { int ret = ImGui.AddCustomRectFontGlyphNative(Handle, (ImFont*)pfont, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); return ret; } } /// /// To be documented. /// public unsafe int AddCustomRectRegular(int width, int height) { int ret = ImGui.AddCustomRectRegularNative(Handle, width, height); return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFont(ImFontConfig* fontCfg) { ImFontPtr ret = ImGui.AddFontNative(Handle, fontCfg); return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFont(ref ImFontConfig fontCfg) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontNative(Handle, (ImFontConfig*)pfontCfg); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontDefault(ImFontConfig* fontCfg) { ImFontPtr ret = ImGui.AddFontDefaultNative(Handle, fontCfg); return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontDefault() { ImFontPtr ret = ImGui.AddFontDefaultNative(Handle, (ImFontConfig*)(default)); return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontDefault(ref ImFontConfig fontCfg) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontDefaultNative(Handle, (ImFontConfig*)pfontCfg); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, fontCfg, glyphRanges); return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ImFontConfig* fontCfg) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, fontCfg, (ushort*)(default)); return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ushort* glyphRanges) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, (ImFontConfig*)(default), glyphRanges); return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) { fixed (byte* pfilename = &filename) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, fontCfg, glyphRanges); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ImFontConfig* fontCfg) { fixed (byte* pfilename = &filename) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, fontCfg, (ushort*)(default)); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels) { fixed (byte* pfilename = &filename) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ushort* glyphRanges) { fixed (byte* pfilename = &filename) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) { fixed (byte* pfilename = filename) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, fontCfg, glyphRanges); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ImFontConfig* fontCfg) { fixed (byte* pfilename = filename) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, fontCfg, (ushort*)(default)); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels) { fixed (byte* pfilename = filename) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ushort* glyphRanges) { fixed (byte* pfilename = filename) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, 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; } ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, fontCfg, glyphRanges); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, 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; } ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, fontCfg, (ushort*)(default)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(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 = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(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 = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ref ImFontConfig fontCfg) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) { fixed (byte* pfilename = &filename) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ref ImFontConfig fontCfg) { fixed (byte* pfilename = &filename) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) { fixed (byte* pfilename = filename) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg) { fixed (byte* pfilename = filename) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(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 = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromFileTTF(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 = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, fontCfg, glyphRanges); return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default)); return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ushort* glyphRanges) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) { fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) { fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default)); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels) { fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ushort* glyphRanges) { fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) { fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) { fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default)); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels) { fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ushort* glyphRanges) { fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, 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; } ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, fontCfg, glyphRanges); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, 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; } ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, fontCfg, (ushort*)(default)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(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 = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(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 = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) { fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) { fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) { fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) { fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); return ret; } } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(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 = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(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 = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontSize, sizePixels, fontCfg, glyphRanges); return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfig* fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontSize, sizePixels, fontCfg, (ushort*)(default)); return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ushort* glyphRanges) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)(default), glyphRanges); return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ref ImFontConfig fontCfg) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) { ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontSize, sizePixels, fontCfg, glyphRanges); return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ImFontConfig* fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontSize, sizePixels, fontCfg, (ushort*)(default)); return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels) { ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontSize, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ushort* glyphRanges) { ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontSize, sizePixels, (ImFontConfig*)(default), glyphRanges); return ret; } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); return ret; } } /// /// To be documented. /// public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ref ImFontConfig fontCfg) { fixed (ImFontConfig* pfontCfg = &fontCfg) { ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); return ret; } } /// /// To be documented. /// public unsafe bool Build() { byte ret = ImGui.BuildNative(Handle); return ret != 0; } /// /// To be documented. /// public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, Vector2* outUvMin, Vector2* outUvMax) { ImGui.CalcCustomRectUVNative(Handle, rect, outUvMin, outUvMax); } /// /// To be documented. /// public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, Vector2* outUvMin, Vector2* outUvMax) { fixed (ImFontAtlasCustomRect* prect = &rect) { ImGui.CalcCustomRectUVNative(Handle, (ImFontAtlasCustomRect*)prect, outUvMin, outUvMax); } } /// /// To be documented. /// public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, ref Vector2 outUvMin, Vector2* outUvMax) { fixed (Vector2* poutUvMin = &outUvMin) { ImGui.CalcCustomRectUVNative(Handle, rect, (Vector2*)poutUvMin, outUvMax); } } /// /// To be documented. /// public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, Vector2* outUvMax) { fixed (ImFontAtlasCustomRect* prect = &rect) { fixed (Vector2* poutUvMin = &outUvMin) { ImGui.CalcCustomRectUVNative(Handle, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, outUvMax); } } } /// /// To be documented. /// public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, Vector2* outUvMin, ref Vector2 outUvMax) { fixed (Vector2* poutUvMax = &outUvMax) { ImGui.CalcCustomRectUVNative(Handle, rect, outUvMin, (Vector2*)poutUvMax); } } /// /// To be documented. /// public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, Vector2* outUvMin, ref Vector2 outUvMax) { fixed (ImFontAtlasCustomRect* prect = &rect) { fixed (Vector2* poutUvMax = &outUvMax) { ImGui.CalcCustomRectUVNative(Handle, (ImFontAtlasCustomRect*)prect, outUvMin, (Vector2*)poutUvMax); } } } /// /// To be documented. /// public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, ref Vector2 outUvMin, ref Vector2 outUvMax) { fixed (Vector2* poutUvMin = &outUvMin) { fixed (Vector2* poutUvMax = &outUvMax) { ImGui.CalcCustomRectUVNative(Handle, rect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); } } } /// /// To be documented. /// public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, ref Vector2 outUvMax) { fixed (ImFontAtlasCustomRect* prect = &rect) { fixed (Vector2* poutUvMin = &outUvMin) { fixed (Vector2* poutUvMax = &outUvMax) { ImGui.CalcCustomRectUVNative(Handle, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); } } } } /// /// To be documented. /// public unsafe void Clear() { ImGui.ClearNative(Handle); } /// /// To be documented. /// public unsafe void ClearFonts() { ImGui.ClearFontsNative(Handle); } /// /// To be documented. /// public unsafe void ClearInputData() { ImGui.ClearInputDataNative(Handle); } /// /// To be documented. /// public unsafe void ClearTexData() { ImGui.ClearTexDataNative(Handle); } /// /// To be documented. /// public unsafe void ClearTexID(ImTextureID nullId) { ImGui.ClearTexIDNative(Handle, nullId); } /// /// To be documented. /// public unsafe void Destroy() { ImGui.DestroyNative(Handle); } /// /// To be documented. /// public unsafe ImFontAtlasCustomRect* GetCustomRectByIndex(int index) { ImFontAtlasCustomRect* ret = ImGui.GetCustomRectByIndexNative(Handle, index); return ret; } /// /// To be documented. /// public unsafe ushort* GetGlyphRangesChineseFull() { ushort* ret = ImGui.GetGlyphRangesChineseFullNative(Handle); return ret; } /// /// To be documented. /// public unsafe ushort* GetGlyphRangesChineseSimplifiedCommon() { ushort* ret = ImGui.GetGlyphRangesChineseSimplifiedCommonNative(Handle); return ret; } /// /// To be documented. /// public unsafe ushort* GetGlyphRangesCyrillic() { ushort* ret = ImGui.GetGlyphRangesCyrillicNative(Handle); return ret; } /// /// To be documented. /// public unsafe ushort* GetGlyphRangesDefault() { ushort* ret = ImGui.GetGlyphRangesDefaultNative(Handle); return ret; } /// /// To be documented. /// public unsafe ushort* GetGlyphRangesJapanese() { ushort* ret = ImGui.GetGlyphRangesJapaneseNative(Handle); return ret; } /// /// To be documented. /// public unsafe ushort* GetGlyphRangesKorean() { ushort* ret = ImGui.GetGlyphRangesKoreanNative(Handle); return ret; } /// /// To be documented. /// public unsafe ushort* GetGlyphRangesThai() { ushort* ret = ImGui.GetGlyphRangesThaiNative(Handle); return ret; } /// /// To be documented. /// public unsafe ushort* GetGlyphRangesVietnamese() { ushort* ret = ImGui.GetGlyphRangesVietnameseNative(Handle); return ret; } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, outUvBorder, outUvFill, textureIndex); return ret != 0; } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (Vector2* poutOffset = &outOffset) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill, textureIndex); return ret != 0; } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (Vector2* poutSize = &outSize) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill, textureIndex); return ret != 0; } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill, textureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (Vector2* poutUvBorder = &outUvBorder) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); return ret != 0; } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (Vector2* poutUvBorder = outUvBorder) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); return ret != 0; } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvBorder = &outUvBorder) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvBorder = outUvBorder) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = &outUvBorder) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = outUvBorder) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = &outUvBorder) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = outUvBorder) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) { fixed (Vector2* poutUvFill = &outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) { fixed (Vector2* poutUvFill = outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvFill = &outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvFill = outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvFill = &outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvFill = outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvFill = &outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvFill = outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (Vector2* poutUvFill = &outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (Vector2* poutUvFill = outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (Vector2* poutUvFill = &outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (Vector2* poutUvFill = outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (Vector2* poutUvFill = &outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (Vector2* poutUvFill = outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (Vector2* poutUvFill = &outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (Vector2* poutUvFill = outUvFill) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, outUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (Vector2* poutSize = &outSize) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) { fixed (Vector2* poutUvFill = &outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) { fixed (Vector2* poutUvFill = outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvFill = &outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvFill = outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvFill = &outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvFill = outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvFill = &outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvFill = outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (Vector2* poutUvFill = &outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (Vector2* poutUvFill = outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (Vector2* poutUvFill = &outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (Vector2* poutUvFill = outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (Vector2* poutUvFill = &outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (Vector2* poutUvFill = outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = &outUvBorder) { fixed (Vector2* poutUvFill = &outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } } /// /// To be documented. /// public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) { fixed (Vector2* poutOffset = &outOffset) { fixed (Vector2* poutSize = &outSize) { fixed (Vector2* poutUvBorder = outUvBorder) { fixed (Vector2* poutUvFill = outUvFill) { fixed (int* ptextureIndex = &textureIndex) { byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); return ret != 0; } } } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, int* outHeight) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, outWidth, outHeight, (int*)(default)); } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) { fixed (byte** poutPixels = &outPixels) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight) { fixed (byte** poutPixels = &outPixels) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) { fixed (int* poutWidth = &outWidth) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight) { fixed (int* poutWidth = &outWidth) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default)); } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutWidth = &outWidth) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutWidth = &outWidth) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default)); } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) { fixed (int* poutWidth = &outWidth) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight) { fixed (int* poutWidth = &outWidth) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(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) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutWidth = &outWidth) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) { fixed (int* poutWidth = &outWidth) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(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) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) { fixed (int* poutHeight = &outHeight) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(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) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(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) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsAlpha8(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) { ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); } } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, int* outHeight) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, outWidth, outHeight, (int*)(default)); } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) { fixed (byte** poutPixels = &outPixels) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight) { fixed (byte** poutPixels = &outPixels) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) { fixed (int* poutWidth = &outWidth) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight) { fixed (int* poutWidth = &outWidth) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default)); } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutWidth = &outWidth) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutWidth = &outWidth) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default)); } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) { fixed (int* poutWidth = &outWidth) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight) { fixed (int* poutWidth = &outWidth) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(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) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutWidth = &outWidth) { fixed (int* poutHeight = &outHeight) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) { fixed (byte** poutPixels = &outPixels) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) { fixed (int* poutWidth = &outWidth) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(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) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) { fixed (int* poutHeight = &outHeight) { fixed (int* poutBytesPerPixel = &outBytesPerPixel) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(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) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(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) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); } } } } /// /// To be documented. /// public unsafe void GetTexDataAsRGBA32(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) { ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); } } } } } /// /// To be documented. /// public unsafe bool IsBuilt() { byte ret = ImGui.IsBuiltNative(Handle); return ret != 0; } /// /// To be documented. /// public unsafe void SetTexID(int textureIndex, ImTextureID id) { ImGui.SetTexIDNative(Handle, textureIndex, id); } } }