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

namespace UnityEngine.PostProcessing
{
	// Token: 0x0200058B RID: 1419
	public class PostProcessingContext : Object
	{
		// Token: 0x17003340 RID: 13120
		// (get) Token: 0x06009766 RID: 38758 RVA: 0x0026DEE4 File Offset: 0x0026C0E4
		// (set) Token: 0x06009767 RID: 38759 RVA: 0x0026DF34 File Offset: 0x0026C134
		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: 0x06009768 RID: 38760 RVA: 0x0026DF88 File Offset: 0x0026C188
		[CallerCount(56)]
		[CachedScanResults(RefRangeStart = 545350, RefRangeEnd = 545406, XrefRangeStart = 545350, XrefRangeEnd = 545406, 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: 0x06009769 RID: 38761 RVA: 0x0026DFCC File Offset: 0x0026C1CC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617136, XrefRangeEnd = 617140, 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: 0x17003341 RID: 13121
		// (get) Token: 0x0600976A RID: 38762 RVA: 0x0026E024 File Offset: 0x0026C224
		public unsafe bool isGBufferAvailable
		{
			[CallerCount(6)]
			[CachedScanResults(RefRangeStart = 617141, RefRangeEnd = 617147, XrefRangeStart = 617140, XrefRangeEnd = 617141, 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: 0x17003342 RID: 13122
		// (get) Token: 0x0600976B RID: 38763 RVA: 0x0026E074 File Offset: 0x0026C274
		public unsafe bool isHdr
		{
			[CallerCount(5)]
			[CachedScanResults(RefRangeStart = 617149, RefRangeEnd = 617154, XrefRangeStart = 617147, XrefRangeEnd = 617149, 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: 0x17003343 RID: 13123
		// (get) Token: 0x0600976C RID: 38764 RVA: 0x0026E0C4 File Offset: 0x0026C2C4
		public unsafe int width
		{
			[CallerCount(31)]
			[CachedScanResults(RefRangeStart = 617156, RefRangeEnd = 617187, XrefRangeStart = 617154, XrefRangeEnd = 617156, 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: 0x17003344 RID: 13124
		// (get) Token: 0x0600976D RID: 38765 RVA: 0x0026E114 File Offset: 0x0026C314
		public unsafe int height
		{
			[CallerCount(32)]
			[CachedScanResults(RefRangeStart = 617189, RefRangeEnd = 617221, XrefRangeStart = 617187, XrefRangeEnd = 617189, 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: 0x17003345 RID: 13125
		// (get) Token: 0x0600976E RID: 38766 RVA: 0x0026E164 File Offset: 0x0026C364
		public unsafe Rect viewport
		{
			[CallerCount(3)]
			[CachedScanResults(RefRangeStart = 617222, RefRangeEnd = 617225, XrefRangeStart = 617221, XrefRangeEnd = 617222, 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: 0x0600976F RID: 38767 RVA: 0x0026E1B4 File Offset: 0x0026C3B4
		[CallerCount(1642)]
		[CachedScanResults(RefRangeStart = 7417, RefRangeEnd = 9059, XrefRangeStart = 7417, XrefRangeEnd = 9059, 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: 0x06009770 RID: 38768 RVA: 0x0026E200 File Offset: 0x0026C400
		// 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, 100675076);
			PostProcessingContext.NativeMethodInfoPtr_set_interrupted_Private_set_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, 100675077);
			PostProcessingContext.NativeMethodInfoPtr_Interrupt_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, 100675078);
			PostProcessingContext.NativeMethodInfoPtr_Reset_Public_PostProcessingContext_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, 100675079);
			PostProcessingContext.NativeMethodInfoPtr_get_isGBufferAvailable_Public_get_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, 100675080);
			PostProcessingContext.NativeMethodInfoPtr_get_isHdr_Public_get_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, 100675081);
			PostProcessingContext.NativeMethodInfoPtr_get_width_Public_get_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, 100675082);
			PostProcessingContext.NativeMethodInfoPtr_get_height_Public_get_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, 100675083);
			PostProcessingContext.NativeMethodInfoPtr_get_viewport_Public_get_Rect_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, 100675084);
			PostProcessingContext.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingContext>.NativeClassPtr, 100675085);
		}

		// Token: 0x06009771 RID: 38769 RVA: 0x0000A688 File Offset: 0x00008888
		public PostProcessingContext(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x1700333B RID: 13115
		// (get) Token: 0x06009772 RID: 38770 RVA: 0x0026E35C File Offset: 0x0026C55C
		// (set) Token: 0x06009773 RID: 38771 RVA: 0x0026E390 File Offset: 0x0026C590
		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: 0x1700333C RID: 13116
		// (get) Token: 0x06009774 RID: 38772 RVA: 0x0026E3B8 File Offset: 0x0026C5B8
		// (set) Token: 0x06009775 RID: 38773 RVA: 0x0026E3EC File Offset: 0x0026C5EC
		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: 0x1700333D RID: 13117
		// (get) Token: 0x06009776 RID: 38774 RVA: 0x0026E414 File Offset: 0x0026C614
		// (set) Token: 0x06009777 RID: 38775 RVA: 0x0026E448 File Offset: 0x0026C648
		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: 0x1700333E RID: 13118
		// (get) Token: 0x06009778 RID: 38776 RVA: 0x0026E470 File Offset: 0x0026C670
		// (set) Token: 0x06009779 RID: 38777 RVA: 0x0026E4A4 File Offset: 0x0026C6A4
		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: 0x1700333F RID: 13119
		// (get) Token: 0x0600977A RID: 38778 RVA: 0x0026E4CC File Offset: 0x0026C6CC
		// (set) Token: 0x0600977B RID: 38779 RVA: 0x0026E4F4 File Offset: 0x0026C6F4
		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: 0x040065A0 RID: 26016
		private static readonly IntPtr NativeFieldInfoPtr_profile;

		// Token: 0x040065A1 RID: 26017
		private static readonly IntPtr NativeFieldInfoPtr_camera;

		// Token: 0x040065A2 RID: 26018
		private static readonly IntPtr NativeFieldInfoPtr_materialFactory;

		// Token: 0x040065A3 RID: 26019
		private static readonly IntPtr NativeFieldInfoPtr_renderTextureFactory;

		// Token: 0x040065A4 RID: 26020
		private static readonly IntPtr NativeFieldInfoPtr__interrupted_k__BackingField;

		// Token: 0x040065A5 RID: 26021
		private static readonly IntPtr NativeMethodInfoPtr_get_interrupted_Public_get_Boolean_0;

		// Token: 0x040065A6 RID: 26022
		private static readonly IntPtr NativeMethodInfoPtr_set_interrupted_Private_set_Void_Boolean_0;

		// Token: 0x040065A7 RID: 26023
		private static readonly IntPtr NativeMethodInfoPtr_Interrupt_Public_Void_0;

		// Token: 0x040065A8 RID: 26024
		private static readonly IntPtr NativeMethodInfoPtr_Reset_Public_PostProcessingContext_0;

		// Token: 0x040065A9 RID: 26025
		private static readonly IntPtr NativeMethodInfoPtr_get_isGBufferAvailable_Public_get_Boolean_0;

		// Token: 0x040065AA RID: 26026
		private static readonly IntPtr NativeMethodInfoPtr_get_isHdr_Public_get_Boolean_0;

		// Token: 0x040065AB RID: 26027
		private static readonly IntPtr NativeMethodInfoPtr_get_width_Public_get_Int32_0;

		// Token: 0x040065AC RID: 26028
		private static readonly IntPtr NativeMethodInfoPtr_get_height_Public_get_Int32_0;

		// Token: 0x040065AD RID: 26029
		private static readonly IntPtr NativeMethodInfoPtr_get_viewport_Public_get_Rect_0;

		// Token: 0x040065AE RID: 26030
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
