using System;
using Cpp2IlInjected;

namespace UnityEngine.PostProcessing
{
	// Token: 0x0200059E RID: 1438
	[Token(Token = "0x200059E")]
	[Serializable]
	public class ChromaticAberrationModel : PostProcessingModel
	{
		// Token: 0x1700036C RID: 876
		// (get) Token: 0x06003068 RID: 12392 RVA: 0x000020D3 File Offset: 0x000002D3
		// (set) Token: 0x06003069 RID: 12393 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x1700036C")]
		public ChromaticAberrationModel.Settings settings
		{
			[Token(Token = "0x6003068")]
			[Address(RVA = "0x487020", Offset = "0x486020", VA = "0x180487020")]
			get
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
			[Token(Token = "0x6003069")]
			[Address(RVA = "0x4ADAA0", Offset = "0x4ACAA0", VA = "0x1804ADAA0")]
			set
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}

		// Token: 0x0600306A RID: 12394 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600306A")]
		[Address(RVA = "0xB99DC0", Offset = "0xB98DC0", VA = "0x180B99DC0", Slot = "4")]
		public override void Reset()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600306B RID: 12395 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600306B")]
		[Address(RVA = "0xB99DF0", Offset = "0xB98DF0", VA = "0x180B99DF0")]
		public ChromaticAberrationModel()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0400392C RID: 14636
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x400392C")]
		[SerializeField]
		private ChromaticAberrationModel.Settings m_Settings;

		// Token: 0x0200059F RID: 1439
		[Token(Token = "0x200059F")]
		[Serializable]
		public struct Settings
		{
			// Token: 0x1700036D RID: 877
			// (get) Token: 0x0600306C RID: 12396 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x1700036D")]
			public static ChromaticAberrationModel.Settings defaultSettings
			{
				[Token(Token = "0x600306C")]
				[Address(RVA = "0x19BDC30", Offset = "0x19BCC30", VA = "0x1819BDC30")]
				get
				{
					throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
				}
			}

			// Token: 0x0400392D RID: 14637
			[FieldOffset(Offset = "0x0")]
			[Token(Token = "0x400392D")]
			[Tooltip("Shift the hue of chromatic aberrations.")]
			public Texture2D spectralTexture;

			// Token: 0x0400392E RID: 14638
			[FieldOffset(Offset = "0x8")]
			[Token(Token = "0x400392E")]
			[Range(0f, 1f)]
			[Tooltip("Amount of tangential distortion.")]
			public float intensity;
		}
	}
}
