using System;
using Cpp2IlInjected;

namespace UnityEngine.PostProcessing
{
	// Token: 0x02000556 RID: 1366
	[Token(Token = "0x2000556")]
	[Serializable]
	public class DitheringModel : PostProcessingModel
	{
		// Token: 0x17000356 RID: 854
		// (get) Token: 0x06002DBA RID: 11706 RVA: 0x00062210 File Offset: 0x00060410
		// (set) Token: 0x06002DBB RID: 11707 RVA: 0x00062224 File Offset: 0x00060424
		[Token(Token = "0x17000356")]
		public DitheringModel.Settings settings
		{
			[Token(Token = "0x6002DBA")]
			[Address(RVA = "0x3FBFE0", Offset = "0x3FADE0", VA = "0x1803FBFE0")]
			get
			{
				return this.m_Settings;
			}
			[Token(Token = "0x6002DBB")]
			[Address(RVA = "0x3FC010", Offset = "0x3FAE10", VA = "0x1803FC010")]
			set
			{
				this.m_Settings = value;
			}
		}

		// Token: 0x06002DBC RID: 11708 RVA: 0x00062238 File Offset: 0x00060438
		[Token(Token = "0x6002DBC")]
		[Address(RVA = "0x13CFF90", Offset = "0x13CED90", VA = "0x1813CFF90", Slot = "4")]
		public override void Reset()
		{
			bool allowHex = 0.AllowHex;
			this.m_Settings = allowHex;
		}

		// Token: 0x06002DBD RID: 11709 RVA: 0x00062254 File Offset: 0x00060454
		[Token(Token = "0x6002DBD")]
		[Address(RVA = "0x13CFFB0", Offset = "0x13CEDB0", VA = "0x1813CFFB0")]
		public DitheringModel()
		{
			bool allowHex = 0.AllowHex;
			this.m_Settings = allowHex;
			base..ctor();
		}

		// Token: 0x04003686 RID: 13958
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4003686")]
		[SerializeField]
		private DitheringModel.Settings m_Settings;

		// Token: 0x02000557 RID: 1367
		[Token(Token = "0x2000557")]
		[Serializable]
		public struct Settings
		{
			// Token: 0x17000357 RID: 855
			// (get) Token: 0x06002DBE RID: 11710 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x17000357")]
			public static DitheringModel.Settings defaultSettings
			{
				[Token(Token = "0x6002DBE")]
				[Address(RVA = "0x290BB0", Offset = "0x28F9B0", VA = "0x180290BB0")]
				get
				{
					throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
				}
			}
		}
	}
}
