using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppSystem;

namespace UnityEngine.PostProcessing
{
	// Token: 0x020005E3 RID: 1507
	public class PostProcessingContext : Object
	{
		// Token: 0x170035DB RID: 13787
		// (get) Token: 0x06009FB9 RID: 40889 RVA: 0x00290C20 File Offset: 0x0028EE20
		// (set) Token: 0x06009FBA RID: 40890 RVA: 0x00290C70 File Offset: 0x0028EE70
		public unsafe bool interrupted
		{
			[CallerCount(0)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PostProcessingContext.NativeMethodInfoPtr_get_interrupted_Public_get_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return *IL2CPP.il2cpp_object_unbox(intPtr);
			}
			[CallerCount(0)]
			set
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				checked
				{
					IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
					*ptr = ref value;
					IntPtr intPtr2;
					IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PostProcessingContext.NativeMethodInfoPtr_set_interrupted_Private_set_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
					Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				}
			}
		}

		// Token: 0x06009FBB RID: 40891 RVA: 0x00290CC4 File Offset: 0x0028EEC4
		[CallerCount(64)]
		[CachedScanResults(RefRangeStart = 573441, RefRangeEnd = 573505, XrefRangeStart = 573441, XrefRangeEnd = 573505, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Interrupt()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PostProcessingContext.NativeMethodInfoPtr_Interrupt_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009FBC RID: 40892 RVA: 0x00290D08 File Offset: 0x0028EF08
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 649418, XrefRangeEnd = 649422, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe PostProcessingContext Reset()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PostProcessingContext.NativeMethodInfoPtr_Reset_Public_PostProcessingContext_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new PostProcessingContext(intPtr3) : null;
		}

		// Token: 0x170035DC RID: 13788
		// (get) Token: 0x06009FBD RID: 40893 RVA: 0x00290D60 File Offset: 0x0028EF60
		public unsafe bool isGBufferAvailable
		{
			[CallerCount(6)]
			[CachedScanResults(RefRangeStart = 649423, RefRangeEnd = 649429, XrefRangeStart = 649422, XrefRangeEnd = 649423, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PostProcessingContext.NativeMethodInfoPtr_get_isGBufferAvailable_Public_get_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return *IL2CPP.il2cpp_object_unbox(intPtr);
			}
		}

		// Token: 0x170035DD RID: 13789
		// (get) Token: 0x06009FBE RID: 40894 RVA: 0x00290DB0 File Offset: 0x0028EFB0
		public unsafe bool isHdr
		{
			[CallerCount(5)]
			[CachedScanResults(RefRangeStart = 649431, RefRangeEnd = 649436, XrefRangeStart = 649429, XrefRangeEnd = 649431, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PostProcessingContext.NativeMethodInfoPtr_get_isHdr_Public_get_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return *IL2CPP.il2cpp_object_unbox(intPtr);
			}
		}

		// Token: 0x170035DE RID: 13790
		// (get) Token: 0x06009FBF RID: 40895 RVA: 0x00290E00 File Offset: 0x0028F000
		public unsafe int width
		{
			[CallerCount(31)]
			[CachedScanResults(RefRangeStart = 649438, RefRangeEnd = 649469, XrefRangeStart = 649436, XrefRangeEnd = 649438, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PostProcessingContext.NativeMethodInfoPtr_get_width_Public_get_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return *IL2CPP.il2cpp_object_unbox(intPtr);
			}
		}

		// Token: 0x170035DF RID: 13791
		// (get) Token: 0x06009FC0 RID: 40896 RVA: 0x00290E50 File Offset: 0x0028F050
		public unsafe int height
		{
			[CallerCount(32)]
			[CachedScanResults(RefRangeStart = 649471, RefRangeEnd = 649503, XrefRangeStart = 649469, XrefRangeEnd = 649471, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PostProcessingContext.NativeMethodInfoPtr_get_height_Public_get_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return *IL2CPP.il2cpp_object_unbox(intPtr);
			}
		}

		// Token: 0x170035E0 RID: 13792
		// (get) Token: 0x06009FC1 RID: 40897 RVA: 0x00290EA0 File Offset: 0x0028F0A0
		public unsafe Rect viewport
		{
			[CallerCount(3)]
			[CachedScanResults(RefRangeStart = 649504, RefRangeEnd = 649507, XrefRangeStart = 649503, XrefRangeEnd = 649504, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PostProcessingContext.NativeMethodInfoPtr_get_viewport_Public_get_Rect_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return *IL2CPP.il2cpp_object_unbox(intPtr);
			}
		}

		// Token: 0x06009FC2 RID: 40898 RVA: 0x00290EF0 File Offset: 0x0028F0F0
		[CallerCount(1664)]
		[CachedScanResults(RefRangeStart = 7711, RefRangeEnd = 9375, XrefRangeStart = 7711, XrefRangeEnd = 9375, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe PostProcessingContext()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PostProcessingContext.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009FC3 RID: 40899 RVA: 0x00290F3C File Offset: 0x0028F13C
		// Note: this type is marked as 'beforefieldinit'.
		static PostProcessingContext()
		{
			Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "UnityEngine.PostProcessing", "PostProcessingContext");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr);
			PostProcessingContext.NativeFieldInfoPtr_profile = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, "profile");
			PostProcessingContext.NativeFieldInfoPtr_camera = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, "camera");
			PostProcessingContext.NativeFieldInfoPtr_materialFactory = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, "materialFactory");
			PostProcessingContext.NativeFieldInfoPtr_renderTextureFactory = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, "renderTextureFactory");
			PostProcessingContext.NativeFieldInfoPtr__interrupted_k__BackingField = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, "<interrupted>k__BackingField");
			PostProcessingContext.NativeMethodInfoPtr_get_interrupted_Public_get_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, 100675789);
			PostProcessingContext.NativeMethodInfoPtr_set_interrupted_Private_set_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, 100675790);
			PostProcessingContext.NativeMethodInfoPtr_Interrupt_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, 100675791);
			PostProcessingContext.NativeMethodInfoPtr_Reset_Public_PostProcessingContext_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, 100675792);
			PostProcessingContext.NativeMethodInfoPtr_get_isGBufferAvailable_Public_get_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, 100675793);
			PostProcessingContext.NativeMethodInfoPtr_get_isHdr_Public_get_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, 100675794);
			PostProcessingContext.NativeMethodInfoPtr_get_width_Public_get_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, 100675795);
			PostProcessingContext.NativeMethodInfoPtr_get_height_Public_get_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, 100675796);
			PostProcessingContext.NativeMethodInfoPtr_get_viewport_Public_get_Rect_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, 100675797);
			PostProcessingContext.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, 100675798);
		}

		// Token: 0x06009FC4 RID: 40900 RVA: 0x0000A74C File Offset: 0x0000894C
		public PostProcessingContext(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170035D6 RID: 13782
		// (get) Token: 0x06009FC5 RID: 40901 RVA: 0x00291098 File Offset: 0x0028F298
		// (set) Token: 0x06009FC6 RID: 40902 RVA: 0x002910CC File Offset: 0x0028F2CC
		public unsafe PostProcessingProfile profile
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PostProcessingContext.NativeFieldInfoPtr_profile);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new PostProcessingProfile(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(PostProcessingContext.NativeFieldInfoPtr_profile), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170035D7 RID: 13783
		// (get) Token: 0x06009FC7 RID: 40903 RVA: 0x002910F4 File Offset: 0x0028F2F4
		// (set) Token: 0x06009FC8 RID: 40904 RVA: 0x00291128 File Offset: 0x0028F328
		public unsafe Camera camera
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PostProcessingContext.NativeFieldInfoPtr_camera);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Camera(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(PostProcessingContext.NativeFieldInfoPtr_camera), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170035D8 RID: 13784
		// (get) Token: 0x06009FC9 RID: 40905 RVA: 0x00291150 File Offset: 0x0028F350
		// (set) Token: 0x06009FCA RID: 40906 RVA: 0x00291184 File Offset: 0x0028F384
		public unsafe MaterialFactory materialFactory
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PostProcessingContext.NativeFieldInfoPtr_materialFactory);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new MaterialFactory(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(PostProcessingContext.NativeFieldInfoPtr_materialFactory), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170035D9 RID: 13785
		// (get) Token: 0x06009FCB RID: 40907 RVA: 0x002911AC File Offset: 0x0028F3AC
		// (set) Token: 0x06009FCC RID: 40908 RVA: 0x002911E0 File Offset: 0x0028F3E0
		public unsafe RenderTextureFactory renderTextureFactory
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PostProcessingContext.NativeFieldInfoPtr_renderTextureFactory);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new RenderTextureFactory(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(PostProcessingContext.NativeFieldInfoPtr_renderTextureFactory), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170035DA RID: 13786
		// (get) Token: 0x06009FCD RID: 40909 RVA: 0x00291208 File Offset: 0x0028F408
		// (set) Token: 0x06009FCE RID: 40910 RVA: 0x00291230 File Offset: 0x0028F430
		public unsafe bool _interrupted_k__BackingField
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PostProcessingContext.NativeFieldInfoPtr__interrupted_k__BackingField);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PostProcessingContext.NativeFieldInfoPtr__interrupted_k__BackingField)) = value;
			}
		}

		// Token: 0x04006B49 RID: 27465
		private static readonly IntPtr NativeFieldInfoPtr_profile;

		// Token: 0x04006B4A RID: 27466
		private static readonly IntPtr NativeFieldInfoPtr_camera;

		// Token: 0x04006B4B RID: 27467
		private static readonly IntPtr NativeFieldInfoPtr_materialFactory;

		// Token: 0x04006B4C RID: 27468
		private static readonly IntPtr NativeFieldInfoPtr_renderTextureFactory;

		// Token: 0x04006B4D RID: 27469
		private static readonly IntPtr NativeFieldInfoPtr__interrupted_k__BackingField;

		// Token: 0x04006B4E RID: 27470
		private static readonly IntPtr NativeMethodInfoPtr_get_interrupted_Public_get_Boolean_0;

		// Token: 0x04006B4F RID: 27471
		private static readonly IntPtr NativeMethodInfoPtr_set_interrupted_Private_set_Void_Boolean_0;

		// Token: 0x04006B50 RID: 27472
		private static readonly IntPtr NativeMethodInfoPtr_Interrupt_Public_Void_0;

		// Token: 0x04006B51 RID: 27473
		private static readonly IntPtr NativeMethodInfoPtr_Reset_Public_PostProcessingContext_0;

		// Token: 0x04006B52 RID: 27474
		private static readonly IntPtr NativeMethodInfoPtr_get_isGBufferAvailable_Public_get_Boolean_0;

		// Token: 0x04006B53 RID: 27475
		private static readonly IntPtr NativeMethodInfoPtr_get_isHdr_Public_get_Boolean_0;

		// Token: 0x04006B54 RID: 27476
		private static readonly IntPtr NativeMethodInfoPtr_get_width_Public_get_Int32_0;

		// Token: 0x04006B55 RID: 27477
		private static readonly IntPtr NativeMethodInfoPtr_get_height_Public_get_Int32_0;

		// Token: 0x04006B56 RID: 27478
		private static readonly IntPtr NativeMethodInfoPtr_get_viewport_Public_get_Rect_0;

		// Token: 0x04006B57 RID: 27479
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
