using System;
using Cpp2IlInjected;

namespace UnityEngine.PostProcessing
{
	// Token: 0x0200055D RID: 1373
	[Token(Token = "0x200055D")]
	[Serializable]
	public class GrainModel : PostProcessingModel
	{
		// Token: 0x1700035C RID: 860
		// (get) Token: 0x06002DC9 RID: 11721 RVA: 0x000020D3 File Offset: 0x000002D3
		// (set) Token: 0x06002DCA RID: 11722 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x1700035C")]
		public GrainModel.Settings settings
		{
			[Token(Token = "0x6002DC9")]
			[Address(RVA = "0x2B3EF0", Offset = "0x2B2CF0", VA = "0x1802B3EF0")]
			get
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
			[Token(Token = "0x6002DCA")]
			[Address(RVA = "0x94F400", Offset = "0x94E200", VA = "0x18094F400")]
			set
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}

		// Token: 0x06002DCB RID: 11723 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002DCB")]
		[Address(RVA = "0x1173000", Offset = "0x1171E00", VA = "0x181173000", Slot = "4")]
		public override void Reset()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002DCC RID: 11724 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002DCC")]
		[Address(RVA = "0x1173030", Offset = "0x1171E30", VA = "0x181173030")]
		public GrainModel()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x04003698 RID: 13976
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4003698")]
		[SerializeField]
		private GrainModel.Settings m_Settings;

		// Token: 0x0200055E RID: 1374
		[Token(Token = "0x200055E")]
		[Serializable]
		public struct Settings
		{
			// Token: 0x1700035D RID: 861
			// (get) Token: 0x06002DCD RID: 11725 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x1700035D")]
			public static GrainModel.Settings defaultSettings
			{
				[Token(Token = "0x6002DCD")]
				[Address(RVA = "0x5FD8A0", Offset = "0x5FC6A0", VA = "0x1805FD8A0")]
				get
				{
					throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
				}
			}

			// Token: 0x04003699 RID: 13977
			[FieldOffset(Offset = "0x0")]
			[Token(Token = "0x4003699")]
			[Tooltip("Enable the use of colored grain.")]
			public bool colored;

			// Token: 0x0400369A RID: 13978
			[FieldOffset(Offset = "0x4")]
			[Token(Token = "0x400369A")]
			[Range(0f, 1f)]
			[Tooltip("Grain strength. Higher means more visible grain.")]
			public float intensity;

			// Token: 0x0400369B RID: 13979
			[FieldOffset(Offset = "0x8")]
			[Token(Token = "0x400369B")]
			[Range(0.3f, 3f)]
			[Tooltip("Grain particle size.")]
			public float size;

			// Token: 0x0400369C RID: 13980
			[FieldOffset(Offset = "0xC")]
			[Token(Token = "0x400369C")]
			[Tooltip("Controls the noisiness response curve based on scene luminance. Lower values mean less noise in dark areas.")]
			[Range(0f, 1f)]
			public float luminanceContribution;
		}
	}
}
