using System;
using Cpp2IlInjected;

namespace UnityEngine.PostProcessing
{
	// Token: 0x0200056B RID: 1387
	[Token(Token = "0x200056B")]
	public sealed class ChromaticAberrationComponent : PostProcessingComponentRenderTexture<ChromaticAberrationModel>
	{
		// Token: 0x1700034C RID: 844
		// (get) Token: 0x06002FC8 RID: 12232 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x1700034C")]
		public override bool active
		{
			[Token(Token = "0x6002FC8")]
			[Address(RVA = "0xB99D50", Offset = "0xB98D50", VA = "0x180B99D50", Slot = "5")]
			get
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}

		// Token: 0x06002FC9 RID: 12233 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002FC9")]
		[Address(RVA = "0xB99970", Offset = "0xB98970", VA = "0x180B99970", Slot = "7")]
		public override void OnDisable()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002FCA RID: 12234 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002FCA")]
		[Address(RVA = "0xB999A0", Offset = "0xB989A0", VA = "0x180B999A0", Slot = "10")]
		public override void Prepare(Material uberMaterial)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002FCB RID: 12235 RVA: 0x000686A8 File Offset: 0x000668A8
		[Token(Token = "0x6002FCB")]
		[Address(RVA = "0xB99D10", Offset = "0xB98D10", VA = "0x180B99D10")]
		public ChromaticAberrationComponent()
		{
		}

		// Token: 0x04003821 RID: 14369
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4003821")]
		private Texture2D m_SpectrumLut;

		// Token: 0x0200056C RID: 1388
		[Token(Token = "0x200056C")]
		private static class Uniforms
		{
			// Token: 0x04003822 RID: 14370
			[Token(Token = "0x4003822")]
			internal static readonly int _ChromaticAberration_Amount = Shader.PropertyToID("_ChromaticAberration_Amount");

			// Token: 0x04003823 RID: 14371
			[Token(Token = "0x4003823")]
			internal static readonly int _ChromaticAberration_Spectrum = Shader.PropertyToID("_ChromaticAberration_Spectrum");
		}
	}
}
