using System;
using Cpp2IlInjected;

namespace UnityEngine.PostProcessing
{
	// Token: 0x020005CB RID: 1483
	[Token(Token = "0x20005CB")]
	[Serializable]
	public abstract class PostProcessingModel
	{
		// Token: 0x17000393 RID: 915
		// (get) Token: 0x060030D7 RID: 12503 RVA: 0x000698D0 File Offset: 0x00067AD0
		// (set) Token: 0x060030D8 RID: 12504 RVA: 0x000698E4 File Offset: 0x00067AE4
		[Token(Token = "0x17000393")]
		public bool enabled
		{
			[Token(Token = "0x60030D7")]
			[Address(RVA = "0x335430", Offset = "0x334430", VA = "0x180335430")]
			get
			{
				return this.m_Enabled;
			}
			[Token(Token = "0x60030D8")]
			[Address(RVA = "0xEBC480", Offset = "0xEBB480", VA = "0x180EBC480")]
			set
			{
				this.m_Enabled = value;
				if (value)
				{
					this.Reset();
					return;
				}
			}
		}

		// Token: 0x060030D9 RID: 12505
		[Token(Token = "0x60030D9")]
		[Address(Slot = "4")]
		public abstract void Reset();

		// Token: 0x060030DA RID: 12506 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60030DA")]
		[Address(RVA = "0x29E8B0", Offset = "0x29D8B0", VA = "0x18029E8B0", Slot = "5")]
		public virtual void OnValidate()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060030DB RID: 12507 RVA: 0x00069904 File Offset: 0x00067B04
		[Token(Token = "0x60030DB")]
		[Address(RVA = "0x36ABD0", Offset = "0x369BD0", VA = "0x18036ABD0")]
		protected PostProcessingModel()
		{
			this.OnValidate();
		}

		// Token: 0x040039D6 RID: 14806
		[FieldOffset(Offset = "0x10")]
		[Token(Token = "0x40039D6")]
		[SerializeField]
		[GetSet("enabled")]
		private bool m_Enabled;
	}
}
