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

namespace UnityEngine.PostProcessing
{
	// Token: 0x0200058C RID: 1420
	[Serializable]
	public class PostProcessingModel : Object
	{
		// Token: 0x17003347 RID: 13127
		// (get) Token: 0x0600977C RID: 38780 RVA: 0x0026E518 File Offset: 0x0026C718
		// (set) Token: 0x0600977D RID: 38781 RVA: 0x0026E568 File Offset: 0x0026C768
		public unsafe bool enabled
		{
			[CallerCount(1)]
			[CachedScanResults(RefRangeStart = 6570, RefRangeEnd = 6571, XrefRangeStart = 6570, XrefRangeEnd = 6571, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PostProcessingModel.NativeMethodInfoPtr_get_enabled_Public_get_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return *IL2CPP.il2cpp_object_unbox(intPtr);
			}
			[CallerCount(0)]
			set
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				checked
				{
					IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
					*ptr = ref value;
					IntPtr intPtr2;
					IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PostProcessingModel.NativeMethodInfoPtr_set_enabled_Public_set_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
					Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				}
			}
		}

		// Token: 0x0600977E RID: 38782 RVA: 0x0026E5BC File Offset: 0x0026C7BC
		[CallerCount(0)]
		public unsafe virtual 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), PostProcessingModel.NativeMethodInfoPtr_Reset_Public_Abstract_Virtual_New_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600977F RID: 38783 RVA: 0x0026E60C File Offset: 0x0026C80C
		[CallerCount(5585)]
		[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5609, XrefRangeStart = 24, XrefRangeEnd = 5609, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe virtual void OnValidate()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), PostProcessingModel.NativeMethodInfoPtr_OnValidate_Public_Virtual_New_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009780 RID: 38784 RVA: 0x0026E65C File Offset: 0x0026C85C
		[CallerCount(1642)]
		[CachedScanResults(RefRangeStart = 7417, RefRangeEnd = 9059, XrefRangeStart = 7417, XrefRangeEnd = 9059, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe PostProcessingModel()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<PostProcessingModel>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PostProcessingModel.NativeMethodInfoPtr__ctor_Protected_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009781 RID: 38785 RVA: 0x0026E6A8 File Offset: 0x0026C8A8
		// Note: this type is marked as 'beforefieldinit'.
		static PostProcessingModel()
		{
			Il2CppClassPointerStore<PostProcessingModel>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "UnityEngine.PostProcessing", "PostProcessingModel");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<PostProcessingModel>.NativeClassPtr);
			PostProcessingModel.NativeFieldInfoPtr_m_Enabled = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PostProcessingModel>.NativeClassPtr, "m_Enabled");
			PostProcessingModel.NativeMethodInfoPtr_get_enabled_Public_get_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingModel>.NativeClassPtr, 100675086);
			PostProcessingModel.NativeMethodInfoPtr_set_enabled_Public_set_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingModel>.NativeClassPtr, 100675087);
			PostProcessingModel.NativeMethodInfoPtr_Reset_Public_Abstract_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingModel>.NativeClassPtr, 100675088);
			PostProcessingModel.NativeMethodInfoPtr_OnValidate_Public_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingModel>.NativeClassPtr, 100675089);
			PostProcessingModel.NativeMethodInfoPtr__ctor_Protected_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingModel>.NativeClassPtr, 100675090);
		}

		// Token: 0x06009782 RID: 38786 RVA: 0x0000A688 File Offset: 0x00008888
		public PostProcessingModel(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17003346 RID: 13126
		// (get) Token: 0x06009783 RID: 38787 RVA: 0x0026E750 File Offset: 0x0026C950
		// (set) Token: 0x06009784 RID: 38788 RVA: 0x0026E778 File Offset: 0x0026C978
		public unsafe bool m_Enabled
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PostProcessingModel.NativeFieldInfoPtr_m_Enabled);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PostProcessingModel.NativeFieldInfoPtr_m_Enabled)) = value;
			}
		}

		// Token: 0x040065AF RID: 26031
		private static readonly IntPtr NativeFieldInfoPtr_m_Enabled;

		// Token: 0x040065B0 RID: 26032
		private static readonly IntPtr NativeMethodInfoPtr_get_enabled_Public_get_Boolean_0;

		// Token: 0x040065B1 RID: 26033
		private static readonly IntPtr NativeMethodInfoPtr_set_enabled_Public_set_Void_Boolean_0;

		// Token: 0x040065B2 RID: 26034
		private static readonly IntPtr NativeMethodInfoPtr_Reset_Public_Abstract_Virtual_New_Void_0;

		// Token: 0x040065B3 RID: 26035
		private static readonly IntPtr NativeMethodInfoPtr_OnValidate_Public_Virtual_New_Void_0;

		// Token: 0x040065B4 RID: 26036
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Protected_Void_0;
	}
}
