Files
Dec2017-Script-Dump/UnityEngine/Texture3D.cs
T
2026-06-04 11:42:34 +02:00

115 lines
3.2 KiB
C#

using System;
using System.Runtime.CompilerServices;
using UnityEngine.Internal;
using UnityEngine.Scripting;
namespace UnityEngine
{
// Token: 0x020000D0 RID: 208
public sealed class Texture3D : Texture
{
// Token: 0x06000F34 RID: 3892 RVA: 0x00014D6C File Offset: 0x00012F6C
public Texture3D(int width, int height, int depth, TextureFormat format, bool mipmap)
{
Texture3D.Internal_Create(this, width, height, depth, format, mipmap);
}
// Token: 0x1700032C RID: 812
// (get) Token: 0x06000F35 RID: 3893
public extern int depth
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x06000F36 RID: 3894
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern Color[] GetPixels([DefaultValue("0")] int miplevel);
// Token: 0x06000F37 RID: 3895 RVA: 0x00014D84 File Offset: 0x00012F84
[ExcludeFromDocs]
public Color[] GetPixels()
{
int num = 0;
return this.GetPixels(num);
}
// Token: 0x06000F38 RID: 3896
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern Color32[] GetPixels32([DefaultValue("0")] int miplevel);
// Token: 0x06000F39 RID: 3897 RVA: 0x00014DA4 File Offset: 0x00012FA4
[ExcludeFromDocs]
public Color32[] GetPixels32()
{
int num = 0;
return this.GetPixels32(num);
}
// Token: 0x06000F3A RID: 3898
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern void SetPixels(Color[] colors, [DefaultValue("0")] int miplevel);
// Token: 0x06000F3B RID: 3899 RVA: 0x00014DC4 File Offset: 0x00012FC4
[ExcludeFromDocs]
public void SetPixels(Color[] colors)
{
int num = 0;
this.SetPixels(colors, num);
}
// Token: 0x06000F3C RID: 3900
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern void SetPixels32(Color32[] colors, [DefaultValue("0")] int miplevel);
// Token: 0x06000F3D RID: 3901 RVA: 0x00014DDC File Offset: 0x00012FDC
[ExcludeFromDocs]
public void SetPixels32(Color32[] colors)
{
int num = 0;
this.SetPixels32(colors, num);
}
// Token: 0x06000F3E RID: 3902
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern void Apply([DefaultValue("true")] bool updateMipmaps, [DefaultValue("false")] bool makeNoLongerReadable);
// Token: 0x06000F3F RID: 3903 RVA: 0x00014DF4 File Offset: 0x00012FF4
[ExcludeFromDocs]
public void Apply(bool updateMipmaps)
{
bool flag = false;
this.Apply(updateMipmaps, flag);
}
// Token: 0x06000F40 RID: 3904 RVA: 0x00014E0C File Offset: 0x0001300C
[ExcludeFromDocs]
public void Apply()
{
bool flag = false;
bool flag2 = true;
this.Apply(flag2, flag);
}
// Token: 0x1700032D RID: 813
// (get) Token: 0x06000F41 RID: 3905
public extern TextureFormat format
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x06000F42 RID: 3906
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern void Internal_Create([Writable] Texture3D mono, int width, int height, int depth, TextureFormat format, bool mipmap);
}
}