using System;
using Cpp2IlInjected;

namespace UnityEngine.PostProcessing
{
	// Token: 0x02000513 RID: 1299
	[Token(Token = "0x2000513")]
	public sealed class ChromaticAberrationComponent : PostProcessingComponentRenderTexture<ChromaticAberrationModel>
	{
		// Token: 0x17000327 RID: 807
		// (get) Token: 0x06002CFF RID: 11519 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x17000327")]
		public override bool active
		{
			[Token(Token = "0x6002CFF")]
			[Address(RVA = "0xE88CC0", Offset = "0xE87AC0", VA = "0x180E88CC0", Slot = "5")]
			get
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}

		// Token: 0x06002D00 RID: 11520 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002D00")]
		[Address(RVA = "0xE888E0", Offset = "0xE876E0", VA = "0x180E888E0", Slot = "7")]
		public override void OnDisable()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002D01 RID: 11521 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002D01")]
		[Address(RVA = "0xE88910", Offset = "0xE87710", VA = "0x180E88910", Slot = "10")]
		public override void Prepare(Material uberMaterial)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002D02 RID: 11522 RVA: 0x00061414 File Offset: 0x0005F614
		[Token(Token = "0x6002D02")]
		[Address(RVA = "0xE88C80", Offset = "0xE87A80", VA = "0x180E88C80")]
		public ChromaticAberrationComponent()
		{
		}

		// Token: 0x04003537 RID: 13623
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4003537")]
		private Texture2D m_SpectrumLut;

		// Token: 0x02000514 RID: 1300
		[Token(Token = "0x2000514")]
		private static class Uniforms
		{
			// Token: 0x04003538 RID: 13624
			[Token(Token = "0x4003538")]
			internal static readonly int _ChromaticAberration_Amount = Shader.PropertyToID("_ChromaticAberration_Amount");

			// Token: 0x04003539 RID: 13625
			[Token(Token = "0x4003539")]
			internal static readonly int _ChromaticAberration_Spectrum = Shader.PropertyToID("_ChromaticAberration_Spectrum");
		}
	}
}
