using System;
using Cpp2IlInjected;

namespace UnityEngine.PostProcessing
{
	// Token: 0x02000541 RID: 1345
	[Token(Token = "0x2000541")]
	[Serializable]
	public class BuiltinDebugViewsModel : PostProcessingModel
	{
		// Token: 0x17000342 RID: 834
		// (get) Token: 0x06002D96 RID: 11670 RVA: 0x000020D3 File Offset: 0x000002D3
		// (set) Token: 0x06002D97 RID: 11671 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x17000342")]
		public BuiltinDebugViewsModel.Settings settings
		{
			[Token(Token = "0x6002D96")]
			[Address(RVA = "0x1348800", Offset = "0x1347600", VA = "0x181348800")]
			get
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
			[Token(Token = "0x6002D97")]
			[Address(RVA = "0x1348840", Offset = "0x1347640", VA = "0x181348840")]
			set
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}

		// Token: 0x17000343 RID: 835
		// (get) Token: 0x06002D98 RID: 11672 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x17000343")]
		public bool willInterrupt
		{
			[Token(Token = "0x6002D98")]
			[Address(RVA = "0x1348820", Offset = "0x1347620", VA = "0x181348820")]
			get
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}

		// Token: 0x06002D99 RID: 11673 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002D99")]
		[Address(RVA = "0x1348790", Offset = "0x1347590", VA = "0x181348790", Slot = "4")]
		public override void Reset()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002D9A RID: 11674 RVA: 0x00062194 File Offset: 0x00060394
		[Token(Token = "0x6002D9A")]
		[Address(RVA = "0x1348780", Offset = "0x1347580", VA = "0x181348780")]
		public bool IsModeActive(BuiltinDebugViewsModel.Mode mode)
		{
			return this.m_Settings == mode;
		}

		// Token: 0x06002D9B RID: 11675 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002D9B")]
		[Address(RVA = "0x13487C0", Offset = "0x13475C0", VA = "0x1813487C0")]
		public BuiltinDebugViewsModel()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0400362C RID: 13868
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x400362C")]
		[SerializeField]
		private BuiltinDebugViewsModel.Settings m_Settings;

		// Token: 0x02000542 RID: 1346
		[Token(Token = "0x2000542")]
		[Serializable]
		public struct DepthSettings
		{
			// Token: 0x17000344 RID: 836
			// (get) Token: 0x06002D9C RID: 11676 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x17000344")]
			public static BuiltinDebugViewsModel.DepthSettings defaultSettings
			{
				[Token(Token = "0x6002D9C")]
				[Address(RVA = "0x5FA140", Offset = "0x5F8F40", VA = "0x1805FA140")]
				get
				{
					throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
				}
			}

			// Token: 0x0400362D RID: 13869
			[FieldOffset(Offset = "0x0")]
			[Token(Token = "0x400362D")]
			[Tooltip("Scales the camera far plane before displaying the depth map.")]
			[Range(0f, 1f)]
			public float scale;
		}

		// Token: 0x02000543 RID: 1347
		[Token(Token = "0x2000543")]
		[Serializable]
		public struct MotionVectorsSettings
		{
			// Token: 0x17000345 RID: 837
			// (get) Token: 0x06002D9D RID: 11677 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x17000345")]
			public static BuiltinDebugViewsModel.MotionVectorsSettings defaultSettings
			{
				[Token(Token = "0x6002D9D")]
				[Address(RVA = "0x5FCD90", Offset = "0x5FBB90", VA = "0x1805FCD90")]
				get
				{
					throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
				}
			}

			// Token: 0x0400362E RID: 13870
			[FieldOffset(Offset = "0x0")]
			[Token(Token = "0x400362E")]
			[Tooltip("Opacity of the source render.")]
			[Range(0f, 1f)]
			public float sourceOpacity;

			// Token: 0x0400362F RID: 13871
			[FieldOffset(Offset = "0x4")]
			[Token(Token = "0x400362F")]
			[Tooltip("Opacity of the per-pixel motion vector colors.")]
			[Range(0f, 1f)]
			public float motionImageOpacity;

			// Token: 0x04003630 RID: 13872
			[FieldOffset(Offset = "0x8")]
			[Token(Token = "0x4003630")]
			[Tooltip("Because motion vectors are mainly very small vectors, you can use this setting to make them more visible.")]
			[Min(0f)]
			public float motionImageAmplitude;

			// Token: 0x04003631 RID: 13873
			[FieldOffset(Offset = "0xC")]
			[Token(Token = "0x4003631")]
			[Tooltip("Opacity for the motion vector arrows.")]
			[Range(0f, 1f)]
			public float motionVectorsOpacity;

			// Token: 0x04003632 RID: 13874
			[FieldOffset(Offset = "0x10")]
			[Token(Token = "0x4003632")]
			[Range(8f, 64f)]
			[Tooltip("The arrow density on screen.")]
			public int motionVectorsResolution;

			// Token: 0x04003633 RID: 13875
			[FieldOffset(Offset = "0x14")]
			[Token(Token = "0x4003633")]
			[Tooltip("Tweaks the arrows length.")]
			[Min(0f)]
			public float motionVectorsAmplitude;
		}

		// Token: 0x02000544 RID: 1348
		[Token(Token = "0x2000544")]
		public enum Mode
		{
			// Token: 0x04003635 RID: 13877
			[Token(Token = "0x4003635")]
			None,
			// Token: 0x04003636 RID: 13878
			[Token(Token = "0x4003636")]
			Depth,
			// Token: 0x04003637 RID: 13879
			[Token(Token = "0x4003637")]
			Normals,
			// Token: 0x04003638 RID: 13880
			[Token(Token = "0x4003638")]
			MotionVectors,
			// Token: 0x04003639 RID: 13881
			[Token(Token = "0x4003639")]
			AmbientOcclusion,
			// Token: 0x0400363A RID: 13882
			[Token(Token = "0x400363A")]
			EyeAdaptation,
			// Token: 0x0400363B RID: 13883
			[Token(Token = "0x400363B")]
			FocusPlane,
			// Token: 0x0400363C RID: 13884
			[Token(Token = "0x400363C")]
			PreGradingLog,
			// Token: 0x0400363D RID: 13885
			[Token(Token = "0x400363D")]
			LogLut,
			// Token: 0x0400363E RID: 13886
			[Token(Token = "0x400363E")]
			UserLut
		}

		// Token: 0x02000545 RID: 1349
		[Token(Token = "0x2000545")]
		[Serializable]
		public struct Settings
		{
			// Token: 0x17000346 RID: 838
			// (get) Token: 0x06002D9E RID: 11678 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x17000346")]
			public static BuiltinDebugViewsModel.Settings defaultSettings
			{
				[Token(Token = "0x6002D9E")]
				[Address(RVA = "0x5FD550", Offset = "0x5FC350", VA = "0x1805FD550")]
				get
				{
					throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
				}
			}

			// Token: 0x0400363F RID: 13887
			[FieldOffset(Offset = "0x0")]
			[Token(Token = "0x400363F")]
			public BuiltinDebugViewsModel.Mode mode;

			// Token: 0x04003640 RID: 13888
			[FieldOffset(Offset = "0x4")]
			[Token(Token = "0x4003640")]
			public BuiltinDebugViewsModel.DepthSettings depth;

			// Token: 0x04003641 RID: 13889
			[FieldOffset(Offset = "0x8")]
			[Token(Token = "0x4003641")]
			public BuiltinDebugViewsModel.MotionVectorsSettings motionVectors;
		}
	}
}
