This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
+120
View File
@@ -0,0 +1,120 @@
using System;
using System.Runtime.CompilerServices;
using UnityEngine.Internal;
using UnityEngine.Scripting;
namespace UnityEngine
{
// Token: 0x020000D1 RID: 209
public sealed class Texture2DArray : Texture
{
// Token: 0x06000F43 RID: 3907 RVA: 0x00014E28 File Offset: 0x00013028
public Texture2DArray(int width, int height, int depth, TextureFormat format, bool mipmap)
{
Texture2DArray.Internal_Create(this, width, height, depth, format, mipmap, false);
}
// Token: 0x06000F44 RID: 3908 RVA: 0x00014E40 File Offset: 0x00013040
public Texture2DArray(int width, int height, int depth, TextureFormat format, bool mipmap, bool linear)
{
Texture2DArray.Internal_Create(this, width, height, depth, format, mipmap, linear);
}
// Token: 0x1700032E RID: 814
// (get) Token: 0x06000F45 RID: 3909
public extern int depth
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x1700032F RID: 815
// (get) Token: 0x06000F46 RID: 3910
public extern TextureFormat format
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x06000F47 RID: 3911
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern void Apply([DefaultValue("true")] bool updateMipmaps, [DefaultValue("false")] bool makeNoLongerReadable);
// Token: 0x06000F48 RID: 3912 RVA: 0x00014E58 File Offset: 0x00013058
[ExcludeFromDocs]
public void Apply(bool updateMipmaps)
{
bool flag = false;
this.Apply(updateMipmaps, flag);
}
// Token: 0x06000F49 RID: 3913 RVA: 0x00014E70 File Offset: 0x00013070
[ExcludeFromDocs]
public void Apply()
{
bool flag = false;
bool flag2 = true;
this.Apply(flag2, flag);
}
// Token: 0x06000F4A RID: 3914
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern void Internal_Create([Writable] Texture2DArray mono, int width, int height, int depth, TextureFormat format, bool mipmap, bool linear);
// Token: 0x06000F4B RID: 3915
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern void SetPixels(Color[] colors, int arrayElement, [DefaultValue("0")] int miplevel);
// Token: 0x06000F4C RID: 3916 RVA: 0x00014E8C File Offset: 0x0001308C
[ExcludeFromDocs]
public void SetPixels(Color[] colors, int arrayElement)
{
int num = 0;
this.SetPixels(colors, arrayElement, num);
}
// Token: 0x06000F4D RID: 3917
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern void SetPixels32(Color32[] colors, int arrayElement, [DefaultValue("0")] int miplevel);
// Token: 0x06000F4E RID: 3918 RVA: 0x00014EA8 File Offset: 0x000130A8
[ExcludeFromDocs]
public void SetPixels32(Color32[] colors, int arrayElement)
{
int num = 0;
this.SetPixels32(colors, arrayElement, num);
}
// Token: 0x06000F4F RID: 3919
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern Color[] GetPixels(int arrayElement, [DefaultValue("0")] int miplevel);
// Token: 0x06000F50 RID: 3920 RVA: 0x00014EC4 File Offset: 0x000130C4
[ExcludeFromDocs]
public Color[] GetPixels(int arrayElement)
{
int num = 0;
return this.GetPixels(arrayElement, num);
}
// Token: 0x06000F51 RID: 3921
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern Color32[] GetPixels32(int arrayElement, [DefaultValue("0")] int miplevel);
// Token: 0x06000F52 RID: 3922 RVA: 0x00014EE4 File Offset: 0x000130E4
[ExcludeFromDocs]
public Color32[] GetPixels32(int arrayElement)
{
int num = 0;
return this.GetPixels32(arrayElement, num);
}
}
}