using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppSystem;

namespace UnityEngine.PostProcessing
{
	// Token: 0x0200057D RID: 1405
	[Serializable]
	public class VignetteModel : PostProcessingModel
	{
		// Token: 0x1700330F RID: 13071
		// (get) Token: 0x060096D8 RID: 38616 RVA: 0x0026B790 File Offset: 0x00269990
		// (set) Token: 0x060096D9 RID: 38617 RVA: 0x0026B7DC File Offset: 0x002699DC
		public unsafe VignetteModel.Settings settings
		{
			[CallerCount(0)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VignetteModel.NativeMethodInfoPtr_get_settings_Public_get_Settings_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return new VignetteModel.Settings(intPtr);
			}
			[CallerCount(0)]
			[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616582, XrefRangeEnd = 616583, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			set
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				checked
				{
					IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
					*ptr = IL2CPP.il2cpp_object_unbox(IL2CPP.Il2CppObjectBaseToPtrNotNull(value));
					IntPtr intPtr2;
					IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VignetteModel.NativeMethodInfoPtr_set_settings_Public_set_Void_Settings_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
					Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				}
			}
		}

		// Token: 0x060096DA RID: 38618 RVA: 0x0026B83C File Offset: 0x00269A3C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616583, XrefRangeEnd = 616585, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override void Reset()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), VignetteModel.NativeMethodInfoPtr_Reset_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060096DB RID: 38619 RVA: 0x0026B88C File Offset: 0x00269A8C
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 616588, RefRangeEnd = 616589, XrefRangeStart = 616585, XrefRangeEnd = 616588, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe VignetteModel()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<VignetteModel>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VignetteModel.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060096DC RID: 38620 RVA: 0x0026B8D8 File Offset: 0x00269AD8
		// Note: this type is marked as 'beforefieldinit'.
		static VignetteModel()
		{
			Il2CppClassPointerStore<VignetteModel>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "UnityEngine.PostProcessing", "VignetteModel");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<VignetteModel>.NativeClassPtr);
			VignetteModel.NativeFieldInfoPtr_m_Settings = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VignetteModel>.NativeClassPtr, "m_Settings");
			VignetteModel.NativeMethodInfoPtr_get_settings_Public_get_Settings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VignetteModel>.NativeClassPtr, 100675037);
			VignetteModel.NativeMethodInfoPtr_set_settings_Public_set_Void_Settings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VignetteModel>.NativeClassPtr, 100675038);
			VignetteModel.NativeMethodInfoPtr_Reset_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VignetteModel>.NativeClassPtr, 100675039);
			VignetteModel.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VignetteModel>.NativeClassPtr, 100675040);
		}

		// Token: 0x060096DD RID: 38621 RVA: 0x002671A0 File Offset: 0x002653A0
		public VignetteModel(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x1700330E RID: 13070
		// (get) Token: 0x060096DE RID: 38622 RVA: 0x0026B96C File Offset: 0x00269B6C
		// (set) Token: 0x060096DF RID: 38623 RVA: 0x0026B99E File Offset: 0x00269B9E
		public VignetteModel.Settings m_Settings
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VignetteModel.NativeFieldInfoPtr_m_Settings);
				return new VignetteModel.Settings(IL2CPP.il2cpp_value_box(Il2CppClassPointerStore<VignetteModel.Settings>.NativeClassPtr, intPtr));
			}
			set
			{
				cpblk(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VignetteModel.NativeFieldInfoPtr_m_Settings), IL2CPP.il2cpp_object_unbox(IL2CPP.Il2CppObjectBaseToPtr(value)), IL2CPP.il2cpp_class_value_size(Il2CppClassPointerStore<VignetteModel.Settings>.NativeClassPtr, (UIntPtr)0));
			}
		}

		// Token: 0x04006547 RID: 25927
		private static readonly IntPtr NativeFieldInfoPtr_m_Settings;

		// Token: 0x04006548 RID: 25928
		private static readonly IntPtr NativeMethodInfoPtr_get_settings_Public_get_Settings_0;

		// Token: 0x04006549 RID: 25929
		private static readonly IntPtr NativeMethodInfoPtr_set_settings_Public_set_Void_Settings_0;

		// Token: 0x0400654A RID: 25930
		private static readonly IntPtr NativeMethodInfoPtr_Reset_Public_Virtual_Void_0;

		// Token: 0x0400654B RID: 25931
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

		// Token: 0x0200057E RID: 1406
		public enum Mode
		{
			// Token: 0x0400654D RID: 25933
			Classic,
			// Token: 0x0400654E RID: 25934
			Masked
		}

		// Token: 0x0200057F RID: 1407
		[Serializable]
		public sealed class Settings : ValueType
		{
			// Token: 0x17003319 RID: 13081
			// (get) Token: 0x060096E0 RID: 38624 RVA: 0x0026B9D4 File Offset: 0x00269BD4
			public unsafe static VignetteModel.Settings defaultSettings
			{
				[CallerCount(2)]
				[CachedScanResults(RefRangeStart = 616580, RefRangeEnd = 616582, XrefRangeStart = 616578, XrefRangeEnd = 616580, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
				get
				{
					IntPtr* ptr = null;
					IntPtr intPtr2;
					IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VignetteModel.Settings.NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_Settings_0, 0, (void**)ptr, ref intPtr2);
					Il2CppException.RaiseExceptionIfNecessary(intPtr2);
					return new VignetteModel.Settings(intPtr);
				}
			}

			// Token: 0x060096E1 RID: 38625 RVA: 0x0026BA10 File Offset: 0x00269C10
			// Note: this type is marked as 'beforefieldinit'.
			static Settings()
			{
				Il2CppClassPointerStore<VignetteModel.Settings>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<VignetteModel>.NativeClassPtr, "Settings");
				IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<VignetteModel.Settings>.NativeClassPtr);
				VignetteModel.Settings.NativeFieldInfoPtr_mode = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VignetteModel.Settings>.NativeClassPtr, "mode");
				VignetteModel.Settings.NativeFieldInfoPtr_color = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VignetteModel.Settings>.NativeClassPtr, "color");
				VignetteModel.Settings.NativeFieldInfoPtr_center = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VignetteModel.Settings>.NativeClassPtr, "center");
				VignetteModel.Settings.NativeFieldInfoPtr_intensity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VignetteModel.Settings>.NativeClassPtr, "intensity");
				VignetteModel.Settings.NativeFieldInfoPtr_smoothness = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VignetteModel.Settings>.NativeClassPtr, "smoothness");
				VignetteModel.Settings.NativeFieldInfoPtr_roundness = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VignetteModel.Settings>.NativeClassPtr, "roundness");
				VignetteModel.Settings.NativeFieldInfoPtr_mask = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VignetteModel.Settings>.NativeClassPtr, "mask");
				VignetteModel.Settings.NativeFieldInfoPtr_opacity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VignetteModel.Settings>.NativeClassPtr, "opacity");
				VignetteModel.Settings.NativeFieldInfoPtr_rounded = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VignetteModel.Settings>.NativeClassPtr, "rounded");
				VignetteModel.Settings.NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_Settings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VignetteModel.Settings>.NativeClassPtr, 100675041);
			}

			// Token: 0x060096E2 RID: 38626 RVA: 0x0011646F File Offset: 0x0011466F
			public Settings(IntPtr pointer)
				: base(pointer)
			{
			}

			// Token: 0x060096E3 RID: 38627 RVA: 0x0026BB04 File Offset: 0x00269D04
			public unsafe Settings()
			{
				IntPtr intPtr = stackalloc byte[(UIntPtr)IL2CPP.il2cpp_class_value_size(Il2CppClassPointerStore<VignetteModel.Settings>.NativeClassPtr, (UIntPtr)0)];
				base..ctor(IL2CPP.il2cpp_value_box(Il2CppClassPointerStore<VignetteModel.Settings>.NativeClassPtr, intPtr));
			}

			// Token: 0x17003310 RID: 13072
			// (get) Token: 0x060096E4 RID: 38628 RVA: 0x0026BB34 File Offset: 0x00269D34
			// (set) Token: 0x060096E5 RID: 38629 RVA: 0x0026BB5C File Offset: 0x00269D5C
			public unsafe VignetteModel.Mode mode
			{
				get
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VignetteModel.Settings.NativeFieldInfoPtr_mode);
					return *intPtr;
				}
				set
				{
					*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VignetteModel.Settings.NativeFieldInfoPtr_mode)) = value;
				}
			}

			// Token: 0x17003311 RID: 13073
			// (get) Token: 0x060096E6 RID: 38630 RVA: 0x0026BB80 File Offset: 0x00269D80
			// (set) Token: 0x060096E7 RID: 38631 RVA: 0x0026BBA8 File Offset: 0x00269DA8
			public unsafe Color color
			{
				get
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VignetteModel.Settings.NativeFieldInfoPtr_color);
					return *intPtr;
				}
				set
				{
					*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VignetteModel.Settings.NativeFieldInfoPtr_color)) = value;
				}
			}

			// Token: 0x17003312 RID: 13074
			// (get) Token: 0x060096E8 RID: 38632 RVA: 0x0026BBCC File Offset: 0x00269DCC
			// (set) Token: 0x060096E9 RID: 38633 RVA: 0x0026BBF4 File Offset: 0x00269DF4
			public unsafe Vector2 center
			{
				get
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VignetteModel.Settings.NativeFieldInfoPtr_center);
					return *intPtr;
				}
				set
				{
					*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VignetteModel.Settings.NativeFieldInfoPtr_center)) = value;
				}
			}

			// Token: 0x17003313 RID: 13075
			// (get) Token: 0x060096EA RID: 38634 RVA: 0x0026BC18 File Offset: 0x00269E18
			// (set) Token: 0x060096EB RID: 38635 RVA: 0x0026BC40 File Offset: 0x00269E40
			public unsafe float intensity
			{
				get
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VignetteModel.Settings.NativeFieldInfoPtr_intensity);
					return *intPtr;
				}
				set
				{
					*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VignetteModel.Settings.NativeFieldInfoPtr_intensity)) = value;
				}
			}

			// Token: 0x17003314 RID: 13076
			// (get) Token: 0x060096EC RID: 38636 RVA: 0x0026BC64 File Offset: 0x00269E64
			// (set) Token: 0x060096ED RID: 38637 RVA: 0x0026BC8C File Offset: 0x00269E8C
			public unsafe float smoothness
			{
				get
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VignetteModel.Settings.NativeFieldInfoPtr_smoothness);
					return *intPtr;
				}
				set
				{
					*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VignetteModel.Settings.NativeFieldInfoPtr_smoothness)) = value;
				}
			}

			// Token: 0x17003315 RID: 13077
			// (get) Token: 0x060096EE RID: 38638 RVA: 0x0026BCB0 File Offset: 0x00269EB0
			// (set) Token: 0x060096EF RID: 38639 RVA: 0x0026BCD8 File Offset: 0x00269ED8
			public unsafe float roundness
			{
				get
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VignetteModel.Settings.NativeFieldInfoPtr_roundness);
					return *intPtr;
				}
				set
				{
					*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VignetteModel.Settings.NativeFieldInfoPtr_roundness)) = value;
				}
			}

			// Token: 0x17003316 RID: 13078
			// (get) Token: 0x060096F0 RID: 38640 RVA: 0x0026BCFC File Offset: 0x00269EFC
			// (set) Token: 0x060096F1 RID: 38641 RVA: 0x0026BD30 File Offset: 0x00269F30
			public unsafe Texture mask
			{
				get
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VignetteModel.Settings.NativeFieldInfoPtr_mask);
					IntPtr intPtr2 = *intPtr;
					return (intPtr2 != 0) ? new Texture(intPtr2) : null;
				}
				set
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
					IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(VignetteModel.Settings.NativeFieldInfoPtr_mask), IL2CPP.Il2CppObjectBaseToPtr(value));
				}
			}

			// Token: 0x17003317 RID: 13079
			// (get) Token: 0x060096F2 RID: 38642 RVA: 0x0026BD58 File Offset: 0x00269F58
			// (set) Token: 0x060096F3 RID: 38643 RVA: 0x0026BD80 File Offset: 0x00269F80
			public unsafe float opacity
			{
				get
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VignetteModel.Settings.NativeFieldInfoPtr_opacity);
					return *intPtr;
				}
				set
				{
					*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VignetteModel.Settings.NativeFieldInfoPtr_opacity)) = value;
				}
			}

			// Token: 0x17003318 RID: 13080
			// (get) Token: 0x060096F4 RID: 38644 RVA: 0x0026BDA4 File Offset: 0x00269FA4
			// (set) Token: 0x060096F5 RID: 38645 RVA: 0x0026BDCC File Offset: 0x00269FCC
			public unsafe bool rounded
			{
				get
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VignetteModel.Settings.NativeFieldInfoPtr_rounded);
					return *intPtr;
				}
				set
				{
					*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VignetteModel.Settings.NativeFieldInfoPtr_rounded)) = value;
				}
			}

			// Token: 0x0400654F RID: 25935
			private static readonly IntPtr NativeFieldInfoPtr_mode;

			// Token: 0x04006550 RID: 25936
			private static readonly IntPtr NativeFieldInfoPtr_color;

			// Token: 0x04006551 RID: 25937
			private static readonly IntPtr NativeFieldInfoPtr_center;

			// Token: 0x04006552 RID: 25938
			private static readonly IntPtr NativeFieldInfoPtr_intensity;

			// Token: 0x04006553 RID: 25939
			private static readonly IntPtr NativeFieldInfoPtr_smoothness;

			// Token: 0x04006554 RID: 25940
			private static readonly IntPtr NativeFieldInfoPtr_roundness;

			// Token: 0x04006555 RID: 25941
			private static readonly IntPtr NativeFieldInfoPtr_mask;

			// Token: 0x04006556 RID: 25942
			private static readonly IntPtr NativeFieldInfoPtr_opacity;

			// Token: 0x04006557 RID: 25943
			private static readonly IntPtr NativeFieldInfoPtr_rounded;

			// Token: 0x04006558 RID: 25944
			private static readonly IntPtr NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_Settings_0;
		}
	}
}
