using System;
using Cpp2IlInjected;
using UnityEngine;

namespace UnityStandardAssets.ImageEffects
{
	// Token: 0x020005BA RID: 1466
	[Token(Token = "0x20005BA")]
	[RequireComponent(typeof(Camera))]
	[AddComponentMenu("")]
	public class ImageEffectBase : MonoBehaviour
	{
		// Token: 0x06002F13 RID: 12051 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002F13")]
		[Address(RVA = "0x10D2880", Offset = "0x10D1680", VA = "0x1810D2880", Slot = "4")]
		protected virtual void Start()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x17000386 RID: 902
		// (get) Token: 0x06002F14 RID: 12052 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x17000386")]
		protected Material material
		{
			[Token(Token = "0x6002F14")]
			[Address(RVA = "0x10D2920", Offset = "0x10D1720", VA = "0x1810D2920")]
			get
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}

		// Token: 0x06002F15 RID: 12053 RVA: 0x00064818 File Offset: 0x00062A18
		[Token(Token = "0x6002F15")]
		[Address(RVA = "0x10D27F0", Offset = "0x10D15F0", VA = "0x1810D27F0", Slot = "5")]
		protected virtual void OnDisable()
		{
			if (this.m_Material)
			{
				UnityEngine.Object.DestroyImmediate(this.m_Material);
			}
		}

		// Token: 0x06002F16 RID: 12054 RVA: 0x00064840 File Offset: 0x00062A40
		[Token(Token = "0x6002F16")]
		[Address(RVA = "0x3088F0", Offset = "0x3076F0", VA = "0x1803088F0")]
		public ImageEffectBase()
		{
		}

		// Token: 0x040038F4 RID: 14580
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x40038F4")]
		public Shader shader;

		// Token: 0x040038F5 RID: 14581
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x40038F5")]
		private Material m_Material;
	}
}
