using System; using System.Runtime.CompilerServices; using UnityEngine.Internal; using UnityEngine.Scripting; namespace UnityEngine { // Token: 0x020000D2 RID: 210 public sealed class CubemapArray : Texture { // Token: 0x06000F53 RID: 3923 RVA: 0x00014F04 File Offset: 0x00013104 public CubemapArray(int faceSize, int cubemapCount, TextureFormat format, bool mipmap) { CubemapArray.Internal_Create(this, faceSize, cubemapCount, format, mipmap, false); } // Token: 0x06000F54 RID: 3924 RVA: 0x00014F1C File Offset: 0x0001311C public CubemapArray(int faceSize, int cubemapCount, TextureFormat format, bool mipmap, bool linear) { CubemapArray.Internal_Create(this, faceSize, cubemapCount, format, mipmap, linear); } // Token: 0x17000330 RID: 816 // (get) Token: 0x06000F55 RID: 3925 public extern int cubemapCount { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; } // Token: 0x17000331 RID: 817 // (get) Token: 0x06000F56 RID: 3926 public extern TextureFormat format { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; } // Token: 0x06000F57 RID: 3927 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void Apply([DefaultValue("true")] bool updateMipmaps, [DefaultValue("false")] bool makeNoLongerReadable); // Token: 0x06000F58 RID: 3928 RVA: 0x00014F34 File Offset: 0x00013134 [ExcludeFromDocs] public void Apply(bool updateMipmaps) { bool flag = false; this.Apply(updateMipmaps, flag); } // Token: 0x06000F59 RID: 3929 RVA: 0x00014F4C File Offset: 0x0001314C [ExcludeFromDocs] public void Apply() { bool flag = false; bool flag2 = true; this.Apply(flag2, flag); } // Token: 0x06000F5A RID: 3930 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_Create([Writable] CubemapArray mono, int faceSize, int cubemapCount, TextureFormat format, bool mipmap, bool linear); // Token: 0x06000F5B RID: 3931 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void SetPixels(Color[] colors, CubemapFace face, int arrayElement, [DefaultValue("0")] int miplevel); // Token: 0x06000F5C RID: 3932 RVA: 0x00014F68 File Offset: 0x00013168 [ExcludeFromDocs] public void SetPixels(Color[] colors, CubemapFace face, int arrayElement) { int num = 0; this.SetPixels(colors, face, arrayElement, num); } // Token: 0x06000F5D RID: 3933 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void SetPixels32(Color32[] colors, CubemapFace face, int arrayElement, [DefaultValue("0")] int miplevel); // Token: 0x06000F5E RID: 3934 RVA: 0x00014F84 File Offset: 0x00013184 [ExcludeFromDocs] public void SetPixels32(Color32[] colors, CubemapFace face, int arrayElement) { int num = 0; this.SetPixels32(colors, face, arrayElement, num); } // Token: 0x06000F5F RID: 3935 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern Color[] GetPixels(CubemapFace face, int arrayElement, [DefaultValue("0")] int miplevel); // Token: 0x06000F60 RID: 3936 RVA: 0x00014FA0 File Offset: 0x000131A0 [ExcludeFromDocs] public Color[] GetPixels(CubemapFace face, int arrayElement) { int num = 0; return this.GetPixels(face, arrayElement, num); } // Token: 0x06000F61 RID: 3937 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern Color32[] GetPixels32(CubemapFace face, int arrayElement, [DefaultValue("0")] int miplevel); // Token: 0x06000F62 RID: 3938 RVA: 0x00014FC0 File Offset: 0x000131C0 [ExcludeFromDocs] public Color32[] GetPixels32(CubemapFace face, int arrayElement) { int num = 0; return this.GetPixels32(face, arrayElement, num); } } }