using System;
using Cpp2IlInjected;

namespace UnityEngine.PostProcessing
{
	// Token: 0x020005B3 RID: 1459
	[Token(Token = "0x20005B3")]
	[Serializable]
	public class FogModel : PostProcessingModel
	{
		// Token: 0x1700037F RID: 895
		// (get) Token: 0x0600308D RID: 12429 RVA: 0x00069548 File Offset: 0x00067748
		// (set) Token: 0x0600308E RID: 12430 RVA: 0x0006955C File Offset: 0x0006775C
		[Token(Token = "0x1700037F")]
		public FogModel.Settings settings
		{
			[Token(Token = "0x600308D")]
			[Address(RVA = "0x368050", Offset = "0x367050", VA = "0x180368050")]
			get
			{
				return this.m_Settings;
			}
			[Token(Token = "0x600308E")]
			[Address(RVA = "0x368060", Offset = "0x367060", VA = "0x180368060")]
			set
			{
				this.m_Settings = value;
			}
		}

		// Token: 0x0600308F RID: 12431 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600308F")]
		[Address(RVA = "0x368000", Offset = "0x367000", VA = "0x180368000", Slot = "4")]
		public override void Reset()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003090 RID: 12432 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003090")]
		[Address(RVA = "0x368020", Offset = "0x367020", VA = "0x180368020")]
		public FogModel()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x04003980 RID: 14720
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4003980")]
		[SerializeField]
		private FogModel.Settings m_Settings;

		// Token: 0x020005B4 RID: 1460
		[Token(Token = "0x20005B4")]
		[Serializable]
		public struct Settings
		{
			// Token: 0x17000380 RID: 896
			// (get) Token: 0x06003091 RID: 12433 RVA: 0x00069570 File Offset: 0x00067770
			[Token(Token = "0x17000380")]
			public static FogModel.Settings defaultSettings
			{
				[Token(Token = "0x6003091")]
				[Address(RVA = "0x4990D0", Offset = "0x4980D0", VA = "0x1804990D0")]
				get
				{
					return (ulong)1L;
				}
			}

			// Token: 0x04003981 RID: 14721
			[FieldOffset(Offset = "0x0")]
			[Token(Token = "0x4003981")]
			[Tooltip("Should the fog affect the skybox?")]
			public bool excludeSkybox;
		}
	}
}
