using System;
using Cpp2IlInjected;
using UnityEngine;

namespace UnityStandardAssets.ImageEffects
{
	// Token: 0x02000612 RID: 1554
	[Token(Token = "0x2000612")]
	[AddComponentMenu("")]
	[RequireComponent(typeof(Camera))]
	public class ImageEffectBase : MonoBehaviour
	{
		// Token: 0x060031DC RID: 12764 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60031DC")]
		[Address(RVA = "0x152ADB0", Offset = "0x1529DB0", VA = "0x18152ADB0", Slot = "4")]
		protected virtual void Start()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x170003AB RID: 939
		// (get) Token: 0x060031DD RID: 12765 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x170003AB")]
		protected Material material
		{
			[Token(Token = "0x60031DD")]
			[Address(RVA = "0x152AE50", Offset = "0x1529E50", VA = "0x18152AE50")]
			get
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}

		// Token: 0x060031DE RID: 12766 RVA: 0x0006BAD4 File Offset: 0x00069CD4
		[Token(Token = "0x60031DE")]
		[Address(RVA = "0x152AD20", Offset = "0x1529D20", VA = "0x18152AD20", Slot = "5")]
		protected virtual void OnDisable()
		{
			if (this.m_Material)
			{
				UnityEngine.Object.DestroyImmediate(this.m_Material);
			}
		}

		// Token: 0x060031DF RID: 12767 RVA: 0x0006BAFC File Offset: 0x00069CFC
		[Token(Token = "0x60031DF")]
		[Address(RVA = "0x328C40", Offset = "0x327C40", VA = "0x180328C40")]
		public ImageEffectBase()
		{
		}

		// Token: 0x04003BDE RID: 15326
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4003BDE")]
		public Shader shader;

		// Token: 0x04003BDF RID: 15327
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4003BDF")]
		private Material m_Material;
	}
}
