using System;
using Cpp2IlInjected;

namespace UnityEngine.PostProcessing
{
	// Token: 0x02000535 RID: 1333
	[Token(Token = "0x2000535")]
	[Serializable]
	public class AntialiasingModel : PostProcessingModel
	{
		// Token: 0x17000339 RID: 825
		// (get) Token: 0x06002D84 RID: 11652 RVA: 0x000020D3 File Offset: 0x000002D3
		// (set) Token: 0x06002D85 RID: 11653 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x17000339")]
		public AntialiasingModel.Settings settings
		{
			[Token(Token = "0x6002D84")]
			[Address(RVA = "0x2B3ED0", Offset = "0x2B2CD0", VA = "0x1802B3ED0")]
			get
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
			[Token(Token = "0x6002D85")]
			[Address(RVA = "0x8CEA70", Offset = "0x8CD870", VA = "0x1808CEA70")]
			set
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}

		// Token: 0x06002D86 RID: 11654 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002D86")]
		[Address(RVA = "0x8CEA00", Offset = "0x8CD800", VA = "0x1808CEA00", Slot = "4")]
		public override void Reset()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002D87 RID: 11655 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002D87")]
		[Address(RVA = "0x8CEA30", Offset = "0x8CD830", VA = "0x1808CEA30")]
		public AntialiasingModel()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x04003607 RID: 13831
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4003607")]
		[SerializeField]
		private AntialiasingModel.Settings m_Settings;

		// Token: 0x02000536 RID: 1334
		[Token(Token = "0x2000536")]
		public enum Method
		{
			// Token: 0x04003609 RID: 13833
			[Token(Token = "0x4003609")]
			Fxaa,
			// Token: 0x0400360A RID: 13834
			[Token(Token = "0x400360A")]
			Taa
		}

		// Token: 0x02000537 RID: 1335
		[Token(Token = "0x2000537")]
		public enum FxaaPreset
		{
			// Token: 0x0400360C RID: 13836
			[Token(Token = "0x400360C")]
			ExtremePerformance,
			// Token: 0x0400360D RID: 13837
			[Token(Token = "0x400360D")]
			Performance,
			// Token: 0x0400360E RID: 13838
			[Token(Token = "0x400360E")]
			Default,
			// Token: 0x0400360F RID: 13839
			[Token(Token = "0x400360F")]
			Quality,
			// Token: 0x04003610 RID: 13840
			[Token(Token = "0x4003610")]
			ExtremeQuality
		}

		// Token: 0x02000538 RID: 1336
		[Token(Token = "0x2000538")]
		[Serializable]
		public struct FxaaQualitySettings
		{
			// Token: 0x06002D88 RID: 11656 RVA: 0x000020D3 File Offset: 0x000002D3
			// Note: this type is marked as 'beforefieldinit'.
			[Token(Token = "0x6002D88")]
			[Address(RVA = "0x5FA530", Offset = "0x5F9330", VA = "0x1805FA530")]
			static FxaaQualitySettings()
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}

			// Token: 0x04003611 RID: 13841
			[FieldOffset(Offset = "0x0")]
			[Token(Token = "0x4003611")]
			[Range(0f, 1f)]
			[Tooltip("The amount of desired sub-pixel aliasing removal. Effects the sharpeness of the output.")]
			public float subpixelAliasingRemovalAmount;

			// Token: 0x04003612 RID: 13842
			[FieldOffset(Offset = "0x4")]
			[Token(Token = "0x4003612")]
			[Range(0.063f, 0.333f)]
			[Tooltip("The minimum amount of local contrast required to qualify a region as containing an edge.")]
			public float edgeDetectionThreshold;

			// Token: 0x04003613 RID: 13843
			[FieldOffset(Offset = "0x8")]
			[Token(Token = "0x4003613")]
			[Range(0f, 0.0833f)]
			[Tooltip("Local contrast adaptation value to disallow the algorithm from executing on the darker regions.")]
			public float minimumRequiredLuminance;

			// Token: 0x04003614 RID: 13844
			[Token(Token = "0x4003614")]
			public static AntialiasingModel.FxaaQualitySettings[] presets;
		}

		// Token: 0x02000539 RID: 1337
		[Token(Token = "0x2000539")]
		[Serializable]
		public struct FxaaConsoleSettings
		{
			// Token: 0x06002D89 RID: 11657 RVA: 0x000020D3 File Offset: 0x000002D3
			// Note: this type is marked as 'beforefieldinit'.
			[Token(Token = "0x6002D89")]
			[Address(RVA = "0x5FA420", Offset = "0x5F9220", VA = "0x1805FA420")]
			static FxaaConsoleSettings()
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}

			// Token: 0x04003615 RID: 13845
			[FieldOffset(Offset = "0x0")]
			[Token(Token = "0x4003615")]
			[Range(0.33f, 0.5f)]
			[Tooltip("The amount of spread applied to the sampling coordinates while sampling for subpixel information.")]
			public float subpixelSpreadAmount;

