using System;
using Cpp2IlInjected;

namespace UnityEngine.PostProcessing
{
	// Token: 0x020005AE RID: 1454
	[Token(Token = "0x20005AE")]
	[Serializable]
	public class DitheringModel : PostProcessingModel
	{
		// Token: 0x1700037B RID: 891
		// (get) Token: 0x06003083 RID: 12419 RVA: 0x000694E0 File Offset: 0x000676E0
		// (set) Token: 0x06003084 RID: 12420 RVA: 0x000694F4 File Offset: 0x000676F4
		[Token(Token = "0x1700037B")]
		public DitheringModel.Settings settings
		{
			[Token(Token = "0x6003083")]
			[Address(RVA = "0x368050", Offset = "0x367050", VA = "0x180368050")]
			get
			{
				return this.m_Settings;
			}
			[Token(Token = "0x6003084")]
			[Address(RVA = "0x368060", Offset = "0x367060", VA = "0x180368060")]
			set
			{
				this.m_Settings = value;
			}
		}

		// Token: 0x06003085 RID: 12421 RVA: 0x00069508 File Offset: 0x00067708
		[Token(Token = "0x6003085")]
		[Address(RVA = "0x17E0C50", Offset = "0x17DFC50", VA = "0x1817E0C50", Slot = "4")]
		public override void Reset()
		{
			bool allowHex = 0.AllowHex;
			this.m_Settings = allowHex;
		}

		// Token: 0x06003086 RID: 12422 RVA: 0x00069524 File Offset: 0x00067724
		[Token(Token = "0x6003086")]
		[Address(RVA = "0x17E0C70", Offset = "0x17DFC70", VA = "0x1817E0C70")]
		public DitheringModel()
		{
			bool allowHex = 0.AllowHex;
			this.m_Settings = allowHex;
			base..ctor();
		}

		// Token: 0x04003970 RID: 14704
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4003970")]
		[SerializeField]
		private DitheringModel.Settings m_Settings;

		// Token: 0x020005AF RID: 1455
		[Token(Token = "0x20005AF")]
		[Serializable]
		public struct Settings
		{
			// Token: 0x1700037C RID: 892
			// (get) Token: 0x06003087 RID: 12423 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x1700037C")]
			public static DitheringModel.Settings defaultSettings
			{
				[Token(Token = "0x6003087")]
				[Address(RVA = "0x29A960", Offset = "0x299960", VA = "0x18029A960")]
				get
				{
					throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
				}
			}
		}
	}
}
