using System;
using Cpp2IlInjected;
using UnityEngine;

namespace UnityStandardAssets.ImageEffects
{
	// Token: 0x02000614 RID: 1556
	[Token(Token = "0x2000614")]
	[ExecuteInEditMode]
	[AddComponentMenu("Image Effects/Blur/Motion Blur (Color Accumulation)")]
	[RequireComponent(typeof(Camera))]
	public class MotionBlur : ImageEffectBase
	{
		// Token: 0x060031E4 RID: 12772 RVA: 0x0006BB50 File Offset: 0x00069D50
		[Token(Token = "0x60031E4")]
		[Address(RVA = "0xC33D60", Offset = "0xC32D60", VA = "0x180C33D60", Slot = "4")]
		protected override void Start()
		{
			base.Start();
		}

		// Token: 0x060031E5 RID: 12773 RVA: 0x0006BB64 File Offset: 0x00069D64
		[Token(Token = "0x60031E5")]
		[Address(RVA = "0xC33940", Offset = "0xC32940", VA = "0x180C33940", Slot = "5")]
		protected override void OnDisable()
		{
			base.OnDisable();
			UnityEngine.Object.DestroyImmediate(this.accumTexture);
		}

		// Token: 0x060031E6 RID: 12774 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60031E6")]
		[Address(RVA = "0xC339A0", Offset = "0xC329A0", VA = "0x180C339A0")]
		private void OnRenderImage(RenderTexture source, RenderTexture destination)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060031E7 RID: 12775 RVA: 0x0006BB84 File Offset: 0x00069D84
		[Token(Token = "0x60031E7")]
		[Address(RVA = "0xC33D70", Offset = "0xC32D70", VA = "0x180C33D70")]
		public MotionBlur()
		{
		}

		// Token: 0x04003BE0 RID: 15328
		[FieldOffset(Offset = "0x28")]
		[Token(Token = "0x4003BE0")]
		[Range(0f, 0.92f)]
		public float blurAmount = 0.8f;

		// Token: 0x04003BE1 RID: 15329
		[FieldOffset(Offset = "0x2C")]
		[Token(Token = "0x4003BE1")]
		public bool extraBlur;

		// Token: 0x04003BE2 RID: 15330
		[FieldOffset(Offset = "0x30")]
		[Token(Token = "0x4003BE2")]
		private RenderTexture accumTexture;
	}
}
