using System;
using Cpp2IlInjected;
using UnityEngine;

namespace UnityStandardAssets.ImageEffects
{
	// Token: 0x020005BC RID: 1468
	[Token(Token = "0x20005BC")]
	[ExecuteInEditMode]
	[RequireComponent(typeof(Camera))]
	[AddComponentMenu("Image Effects/Blur/Motion Blur (Color Accumulation)")]
	public class MotionBlur : ImageEffectBase
	{
		// Token: 0x06002F1B RID: 12059 RVA: 0x00064894 File Offset: 0x00062A94
		[Token(Token = "0x6002F1B")]
		[Address(RVA = "0xBC90B0", Offset = "0xBC7EB0", VA = "0x180BC90B0", Slot = "4")]
		protected override void Start()
		{
			base.Start();
		}

		// Token: 0x06002F1C RID: 12060 RVA: 0x000648A8 File Offset: 0x00062AA8
		[Token(Token = "0x6002F1C")]
		[Address(RVA = "0xBC8C90", Offset = "0xBC7A90", VA = "0x180BC8C90", Slot = "5")]
		protected override void OnDisable()
		{
			base.OnDisable();
			UnityEngine.Object.DestroyImmediate(this.accumTexture);
		}

		// Token: 0x06002F1D RID: 12061 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002F1D")]
		[Address(RVA = "0xBC8CF0", Offset = "0xBC7AF0", VA = "0x180BC8CF0")]
		private void OnRenderImage(RenderTexture source, RenderTexture destination)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002F1E RID: 12062 RVA: 0x000648C8 File Offset: 0x00062AC8
		[Token(Token = "0x6002F1E")]
		[Address(RVA = "0xBC90C0", Offset = "0xBC7EC0", VA = "0x180BC90C0")]
		public MotionBlur()
		{
		}

		// Token: 0x040038F6 RID: 14582
		[FieldOffset(Offset = "0x28")]
		[Token(Token = "0x40038F6")]
		[Range(0f, 0.92f)]
		public float blurAmount = 0.8f;

		// Token: 0x040038F7 RID: 14583
		[FieldOffset(Offset = "0x2C")]
		[Token(Token = "0x40038F7")]
		public bool extraBlur;

		// Token: 0x040038F8 RID: 14584
		[FieldOffset(Offset = "0x30")]
		[Token(Token = "0x40038F8")]
		private RenderTexture accumTexture;
	}
}
