using System;
using Cpp2IlInjected;

namespace UnityEngine.PostProcessing
{
	// Token: 0x02000546 RID: 1350
	[Token(Token = "0x2000546")]
	[Serializable]
	public class ChromaticAberrationModel : PostProcessingModel
	{
		// Token: 0x17000347 RID: 839
		// (get) Token: 0x06002D9F RID: 11679 RVA: 0x000020D3 File Offset: 0x000002D3
		// (set) Token: 0x06002DA0 RID: 11680 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x17000347")]
		public ChromaticAberrationModel.Settings settings
		{
			[Token(Token = "0x6002D9F")]
			[Address(RVA = "0x2B3EF0", Offset = "0x2B2CF0", VA = "0x1802B3EF0")]
			get
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
			[Token(Token = "0x6002DA0")]
			[Address(RVA = "0x8C48A0", Offset = "0x8C36A0", VA = "0x1808C48A0")]
			set
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}

		// Token: 0x06002DA1 RID: 11681 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002DA1")]
		[Address(RVA = "0xE88D30", Offset = "0xE87B30", VA = "0x180E88D30", Slot = "4")]
		public override void Reset()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002DA2 RID: 11682 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002DA2")]
		[Address(RVA = "0xE88D60", Offset = "0xE87B60", VA = "0x180E88D60")]
		public ChromaticAberrationModel()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x04003642 RID: 13890
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4003642")]
		[SerializeField]
		private ChromaticAberrationModel.Settings m_Settings;

		// Token: 0x02000547 RID: 1351
		[Token(Token = "0x2000547")]
		[Serializable]
		public struct Settings
		{
			// Token: 0x17000348 RID: 840
			// (get) Token: 0x06002DA3 RID: 11683 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x17000348")]
			public static ChromaticAberrationModel.Settings defaultSettings
			{
				[Token(Token = "0x6002DA3")]
				[Address(RVA = "0x5FD630", Offset = "0x5FC430", VA = "0x1805FD630")]
				get
				{
					throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
				}
			}

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

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