			// Token: 0x04003616 RID: 13846
			[FieldOffset(Offset = "0x4")]
			[Token(Token = "0x4003616")]
			[Tooltip("This value dictates how sharp the edges in the image are kept; a higher value implies sharper edges.")]
			[Attribute(Name = "RangeAttribute", RVA = "0xDB5E0", Offset = "0xDA9E0")]
			public float edgeSharpnessAmount;

			// Token: 0x04003617 RID: 13847
			[FieldOffset(Offset = "0x8")]
			[Token(Token = "0x4003617")]
			[Tooltip("The minimum amount of local contrast required to qualify a region as containing an edge.")]
			[Range(0.125f, 0.25f)]
			public float edgeDetectionThreshold;

			// Token: 0x04003618 RID: 13848
			[FieldOffset(Offset = "0xC")]
			[Token(Token = "0x4003618")]
			[Tooltip("Local contrast adaptation value to disallow the algorithm from executing on the darker regions.")]
			[Range(0.04f, 0.06f)]
			public float minimumRequiredLuminance;

			// Token: 0x04003619 RID: 13849
			[Token(Token = "0x4003619")]
			public static AntialiasingModel.FxaaConsoleSettings[] presets;
		}

		// Token: 0x0200053A RID: 1338
		[Token(Token = "0x200053A")]
		[Serializable]
		public struct FxaaSettings
		{
			// Token: 0x1700033A RID: 826
			// (get) Token: 0x06002D8A RID: 11658 RVA: 0x00062150 File Offset: 0x00060350
			[Token(Token = "0x1700033A")]
			public static AntialiasingModel.FxaaSettings defaultSettings
			{
				[Token(Token = "0x6002D8A")]
				[Address(RVA = "0x51C1E0", Offset = "0x51AFE0", VA = "0x18051C1E0")]
				get
				{
					return (uint)2;
				}
			}

			// Token: 0x0400361A RID: 13850
			[FieldOffset(Offset = "0x0")]
			[Token(Token = "0x400361A")]
			public AntialiasingModel.FxaaPreset preset;
		}

		// Token: 0x0200053B RID: 1339
		[Token(Token = "0x200053B")]
		[Serializable]
		public struct TaaSettings
		{
			// Token: 0x1700033B RID: 827
			// (get) Token: 0x06002D8B RID: 11659 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x1700033B")]
			public static AntialiasingModel.TaaSettings defaultSettings
			{
				[Token(Token = "0x6002D8B")]
				[Address(RVA = "0x5FD960", Offset = "0x5FC760", VA = "0x1805FD960")]
				get
				{
					throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
				}
			}

			// Token: 0x0400361B RID: 13851
			[FieldOffset(Offset = "0x0")]
			[Token(Token = "0x400361B")]
			[Range(0.1f, 1f)]
			[Tooltip("The diameter (in texels) inside which jitter samples are spread. Smaller values result in crisper but more aliased output, while larger values result in more stable but blurrier output.")]
			public float jitterSpread;

			// Token: 0x0400361C RID: 13852
			[FieldOffset(Offset = "0x4")]
			[Token(Token = "0x400361C")]
			[Tooltip("Controls the amount of sharpening applied to the color buffer.")]
			[Range(0f, 3f)]
			public float sharpen;

			// Token: 0x0400361D RID: 13853
			[FieldOffset(Offset = "0x8")]
			[Token(Token = "0x400361D")]
			[Tooltip("The blend coefficient for a stationary fragment. Controls the percentage of history sample blended into the final color.")]
			[Range(0f, 0.99f)]
			public float stationaryBlending;

			// Token: 0x0400361E RID: 13854
			[FieldOffset(Offset = "0xC")]
			[Token(Token = "0x400361E")]
			[Tooltip("The blend coefficient for a fragment with significant motion. Controls the percentage of history sample blended into the final color.")]
			[Range(0f, 0.99f)]
			public float motionBlending;
		}

		// Token: 0x0200053C RID: 1340
		[Token(Token = "0x200053C")]
		[Serializable]
		public struct Settings
		{
			// Token: 0x1700033C RID: 828
			// (get) Token: 0x06002D8C RID: 11660 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x1700033C")]
			public static AntialiasingModel.Settings defaultSettings
			{
				[Token(Token = "0x6002D8C")]
				[Address(RVA = "0x5FD5B0", Offset = "0x5FC3B0", VA = "0x1805FD5B0")]
				get
				{
					throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
				}
			}

			// Token: 0x0400361F RID: 13855
			[FieldOffset(Offset = "0x0")]
			[Token(Token = "0x400361F")]
			public AntialiasingModel.Method method;

			// Token: 0x04003620 RID: 13856
			[FieldOffset(Offset = "0x4")]
			[Token(Token = "0x4003620")]
			public AntialiasingModel.FxaaSettings fxaaSettings;

			// Token: 0x04003621 RID: 13857
			[FieldOffset(Offset = "0x8")]
			[Token(Token = "0x4003621")]
			public AntialiasingModel.TaaSettings taaSettings;
		}
	}
}
