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

namespace UnityEngine.PostProcessing
{
	// Token: 0x020005E4 RID: 1508
	[Serializable]
	public class PostProcessingModel : Object
	{
		// Token: 0x170035E2 RID: 13794
		// (get) Token: 0x06009FCF RID: 40911 RVA: 0x00291254 File Offset: 0x0028F454
		// (set) Token: 0x06009FD0 RID: 40912 RVA: 0x002912A4 File Offset: 0x0028F4A4
		public unsafe bool enabled
		{
			[CallerCount(1)]
			[CachedScanResults(RefRangeStart = 6864, RefRangeEnd = 6865, XrefRangeStart = 6864, XrefRangeEnd = 6865, 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: 0x06009FD1 RID: 40913 RVA: 0x002912F8 File Offset: 0x0028F4F8
		[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: 0x06009FD2 RID: 40914 RVA: 0x00291348 File Offset: 0x0028F548
		[CallerCount(5874)]
		[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, 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: 0x06009FD3 RID: 40915 RVA: 0x00291398 File Offset: 0x0028F598
		[CallerCount(1664)]
		[CachedScanResults(RefRangeStart = 7711, RefRangeEnd = 9375, XrefRangeStart = 7711, XrefRangeEnd = 9375, 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: 0x06009FD4 RID: 40916 RVA: 0x002913E4 File Offset: 0x0028F5E4
		// 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, 100675799);
			PostProcessingModel.NativeMethodInfoPtr_set_enabled_Public_set_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingModel>.NativeClassPtr, 100675800);
			PostProcessingModel.NativeMethodInfoPtr_Reset_Public_Abstract_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingModel>.NativeClassPtr, 100675801);
			PostProcessingModel.NativeMethodInfoPtr_OnValidate_Public_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingModel>.NativeClassPtr, 100675802);
			PostProcessingModel.NativeMethodInfoPtr__ctor_Protected_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingModel>.NativeClassPtr, 100675803);
		}

		// Token: 0x06009FD5 RID: 40917 RVA: 0x0000A74C File Offset: 0x0000894C
		public PostProcessingModel(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170035E1 RID: 13793
		// (get) Token: 0x06009FD6 RID: 40918 RVA: 0x0029148C File Offset: 0x0028F68C
		// (set) Token: 0x06009FD7 RID: 40919 RVA: 0x002914B4 File Offset: 0x0028F6B4
		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: 0x04006B58 RID: 27480
		private static readonly IntPtr NativeFieldInfoPtr_m_Enabled;

		// Token: 0x04006B59 RID: 27481
		private static readonly IntPtr NativeMethodInfoPtr_get_enabled_Public_get_Boolean_0;

		// Token: 0x04006B5A RID: 27482
		private static readonly IntPtr NativeMethodInfoPtr_set_enabled_Public_set_Void_Boolean_0;

		// Token: 0x04006B5B RID: 27483
		private static readonly IntPtr NativeMethodInfoPtr_Reset_Public_Abstract_Virtual_New_Void_0;

		// Token: 0x04006B5C RID: 27484
		private static readonly IntPtr NativeMethodInfoPtr_OnValidate_Public_Virtual_New_Void_0;

		// Token: 0x04006B5D RID: 27485
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Protected_Void_0;
	}
}
