using System;
using Cpp2IlInjected;

namespace UnityEngine.PostProcessing
{
	// Token: 0x020005B5 RID: 1461
	[Token(Token = "0x20005B5")]
	[Serializable]
	public class GrainModel : PostProcessingModel
	{
		// Token: 0x17000381 RID: 897
		// (get) Token: 0x06003092 RID: 12434 RVA: 0x000020D3 File Offset: 0x000002D3
		// (set) Token: 0x06003093 RID: 12435 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x17000381")]
		public GrainModel.Settings settings
		{
			[Token(Token = "0x6003092")]
			[Address(RVA = "0x487020", Offset = "0x486020", VA = "0x180487020")]
			get
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
			[Token(Token = "0x6003093")]
			[Address(RVA = "0x9F9730", Offset = "0x9F8730", VA = "0x1809F9730")]
			set
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}

		// Token: 0x06003094 RID: 12436 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003094")]
		[Address(RVA = "0x1642640", Offset = "0x1641640", VA = "0x181642640", Slot = "4")]
		public override void Reset()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003095 RID: 12437 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003095")]
		[Address(RVA = "0x1642670", Offset = "0x1641670", VA = "0x181642670")]
		public GrainModel()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x04003982 RID: 14722
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4003982")]
		[SerializeField]
		private GrainModel.Settings m_Settings;

		// Token: 0x020005B6 RID: 1462
		[Token(Token = "0x20005B6")]
		[Serializable]
		public struct Settings
		{
			// Token: 0x17000382 RID: 898
			// (get) Token: 0x06003096 RID: 12438 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x17000382")]
			public static GrainModel.Settings defaultSettings
			{
				[Token(Token = "0x6003096")]
				[Address(RVA = "0x16ADBE0", Offset = "0x16ACBE0", VA = "0x1816ADBE0")]
				get
				{
					throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
				}
			}

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

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

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

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