Files
27Aug2021-Cpp2IL-Dump/UnityEngine.TextCoreModule/UnityEngine/TextCore/LowLevel/FontEngine.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +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 = "0x1200280", Offset = "0x11FF280", VA = "0x181200280")]
public static FontEngineError InitializeFontEngine()
{
return FontEngineError.Success;
}
// Token: 0x06000050 RID: 80 RVA: 0x000024EC File Offset: 0x000006EC
[Token(Token = "0x6000050")]
[Address(RVA = "0x1200250", Offset = "0x11FF250", VA = "0x181200250")]
[NativeMethod]
private static int InitializeFontEngine_Internal()
{
return 0;
}
// Token: 0x06000051 RID: 81 RVA: 0x00002504 File Offset: 0x00000704
[Token(Token = "0x6000051")]
[Address(RVA = "0x1200330", Offset = "0x11FF330", VA = "0x181200330")]
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 = "0x12002F0", Offset = "0x11FF2F0", VA = "0x1812002F0")]
[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 = "0x11FFDF0", Offset = "0x11FEDF0", VA = "0x1811FFDF0")]
public static FaceInfo GetFaceInfo()
{
return default(FaceInfo);
}
// Token: 0x06000054 RID: 84 RVA: 0x0000254C File Offset: 0x0000074C
[Token(Token = "0x6000054")]
[Address(RVA = "0x11FFDB0", Offset = "0x11FEDB0", VA = "0x1811FFDB0")]
[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 = "0x11FFEB0", Offset = "0x11FEEB0", VA = "0x1811FFEB0")]
[NativeMethod]
internal static uint GetGlyphIndex(uint unicode)
{
return 0U;
}
// Token: 0x06000056 RID: 86 RVA: 0x0000257C File Offset: 0x0000077C
[Token(Token = "0x6000056")]
[Address(RVA = "0x12016E0", Offset = "0x12006E0", VA = "0x1812016E0")]
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 = "0x1201690", Offset = "0x1200690", VA = "0x181201690")]
[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 = "0x1201510", Offset = "0x1200510", VA = "0x181201510")]
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 = "0x12014C0", Offset = "0x12004C0", VA = "0x1812014C0")]
[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 = "0x12004A0", Offset = "0x11FF4A0", VA = "0x1812004A0")]
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 = "0x1200440", Offset = "0x11FF440", VA = "0x181200440")]
[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 = "0x1200B10", Offset = "0x11FFB10", VA = "0x181200B10")]
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 = "0x1200AA0", Offset = "0x11FFAA0", VA = "0x181200AA0")]
[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 = "0x12000E0", Offset = "0x11FF0E0", VA = "0x1812000E0")]
internal static GlyphPairAdjustmentRecord[] GetGlyphPairAdjustmentTable(uint[] glyphIndexes)
{
return null;
}
// Token: 0x0600005F RID: 95 RVA: 0x0000263A File Offset: 0x0000083A
[Token(Token = "0x600005F")]
[Address(RVA = "0x11FFF30", Offset = "0x11FEF30", VA = "0x1811FFF30")]
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 = "0x12003B0", Offset = "0x11FF3B0", VA = "0x1812003B0")]
[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 = "0x11FFEF0", Offset = "0x11FEEF0", VA = "0x1811FFEF0")]
[NativeMethod]
private static int GetGlyphPairAdjustmentRecordsFromMarshallingArray([Out] GlyphPairAdjustmentRecord[] glyphPairAdjustmentRecords)
{
return 0;
}
// Token: 0x06000062 RID: 98 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000062")]
[Address(RVA = "0x1FD66C0", Offset = "0x1FD56C0", VA = "0x181FD66C0")]
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 = "0x1FD6A40", Offset = "0x1FD5A40", VA = "0x181FD6A40")]
private static void SetMarshallingArraySize<T>(ref T[] marshallingArray, int recordCount)
{
}
// Token: 0x06000064 RID: 100 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000064")]
[Address(RVA = "0x1200400", Offset = "0x11FF400", VA = "0x181200400")]
[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;
}
}