using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using UnityEngine.Internal; using UnityEngine.Scripting; namespace UnityEngine { // Token: 0x020000D6 RID: 214 [UsedByNativeCode] public sealed class CustomRenderTexture : RenderTexture { // Token: 0x06000FC8 RID: 4040 RVA: 0x000155B8 File Offset: 0x000137B8 public CustomRenderTexture(int width, int height, RenderTextureFormat format, RenderTextureReadWrite readWrite) : base(width, height, 0, format, readWrite) { } // Token: 0x06000FC9 RID: 4041 RVA: 0x000155C8 File Offset: 0x000137C8 public CustomRenderTexture(int width, int height, RenderTextureFormat format) : base(width, height, 0, format) { } // Token: 0x06000FCA RID: 4042 RVA: 0x000155D8 File Offset: 0x000137D8 public CustomRenderTexture(int width, int height) : base(width, height, 0) { } // Token: 0x06000FCB RID: 4043 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void Update([DefaultValue("1")] int count); // Token: 0x06000FCC RID: 4044 RVA: 0x000155E4 File Offset: 0x000137E4 [ExcludeFromDocs] public void Update() { int num = 1; this.Update(num); } // Token: 0x06000FCD RID: 4045 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void Initialize(); // Token: 0x06000FCE RID: 4046 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void ClearUpdateZones(); // Token: 0x1700034A RID: 842 // (get) Token: 0x06000FCF RID: 4047 // (set) Token: 0x06000FD0 RID: 4048 public extern Material material { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x1700034B RID: 843 // (get) Token: 0x06000FD1 RID: 4049 // (set) Token: 0x06000FD2 RID: 4050 public extern Material initializationMaterial { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x1700034C RID: 844 // (get) Token: 0x06000FD3 RID: 4051 // (set) Token: 0x06000FD4 RID: 4052 public extern Texture initializationTexture { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x06000FD5 RID: 4053 RVA: 0x000155FC File Offset: 0x000137FC private bool IsCubemapFaceEnabled(CubemapFace face) { return ((ulong)this.cubemapFaceMask & (ulong)(1L << (int)(face & (CubemapFace)31))) != 0UL; } // Token: 0x06000FD6 RID: 4054 RVA: 0x00015628 File Offset: 0x00013828 private void EnableCubemapFace(CubemapFace face, bool value) { uint num = this.cubemapFaceMask; uint num2 = 1U << (int)face; if (value) { num |= num2; } else { num &= ~num2; } this.cubemapFaceMask = num; } // Token: 0x06000FD7 RID: 4055 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] internal extern void GetUpdateZonesInternal(object updateZones); // Token: 0x06000FD8 RID: 4056 RVA: 0x00015660 File Offset: 0x00013860 public void GetUpdateZones(List updateZones) { this.GetUpdateZonesInternal(updateZones); } // Token: 0x06000FD9 RID: 4057 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private extern void SetUpdateZonesInternal(CustomRenderTextureUpdateZone[] updateZones); // Token: 0x06000FDA RID: 4058 RVA: 0x0001566C File Offset: 0x0001386C public void SetUpdateZones(CustomRenderTextureUpdateZone[] updateZones) { if (updateZones == null) { throw new ArgumentNullException("updateZones"); } this.SetUpdateZonesInternal(updateZones); } // Token: 0x1700034D RID: 845 // (get) Token: 0x06000FDB RID: 4059 // (set) Token: 0x06000FDC RID: 4060 public extern CustomRenderTextureInitializationSource initializationSource { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x1700034E RID: 846 // (get) Token: 0x06000FDD RID: 4061 RVA: 0x00015688 File Offset: 0x00013888 // (set) Token: 0x06000FDE RID: 4062 RVA: 0x000156A8 File Offset: 0x000138A8 public Color initializationColor { get { Color color; this.INTERNAL_get_initializationColor(out color); return color; } set { this.INTERNAL_set_initializationColor(ref value); } } // Token: 0x06000FDF RID: 4063 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private extern void INTERNAL_get_initializationColor(out Color value); // Token: 0x06000FE0 RID: 4064 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private extern void INTERNAL_set_initializationColor(ref Color value); // Token: 0x1700034F RID: 847 // (get) Token: 0x06000FE1 RID: 4065 // (set) Token: 0x06000FE2 RID: 4066 public extern CustomRenderTextureUpdateMode updateMode { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x17000350 RID: 848 // (get) Token: 0x06000FE3 RID: 4067 // (set) Token: 0x06000FE4 RID: 4068 public extern CustomRenderTextureUpdateMode initializationMode { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x17000351 RID: 849 // (get) Token: 0x06000FE5 RID: 4069 // (set) Token: 0x06000FE6 RID: 4070 public extern CustomRenderTextureUpdateZoneSpace updateZoneSpace { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x17000352 RID: 850 // (get) Token: 0x06000FE7 RID: 4071 // (set) Token: 0x06000FE8 RID: 4072 public extern int shaderPass { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x17000353 RID: 851 // (get) Token: 0x06000FE9 RID: 4073 // (set) Token: 0x06000FEA RID: 4074 public extern uint cubemapFaceMask { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x17000354 RID: 852 // (get) Token: 0x06000FEB RID: 4075 // (set) Token: 0x06000FEC RID: 4076 public extern bool doubleBuffered { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x17000355 RID: 853 // (get) Token: 0x06000FED RID: 4077 // (set) Token: 0x06000FEE RID: 4078 public extern bool wrapUpdateZones { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } } }