using System;
using Cpp2IlInjected;

namespace UnityEngine.PostProcessing
{
	// Token: 0x02000572 RID: 1394
	[Token(Token = "0x2000572")]
	public class PostProcessingContext
	{
		// Token: 0x17000368 RID: 872
		// (get) Token: 0x06002E04 RID: 11780 RVA: 0x000624F8 File Offset: 0x000606F8
		// (set) Token: 0x06002E05 RID: 11781 RVA: 0x0006250C File Offset: 0x0006070C
		[Token(Token = "0x17000368")]
		public bool interrupted
		{
			[Token(Token = "0x6002E04")]
			[Address(RVA = "0x434D40", Offset = "0x433B40", VA = "0x180434D40")]
			get;
			[Token(Token = "0x6002E05")]
			[Address(RVA = "0x502BB0", Offset = "0x5019B0", VA = "0x180502BB0")]
			private set;
		}

		// Token: 0x06002E06 RID: 11782 RVA: 0x00062520 File Offset: 0x00060720
		[Token(Token = "0x6002E06")]
		[Address(RVA = "0x434F50", Offset = "0x433D50", VA = "0x180434F50")]
		public void Interrupt()
		{
			this.<interrupted>k__BackingField = true;
		}

		// Token: 0x06002E07 RID: 11783 RVA: 0x00062534 File Offset: 0x00060734
		[Token(Token = "0x6002E07")]
		[Address(RVA = "0xBE00F0", Offset = "0xBDEEF0", VA = "0x180BE00F0")]
		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: 0x17000369 RID: 873
		// (get) Token: 0x06002E08 RID: 11784 RVA: 0x00062568 File Offset: 0x00060768
		[Token(Token = "0x17000369")]
		public bool isGBufferAvailable
		{
			[Token(Token = "0x6002E08")]
			[Address(RVA = "0xBE0170", Offset = "0xBDEF70", VA = "0x180BE0170")]
			get
			{
				return this.camera.actualRenderingPath == RenderingPath.DeferredShading;
			}
		}

		// Token: 0x1700036A RID: 874
		// (get) Token: 0x06002E09 RID: 11785 RVA: 0x0006258C File Offset: 0x0006078C
		[Token(Token = "0x1700036A")]
		public bool isHdr
		{
			[Token(Token = "0x6002E09")]
			[Address(RVA = "0xBE01A0", Offset = "0xBDEFA0", VA = "0x180BE01A0")]
			get
			{
				return this.camera.allowHDR;
			}
		}

		// Token: 0x1700036B RID: 875
		// (get) Token: 0x06002E0A RID: 11786 RVA: 0x000625AC File Offset: 0x000607AC
		[Token(Token = "0x1700036B")]
		public int width
		{
			[Token(Token = "0x6002E0A")]
			[Address(RVA = "0xBE0200", Offset = "0xBDF000", VA = "0x180BE0200")]
			get
			{
				return this.camera.pixelWidth;
			}
		}

		// Token: 0x1700036C RID: 876
		// (get) Token: 0x06002E0B RID: 11787 RVA: 0x000625CC File Offset: 0x000607CC
		[Token(Token = "0x1700036C")]
		public int height
		{
			[Token(Token = "0x6002E0B")]
			[Address(RVA = "0xBE0150", Offset = "0xBDEF50", VA = "0x180BE0150")]
			get
			{
				return this.camera.pixelHeight;
			}
		}

		// Token: 0x1700036D RID: 877
		// (get) Token: 0x06002E0C RID: 11788 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x1700036D")]
		public Rect viewport
		{
			[Token(Token = "0x6002E0C")]
			[Address(RVA = "0xBE01C0", Offset = "0xBDEFC0", VA = "0x180BE01C0")]
			get
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}

		// Token: 0x06002E0D RID: 11789 RVA: 0x000625EC File Offset: 0x000607EC
		[Token(Token = "0x6002E0D")]
		[Address(RVA = "0x3D8B20", Offset = "0x3D7920", VA = "0x1803D8B20")]
		public PostProcessingContext()
		{
		}

		// Token: 0x040036E7 RID: 14055
		[FieldOffset(Offset = "0x10")]
		[Token(Token = "0x40036E7")]
		public PostProcessingProfile profile;

		// Token: 0x040036E8 RID: 14056
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x40036E8")]
		public Camera camera;

		// Token: 0x040036E9 RID: 14057
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x40036E9")]
		public MaterialFactory materialFactory;

		// Token: 0x040036EA RID: 14058
		[FieldOffset(Offset = "0x28")]
		[Token(Token = "0x40036EA")]
		public RenderTextureFactory renderTextureFactory;
	}
}
