Files
Apr2020-Cpp2Il-Dump/UnityEngine.TextCoreModule/UnityEngine/TextCore/LowLevel/FontEngine.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

235 lines
8.6 KiB
C#

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using UnityEngine.Bindings;
namespace UnityEngine.TextCore.LowLevel
{
// Token: 0x0200000E RID: 14
[Token(Token = "0x200000E")]
[NativeHeader("Modules/TextCore/Native/FontEngine/FontEngine.h")]
public sealed class FontEngine
{
// Token: 0x0600004F RID: 79 RVA: 0x000024D4 File Offset: 0x000006D4
[Token(Token = "0x600004F")]
[Address(RVA = "0x38AD100", Offset = "0x38ABF00", VA = "0x1838AD100")]
public static FontEngineError InitializeFontEngine()
{
return FontEngineError.Success;
}
// Token: 0x06000050 RID: 80 RVA: 0x000024EC File Offset: 0x000006EC
[Token(Token = "0x6000050")]
[Address(RVA = "0x38AD0D0", Offset = "0x38ABED0", VA = "0x1838AD0D0")]
[NativeMethod]
private static int InitializeFontEngine_Internal()
{
return 0;
}
// Token: 0x06000051 RID: 81 RVA: 0x00002504 File Offset: 0x00000704
[Token(Token = "0x6000051")]
[Address(RVA = "0x38AD1B0", Offset = "0x38ABFB0", VA = "0x1838AD1B0")]
public static FontEngineError LoadFontFace(Font font, int pointSize)
{
return FontEngineError.Success;
}
// Token: 0x06000052 RID: 82 RVA: 0x0000251C File Offset: 0x0000071C
[Token(Token = "0x6000052")]
[Address(RVA = "0x38AD170", Offset = "0x38ABF70", VA = "0x1838AD170")]
[NativeMethod]
private static int LoadFontFace_With_Size_FromFont_Internal(Font font, int pointSize)
{
return 0;
}
// Token: 0x06000053 RID: 83 RVA: 0x00002534 File Offset: 0x00000734
[Token(Token = "0x6000053")]
[Address(RVA = "0x38ACC70", Offset = "0x38ABA70", VA = "0x1838ACC70")]
public static FaceInfo GetFaceInfo()
{
return default(FaceInfo);
}
// Token: 0x06000054 RID: 84 RVA: 0x0000254C File Offset: 0x0000074C
[Token(Token = "0x6000054")]
[Address(RVA = "0x38ACC30", Offset = "0x38ABA30", VA = "0x1838ACC30")]
[NativeMethod]
private static int GetFaceInfo_Internal(ref FaceInfo faceInfo)
{
return 0;
}
// Token: 0x06000055 RID: 85 RVA: 0x00002564 File Offset: 0x00000764
[Token(Token = "0x6000055")]
[Address(RVA = "0x38ACD30", Offset = "0x38ABB30", VA = "0x1838ACD30")]
[NativeMethod]
internal static uint GetGlyphIndex(uint unicode)
{
return 0U;
}
// Token: 0x06000056 RID: 86 RVA: 0x0000257C File Offset: 0x0000077C
[Token(Token = "0x6000056")]
[Address(RVA = "0x38AE560", Offset = "0x38AD360", VA = "0x1838AE560")]
public static bool TryGetGlyphWithUnicodeValue(uint unicode, GlyphLoadFlags flags, out Glyph glyph)
{
return default(bool);
}
// Token: 0x06000057 RID: 87 RVA: 0x00002594 File Offset: 0x00000794
[Token(Token = "0x6000057")]
[Address(RVA = "0x38AE510", Offset = "0x38AD310", VA = "0x1838AE510")]
[NativeMethod]
private static bool TryGetGlyphWithUnicodeValue_Internal(uint unicode, GlyphLoadFlags loadFlags, ref GlyphMarshallingStruct glyphStruct)
{
return default(bool);
}
// Token: 0x06000058 RID: 88 RVA: 0x000025AC File Offset: 0x000007AC
[Token(Token = "0x6000058")]
[Address(RVA = "0x38AE390", Offset = "0x38AD190", VA = "0x1838AE390")]
public static bool TryGetGlyphWithIndexValue(uint glyphIndex, GlyphLoadFlags flags, out Glyph glyph)
{
return default(bool);
}
// Token: 0x06000059 RID: 89 RVA: 0x000025C4 File Offset: 0x000007C4
[Token(Token = "0x6000059")]
[Address(RVA = "0x38AE340", Offset = "0x38AD140", VA = "0x1838AE340")]
[NativeMethod]
private static bool TryGetGlyphWithIndexValue_Internal(uint glyphIndex, GlyphLoadFlags loadFlags, ref GlyphMarshallingStruct glyphStruct)
{
return default(bool);
}
// Token: 0x0600005A RID: 90 RVA: 0x000025DC File Offset: 0x000007DC
[Token(Token = "0x600005A")]
[Address(RVA = "0x38AD320", Offset = "0x38AC120", VA = "0x1838AD320")]
internal static bool TryAddGlyphToTexture(uint glyphIndex, int padding, GlyphPackingMode packingMode, List<GlyphRect> freeGlyphRects, List<GlyphRect> usedGlyphRects, GlyphRenderMode renderMode, Texture2D texture, out Glyph glyph)
{
return default(bool);
}
// Token: 0x0600005B RID: 91 RVA: 0x000025F4 File Offset: 0x000007F4
[Token(Token = "0x600005B")]
[Address(RVA = "0x38AD2C0", Offset = "0x38AC0C0", VA = "0x1838AD2C0")]
[NativeMethod]
private static bool TryAddGlyphToTexture_Internal(uint glyphIndex, int padding, GlyphPackingMode packingMode, [Out] GlyphRect[] freeGlyphRects, ref int freeGlyphRectCount, [Out] GlyphRect[] usedGlyphRects, ref int usedGlyphRectCount, GlyphRenderMode renderMode, Texture2D texture, out GlyphMarshallingStruct glyph)
{
return default(bool);
}
// Token: 0x0600005C RID: 92 RVA: 0x0000260C File Offset: 0x0000080C
[Token(Token = "0x600005C")]
[Address(RVA = "0x38AD990", Offset = "0x38AC790", VA = "0x1838AD990")]
internal static bool TryAddGlyphsToTexture(List<uint> glyphIndexes, int padding, GlyphPackingMode packingMode, List<GlyphRect> freeGlyphRects, List<GlyphRect> usedGlyphRects, GlyphRenderMode renderMode, Texture2D texture, out Glyph[] glyphs)
{
return default(bool);
}
// Token: 0x0600005D RID: 93 RVA: 0x00002624 File Offset: 0x00000824
[Token(Token = "0x600005D")]
[Address(RVA = "0x38AD920", Offset = "0x38AC720", VA = "0x1838AD920")]
[NativeMethod]
private static bool TryAddGlyphsToTexture_Internal(uint[] glyphIndex, int padding, GlyphPackingMode packingMode, [Out] GlyphRect[] freeGlyphRects, ref int freeGlyphRectCount, [Out] GlyphRect[] usedGlyphRects, ref int usedGlyphRectCount, GlyphRenderMode renderMode, Texture2D texture, [Out] GlyphMarshallingStruct[] glyphs, ref int glyphCount)
{
return default(bool);
}
// Token: 0x0600005E RID: 94 RVA: 0x0000263A File Offset: 0x0000083A
[Token(Token = "0x600005E")]
[Address(RVA = "0x38ACF60", Offset = "0x38ABD60", VA = "0x1838ACF60")]
internal static GlyphPairAdjustmentRecord[] GetGlyphPairAdjustmentTable(uint[] glyphIndexes)
{
return null;
}
// Token: 0x0600005F RID: 95 RVA: 0x0000263A File Offset: 0x0000083A
[Token(Token = "0x600005F")]
[Address(RVA = "0x38ACDB0", Offset = "0x38ABBB0", VA = "0x1838ACDB0")]
internal static GlyphPairAdjustmentRecord[] GetGlyphPairAdjustmentRecords(List<uint> glyphIndexes, out int recordCount)
{
return null;
}
// Token: 0x06000060 RID: 96 RVA: 0x00002640 File Offset: 0x00000840
[Token(Token = "0x6000060")]
[Address(RVA = "0x38AD230", Offset = "0x38AC030", VA = "0x1838AD230")]
[NativeMethod]
private static int PopulatePairAdjustmentRecordMarshallingArray_from_GlyphIndexes(uint[] glyphIndexes, out int recordCount)
{
return 0;
}
// Token: 0x06000061 RID: 97 RVA: 0x00002658 File Offset: 0x00000858
[Token(Token = "0x6000061")]
[Address(RVA = "0x38ACD70", Offset = "0x38ABB70", VA = "0x1838ACD70")]
[NativeMethod]
private static int GetGlyphPairAdjustmentRecordsFromMarshallingArray([Out] GlyphPairAdjustmentRecord[] glyphPairAdjustmentRecords)
{
return 0;
}
// Token: 0x06000062 RID: 98 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000062")]
[Address(RVA = "0x1B8B790", Offset = "0x1B8A590", VA = "0x181B8B790")]
private static void GenericListToMarshallingArray<T>(ref List<T> srcList, ref T[] dstArray)
{
}
// Token: 0x06000063 RID: 99 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000063")]
[Address(RVA = "0x1B8BB10", Offset = "0x1B8A910", VA = "0x181B8BB10")]
private static void SetMarshallingArraySize<T>(ref T[] marshallingArray, int recordCount)
{
}
// Token: 0x06000064 RID: 100 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000064")]
[Address(RVA = "0x38AD280", Offset = "0x38AC080", VA = "0x1838AD280")]
[NativeMethod]
internal static void ResetAtlasTexture(Texture2D texture)
{
}
// Token: 0x0400005C RID: 92
[Token(Token = "0x400005C")]
private static string[] s_FontFaces;
// Token: 0x0400005D RID: 93
[Token(Token = "0x400005D")]
private static Glyph[] s_Glyphs;
// Token: 0x0400005E RID: 94
[Token(Token = "0x400005E")]
private static uint[] s_GlyphIndexes_MarshallingArray_A;
// Token: 0x0400005F RID: 95
[Token(Token = "0x400005F")]
private static GlyphMarshallingStruct[] s_GlyphMarshallingStruct_IN;
// Token: 0x04000060 RID: 96
[Token(Token = "0x4000060")]
private static GlyphMarshallingStruct[] s_GlyphMarshallingStruct_OUT;
// Token: 0x04000061 RID: 97
[Token(Token = "0x4000061")]
private static GlyphRect[] s_FreeGlyphRects;
// Token: 0x04000062 RID: 98
[Token(Token = "0x4000062")]
private static GlyphRect[] s_UsedGlyphRects;
// Token: 0x04000063 RID: 99
[Token(Token = "0x4000063")]
private static GlyphPairAdjustmentRecord[] s_PairAdjustmentRecords_MarshallingArray;
// Token: 0x04000064 RID: 100
[Token(Token = "0x4000064")]
private static Dictionary<uint, Glyph> s_GlyphLookupDictionary;
}
}