using System; using System.Runtime.CompilerServices; using UnityEngine.Scripting; namespace UnityEngine { // Token: 0x020000D3 RID: 211 public sealed class SparseTexture : Texture { // Token: 0x06000F63 RID: 3939 RVA: 0x00014FE0 File Offset: 0x000131E0 public SparseTexture(int width, int height, TextureFormat format, int mipCount) { SparseTexture.Internal_Create(this, width, height, format, mipCount, false); } // Token: 0x06000F64 RID: 3940 RVA: 0x00014FF8 File Offset: 0x000131F8 public SparseTexture(int width, int height, TextureFormat format, int mipCount, bool linear) { SparseTexture.Internal_Create(this, width, height, format, mipCount, linear); } // Token: 0x17000332 RID: 818 // (get) Token: 0x06000F65 RID: 3941 public extern int tileWidth { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; } // Token: 0x17000333 RID: 819 // (get) Token: 0x06000F66 RID: 3942 public extern int tileHeight { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; } // Token: 0x17000334 RID: 820 // (get) Token: 0x06000F67 RID: 3943 public extern bool isCreated { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; } // Token: 0x06000F68 RID: 3944 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_Create([Writable] SparseTexture mono, int width, int height, TextureFormat format, int mipCount, bool linear); // Token: 0x06000F69 RID: 3945 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void UpdateTile(int tileX, int tileY, int miplevel, Color32[] data); // Token: 0x06000F6A RID: 3946 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void UpdateTileRaw(int tileX, int tileY, int miplevel, byte[] data); // Token: 0x06000F6B RID: 3947 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void UnloadTile(int tileX, int tileY, int miplevel); } }