using System;
using Cpp2IlInjected;

namespace UnityEngine.PostProcessing
{
	// Token: 0x020005CA RID: 1482
	[Token(Token = "0x20005CA")]
	public class PostProcessingContext
	{
		// Token: 0x1700038D RID: 909
		// (get) Token: 0x060030CD RID: 12493 RVA: 0x000697C8 File Offset: 0x000679C8
		// (set) Token: 0x060030CE RID: 12494 RVA: 0x000697DC File Offset: 0x000679DC
		[Token(Token = "0x1700038D")]
		public bool interrupted
		{
			[Token(Token = "0x60030CD")]
			[Address(RVA = "0x4920D0", Offset = "0x4910D0", VA = "0x1804920D0")]
			get;
			[Token(Token = "0x60030CE")]
			[Address(RVA = "0x36BDF0", Offset = "0x36ADF0", VA = "0x18036BDF0")]
			private set;
		}

		// Token: 0x060030CF RID: 12495 RVA: 0x000697F0 File Offset: 0x000679F0
		[Token(Token = "0x60030CF")]
		[Address(RVA = "0x50F3F0", Offset = "0x50E3F0", VA = "0x18050F3F0")]
		public void Interrupt()
		{
			this.<interrupted>k__BackingField = true;
		}

		// Token: 0x060030D0 RID: 12496 RVA: 0x00069804 File Offset: 0x00067A04
		[Token(Token = "0x60030D0")]
		[Address(RVA = "0xEBC350", Offset = "0xEBB350", VA = "0x180EBC350")]
		public PostProcessingContext Reset()
		{
			int num = 0;
			this.profile = num;
			this.camera = num;
			this.materialFactory = num;
			this.renderTextureFactory = num;
			this.<interrupted>k__BackingField = num != 0;
			return this;
		}

		// Token: 0x1700038E RID: 910
		// (get) Token: 0x060030D1 RID: 12497 RVA: 0x00069838 File Offset: 0x00067A38
		[Token(Token = "0x1700038E")]
		public bool isGBufferAvailable
		{
			[Token(Token = "0x60030D1")]
			[Address(RVA = "0xEBC3D0", Offset = "0xEBB3D0", VA = "0x180EBC3D0")]
			get
			{
				return this.camera.actualRenderingPath == RenderingPath.DeferredShading;
			}
		}

		// Token: 0x1700038F RID: 911
		// (get) Token: 0x060030D2 RID: 12498 RVA: 0x0006985C File Offset: 0x00067A5C
		[Token(Token = "0x1700038F")]
		public bool isHdr
		{
			[Token(Token = "0x60030D2")]
			[Address(RVA = "0xEBC400", Offset = "0xEBB400", VA = "0x180EBC400")]
			get
			{
				return this.camera.allowHDR;
			}
		}

		// Token: 0x17000390 RID: 912
		// (get) Token: 0x060030D3 RID: 12499 RVA: 0x0006987C File Offset: 0x00067A7C
		[Token(Token = "0x17000390")]
		public int width
		{
			[Token(Token = "0x60030D3")]
			[Address(RVA = "0xEBC460", Offset = "0xEBB460", VA = "0x180EBC460")]
			get
			{
				return this.camera.pixelWidth;
			}
		}

		// Token: 0x17000391 RID: 913
		// (get) Token: 0x060030D4 RID: 12500 RVA: 0x0006989C File Offset: 0x00067A9C
		[Token(Token = "0x17000391")]
		public int height
		{
			[Token(Token = "0x60030D4")]
			[Address(RVA = "0xEBC3B0", Offset = "0xEBB3B0", VA = "0x180EBC3B0")]
			get
			{
				return this.camera.pixelHeight;
			}
		}

		// Token: 0x17000392 RID: 914
		// (get) Token: 0x060030D5 RID: 12501 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x17000392")]
		public Rect viewport
		{
			[Token(Token = "0x60030D5")]
			[Address(RVA = "0xEBC420", Offset = "0xEBB420", VA = "0x180EBC420")]
			get
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}

		// Token: 0x060030D6 RID: 12502 RVA: 0x000698BC File Offset: 0x00067ABC
		[Token(Token = "0x60030D6")]
		[Address(RVA = "0x36ABD0", Offset = "0x369BD0", VA = "0x18036ABD0")]
		public PostProcessingContext()
		{
		}

		// Token: 0x040039D1 RID: 14801
		[FieldOffset(Offset = "0x10")]
		[Token(Token = "0x40039D1")]
		public PostProcessingProfile profile;

		// Token: 0x040039D2 RID: 14802
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x40039D2")]
		public Camera camera;

		// Token: 0x040039D3 RID: 14803
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x40039D3")]
		public MaterialFactory materialFactory;

		// Token: 0x040039D4 RID: 14804
		[FieldOffset(Offset = "0x28")]
		[Token(Token = "0x40039D4")]
		public RenderTextureFactory renderTextureFactory;
	}
}
