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

namespace UnityStandardAssets.ImageEffects
{
	// Token: 0x020005C6 RID: 1478
	public class DepthOfField : PostEffectsBase
	{
		// Token: 0x06009B4B RID: 39755 RVA: 0x0027CE54 File Offset: 0x0027B054
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 619947, XrefRangeEnd = 619966, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override bool CheckResources()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), DepthOfField.NativeMethodInfoPtr_CheckResources_Public_Virtual_Boolean_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return *IL2CPP.il2cpp_object_unbox(intPtr);
		}

		// Token: 0x06009B4C RID: 39756 RVA: 0x0027CEB0 File Offset: 0x0027B0B0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 619966, XrefRangeEnd = 619973, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public new unsafe void OnEnable()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DepthOfField.NativeMethodInfoPtr_OnEnable_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009B4D RID: 39757 RVA: 0x0027CEF4 File Offset: 0x0027B0F4
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 619973, XrefRangeEnd = 619992, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnDisable()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DepthOfField.NativeMethodInfoPtr_OnDisable_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009B4E RID: 39758 RVA: 0x0027CF38 File Offset: 0x0027B138
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 619992, XrefRangeEnd = 619996, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void ReleaseComputeResources()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DepthOfField.NativeMethodInfoPtr_ReleaseComputeResources_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009B4F RID: 39759 RVA: 0x0027CF7C File Offset: 0x0027B17C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 619996, XrefRangeEnd = 620009, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void CreateComputeResources()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DepthOfField.NativeMethodInfoPtr_CreateComputeResources_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009B50 RID: 39760 RVA: 0x0027CFC0 File Offset: 0x0027B1C0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 620009, XrefRangeEnd = 620017, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe float FocalDistance01(float worldDist)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = ref worldDist;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DepthOfField.NativeMethodInfoPtr_FocalDistance01_Private_Single_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return *IL2CPP.il2cpp_object_unbox(intPtr);
			}
		}

		// Token: 0x06009B51 RID: 39761 RVA: 0x0027D024 File Offset: 0x0027B224
		[CallerCount(4)]
		[CachedScanResults(RefRangeStart = 620026, RefRangeEnd = 620030, XrefRangeStart = 620017, XrefRangeEnd = 620026, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void WriteCoc(RenderTexture fromTo, bool fgDilate)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr;
			checked
			{
				ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(fromTo);
			}
			ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref fgDilate;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DepthOfField.NativeMethodInfoPtr_WriteCoc_Private_Void_RenderTexture_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009B52 RID: 39762 RVA: 0x0027D090 File Offset: 0x0027B290
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 620030, XrefRangeEnd = 620276, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnRenderImage(RenderTexture source, RenderTexture destination)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr;
			checked
			{
				ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(source);
			}
			ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(destination);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DepthOfField.NativeMethodInfoPtr_OnRenderImage_Private_Void_RenderTexture_RenderTexture_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009B53 RID: 39763 RVA: 0x0027D104 File Offset: 0x0027B304
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 620276, XrefRangeEnd = 620277, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe DepthOfField()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DepthOfField.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009B54 RID: 39764 RVA: 0x0027D150 File Offset: 0x0027B350
		// Note: this type is marked as 'beforefieldinit'.
		static DepthOfField()
		{
			Il2CppClassPointerStore<DepthOfField>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "UnityStandardAssets.ImageEffects", "DepthOfField");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr);
			DepthOfField.NativeFieldInfoPtr_visualizeFocus = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "visualizeFocus");
			DepthOfField.NativeFieldInfoPtr_focalLength = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "focalLength");
			DepthOfField.NativeFieldInfoPtr_focalSize = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "focalSize");
			DepthOfField.NativeFieldInfoPtr_aperture = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "aperture");
			DepthOfField.NativeFieldInfoPtr_focalTransform = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "focalTransform");
			DepthOfField.NativeFieldInfoPtr_maxBlurSize = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "maxBlurSize");
			DepthOfField.NativeFieldInfoPtr_highResolution = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "highResolution");
			DepthOfField.NativeFieldInfoPtr_blurType = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "blurType");
			DepthOfField.NativeFieldInfoPtr_blurSampleCount = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "blurSampleCount");
			DepthOfField.NativeFieldInfoPtr_nearBlur = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "nearBlur");
			DepthOfField.NativeFieldInfoPtr_foregroundOverlap = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "foregroundOverlap");
			DepthOfField.NativeFieldInfoPtr_dofHdrShader = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "dofHdrShader");
			DepthOfField.NativeFieldInfoPtr_dofHdrMaterial = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "dofHdrMaterial");
			DepthOfField.NativeFieldInfoPtr_dx11BokehShader = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "dx11BokehShader");
			DepthOfField.NativeFieldInfoPtr_dx11bokehMaterial = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "dx11bokehMaterial");
			DepthOfField.NativeFieldInfoPtr_dx11BokehThreshold = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "dx11BokehThreshold");
			DepthOfField.NativeFieldInfoPtr_dx11SpawnHeuristic = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "dx11SpawnHeuristic");
			DepthOfField.NativeFieldInfoPtr_dx11BokehTexture = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "dx11BokehTexture");
			DepthOfField.NativeFieldInfoPtr_dx11BokehScale = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "dx11BokehScale");
			DepthOfField.NativeFieldInfoPtr_dx11BokehIntensity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "dx11BokehIntensity");
			DepthOfField.NativeFieldInfoPtr_focalDistance01 = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "focalDistance01");
			DepthOfField.NativeFieldInfoPtr_cbDrawArgs = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "cbDrawArgs");
			DepthOfField.NativeFieldInfoPtr_cbPoints = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "cbPoints");
			DepthOfField.NativeFieldInfoPtr_internalBlurWidth = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "internalBlurWidth");
			DepthOfField.NativeFieldInfoPtr_cachedCamera = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, "cachedCamera");
			DepthOfField.NativeMethodInfoPtr_CheckResources_Public_Virtual_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, 100675307);
			DepthOfField.NativeMethodInfoPtr_OnEnable_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, 100675308);
			DepthOfField.NativeMethodInfoPtr_OnDisable_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, 100675309);
			DepthOfField.NativeMethodInfoPtr_ReleaseComputeResources_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, 100675310);
			DepthOfField.NativeMethodInfoPtr_CreateComputeResources_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, 100675311);
			DepthOfField.NativeMethodInfoPtr_FocalDistance01_Private_Single_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, 100675312);
			DepthOfField.NativeMethodInfoPtr_WriteCoc_Private_Void_RenderTexture_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, 100675313);
			DepthOfField.NativeMethodInfoPtr_OnRenderImage_Private_Void_RenderTexture_RenderTexture_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, 100675314);
			DepthOfField.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DepthOfField>.NativeClassPtr, 100675315);
		}

		// Token: 0x06009B55 RID: 39765 RVA: 0x00275EC4 File Offset: 0x002740C4
		public DepthOfField(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170034AE RID: 13486
		// (get) Token: 0x06009B56 RID: 39766 RVA: 0x0027D428 File Offset: 0x0027B628
		// (set) Token: 0x06009B57 RID: 39767 RVA: 0x0027D450 File Offset: 0x0027B650
		public unsafe bool visualizeFocus
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_visualizeFocus);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_visualizeFocus)) = value;
			}
		}

		// Token: 0x170034AF RID: 13487
		// (get) Token: 0x06009B58 RID: 39768 RVA: 0x0027D474 File Offset: 0x0027B674
		// (set) Token: 0x06009B59 RID: 39769 RVA: 0x0027D49C File Offset: 0x0027B69C
		public unsafe float focalLength
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_focalLength);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_focalLength)) = value;
			}
		}

		// Token: 0x170034B0 RID: 13488
		// (get) Token: 0x06009B5A RID: 39770 RVA: 0x0027D4C0 File Offset: 0x0027B6C0
		// (set) Token: 0x06009B5B RID: 39771 RVA: 0x0027D4E8 File Offset: 0x0027B6E8
		public unsafe float focalSize
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_focalSize);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_focalSize)) = value;
			}
		}

		// Token: 0x170034B1 RID: 13489
		// (get) Token: 0x06009B5C RID: 39772 RVA: 0x0027D50C File Offset: 0x0027B70C
		// (set) Token: 0x06009B5D RID: 39773 RVA: 0x0027D534 File Offset: 0x0027B734
		public unsafe float aperture
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_aperture);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_aperture)) = value;
			}
		}

		// Token: 0x170034B2 RID: 13490
		// (get) Token: 0x06009B5E RID: 39774 RVA: 0x0027D558 File Offset: 0x0027B758
		// (set) Token: 0x06009B5F RID: 39775 RVA: 0x0027D58C File Offset: 0x0027B78C
		public unsafe Transform focalTransform
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_focalTransform);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Transform(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_focalTransform), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170034B3 RID: 13491
		// (get) Token: 0x06009B60 RID: 39776 RVA: 0x0027D5B4 File Offset: 0x0027B7B4
		// (set) Token: 0x06009B61 RID: 39777 RVA: 0x0027D5DC File Offset: 0x0027B7DC
		public unsafe float maxBlurSize
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_maxBlurSize);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_maxBlurSize)) = value;
			}
		}

		// Token: 0x170034B4 RID: 13492
		// (get) Token: 0x06009B62 RID: 39778 RVA: 0x0027D600 File Offset: 0x0027B800
		// (set) Token: 0x06009B63 RID: 39779 RVA: 0x0027D628 File Offset: 0x0027B828
		public unsafe bool highResolution
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_highResolution);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_highResolution)) = value;
			}
		}

		// Token: 0x170034B5 RID: 13493
		// (get) Token: 0x06009B64 RID: 39780 RVA: 0x0027D64C File Offset: 0x0027B84C
		// (set) Token: 0x06009B65 RID: 39781 RVA: 0x0027D674 File Offset: 0x0027B874
		public unsafe DepthOfField.BlurType blurType
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_blurType);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_blurType)) = value;
			}
		}

		// Token: 0x170034B6 RID: 13494
		// (get) Token: 0x06009B66 RID: 39782 RVA: 0x0027D698 File Offset: 0x0027B898
		// (set) Token: 0x06009B67 RID: 39783 RVA: 0x0027D6C0 File Offset: 0x0027B8C0
		public unsafe DepthOfField.BlurSampleCount blurSampleCount
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_blurSampleCount);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_blurSampleCount)) = value;
			}
		}

		// Token: 0x170034B7 RID: 13495
		// (get) Token: 0x06009B68 RID: 39784 RVA: 0x0027D6E4 File Offset: 0x0027B8E4
		// (set) Token: 0x06009B69 RID: 39785 RVA: 0x0027D70C File Offset: 0x0027B90C
		public unsafe bool nearBlur
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_nearBlur);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_nearBlur)) = value;
			}
		}

		// Token: 0x170034B8 RID: 13496
		// (get) Token: 0x06009B6A RID: 39786 RVA: 0x0027D730 File Offset: 0x0027B930
		// (set) Token: 0x06009B6B RID: 39787 RVA: 0x0027D758 File Offset: 0x0027B958
		public unsafe float foregroundOverlap
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_foregroundOverlap);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_foregroundOverlap)) = value;
			}
		}

		// Token: 0x170034B9 RID: 13497
		// (get) Token: 0x06009B6C RID: 39788 RVA: 0x0027D77C File Offset: 0x0027B97C
		// (set) Token: 0x06009B6D RID: 39789 RVA: 0x0027D7B0 File Offset: 0x0027B9B0
		public unsafe Shader dofHdrShader
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_dofHdrShader);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Shader(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_dofHdrShader), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170034BA RID: 13498
		// (get) Token: 0x06009B6E RID: 39790 RVA: 0x0027D7D8 File Offset: 0x0027B9D8
		// (set) Token: 0x06009B6F RID: 39791 RVA: 0x0027D80C File Offset: 0x0027BA0C
		public unsafe Material dofHdrMaterial
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_dofHdrMaterial);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Material(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_dofHdrMaterial), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170034BB RID: 13499
		// (get) Token: 0x06009B70 RID: 39792 RVA: 0x0027D834 File Offset: 0x0027BA34
		// (set) Token: 0x06009B71 RID: 39793 RVA: 0x0027D868 File Offset: 0x0027BA68
		public unsafe Shader dx11BokehShader
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_dx11BokehShader);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Shader(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_dx11BokehShader), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170034BC RID: 13500
		// (get) Token: 0x06009B72 RID: 39794 RVA: 0x0027D890 File Offset: 0x0027BA90
		// (set) Token: 0x06009B73 RID: 39795 RVA: 0x0027D8C4 File Offset: 0x0027BAC4
		public unsafe Material dx11bokehMaterial
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_dx11bokehMaterial);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Material(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_dx11bokehMaterial), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170034BD RID: 13501
		// (get) Token: 0x06009B74 RID: 39796 RVA: 0x0027D8EC File Offset: 0x0027BAEC
		// (set) Token: 0x06009B75 RID: 39797 RVA: 0x0027D914 File Offset: 0x0027BB14
		public unsafe float dx11BokehThreshold
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_dx11BokehThreshold);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_dx11BokehThreshold)) = value;
			}
		}

		// Token: 0x170034BE RID: 13502
		// (get) Token: 0x06009B76 RID: 39798 RVA: 0x0027D938 File Offset: 0x0027BB38
		// (set) Token: 0x06009B77 RID: 39799 RVA: 0x0027D960 File Offset: 0x0027BB60
		public unsafe float dx11SpawnHeuristic
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_dx11SpawnHeuristic);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_dx11SpawnHeuristic)) = value;
			}
		}

		// Token: 0x170034BF RID: 13503
		// (get) Token: 0x06009B78 RID: 39800 RVA: 0x0027D984 File Offset: 0x0027BB84
		// (set) Token: 0x06009B79 RID: 39801 RVA: 0x0027D9B8 File Offset: 0x0027BBB8
		public unsafe Texture2D dx11BokehTexture
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_dx11BokehTexture);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Texture2D(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_dx11BokehTexture), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170034C0 RID: 13504
		// (get) Token: 0x06009B7A RID: 39802 RVA: 0x0027D9E0 File Offset: 0x0027BBE0
		// (set) Token: 0x06009B7B RID: 39803 RVA: 0x0027DA08 File Offset: 0x0027BC08
		public unsafe float dx11BokehScale
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_dx11BokehScale);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_dx11BokehScale)) = value;
			}
		}

		// Token: 0x170034C1 RID: 13505
		// (get) Token: 0x06009B7C RID: 39804 RVA: 0x0027DA2C File Offset: 0x0027BC2C
		// (set) Token: 0x06009B7D RID: 39805 RVA: 0x0027DA54 File Offset: 0x0027BC54
		public unsafe float dx11BokehIntensity
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_dx11BokehIntensity);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_dx11BokehIntensity)) = value;
			}
		}

		// Token: 0x170034C2 RID: 13506
		// (get) Token: 0x06009B7E RID: 39806 RVA: 0x0027DA78 File Offset: 0x0027BC78
		// (set) Token: 0x06009B7F RID: 39807 RVA: 0x0027DAA0 File Offset: 0x0027BCA0
		public unsafe float focalDistance01
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_focalDistance01);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_focalDistance01)) = value;
			}
		}

		// Token: 0x170034C3 RID: 13507
		// (get) Token: 0x06009B80 RID: 39808 RVA: 0x0027DAC4 File Offset: 0x0027BCC4
		// (set) Token: 0x06009B81 RID: 39809 RVA: 0x0027DAF8 File Offset: 0x0027BCF8
		public unsafe ComputeBuffer cbDrawArgs
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_cbDrawArgs);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new ComputeBuffer(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_cbDrawArgs), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170034C4 RID: 13508
		// (get) Token: 0x06009B82 RID: 39810 RVA: 0x0027DB20 File Offset: 0x0027BD20
		// (set) Token: 0x06009B83 RID: 39811 RVA: 0x0027DB54 File Offset: 0x0027BD54
		public unsafe ComputeBuffer cbPoints
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_cbPoints);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new ComputeBuffer(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_cbPoints), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170034C5 RID: 13509
		// (get) Token: 0x06009B84 RID: 39812 RVA: 0x0027DB7C File Offset: 0x0027BD7C
		// (set) Token: 0x06009B85 RID: 39813 RVA: 0x0027DBA4 File Offset: 0x0027BDA4
		public unsafe float internalBlurWidth
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_internalBlurWidth);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_internalBlurWidth)) = value;
			}
		}

		// Token: 0x170034C6 RID: 13510
		// (get) Token: 0x06009B86 RID: 39814 RVA: 0x0027DBC8 File Offset: 0x0027BDC8
		// (set) Token: 0x06009B87 RID: 39815 RVA: 0x0027DBFC File Offset: 0x0027BDFC
		public unsafe Camera cachedCamera
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfField.NativeFieldInfoPtr_cachedCamera);
				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(DepthOfField.NativeFieldInfoPtr_cachedCamera), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x04006818 RID: 26648
		private static readonly IntPtr NativeFieldInfoPtr_visualizeFocus;

		// Token: 0x04006819 RID: 26649
		private static readonly IntPtr NativeFieldInfoPtr_focalLength;

		// Token: 0x0400681A RID: 26650
		private static readonly IntPtr NativeFieldInfoPtr_focalSize;

		// Token: 0x0400681B RID: 26651
		private static readonly IntPtr NativeFieldInfoPtr_aperture;

		// Token: 0x0400681C RID: 26652
		private static readonly IntPtr NativeFieldInfoPtr_focalTransform;

		// Token: 0x0400681D RID: 26653
		private static readonly IntPtr NativeFieldInfoPtr_maxBlurSize;

		// Token: 0x0400681E RID: 26654
		private static readonly IntPtr NativeFieldInfoPtr_highResolution;

		// Token: 0x0400681F RID: 26655
		private static readonly IntPtr NativeFieldInfoPtr_blurType;

		// Token: 0x04006820 RID: 26656
		private static readonly IntPtr NativeFieldInfoPtr_blurSampleCount;

		// Token: 0x04006821 RID: 26657
		private static readonly IntPtr NativeFieldInfoPtr_nearBlur;

		// Token: 0x04006822 RID: 26658
		private static readonly IntPtr NativeFieldInfoPtr_foregroundOverlap;

		// Token: 0x04006823 RID: 26659
		private static readonly IntPtr NativeFieldInfoPtr_dofHdrShader;

		// Token: 0x04006824 RID: 26660
		private static readonly IntPtr NativeFieldInfoPtr_dofHdrMaterial;

		// Token: 0x04006825 RID: 26661
		private static readonly IntPtr NativeFieldInfoPtr_dx11BokehShader;

		// Token: 0x04006826 RID: 26662
		private static readonly IntPtr NativeFieldInfoPtr_dx11bokehMaterial;

		// Token: 0x04006827 RID: 26663
		private static readonly IntPtr NativeFieldInfoPtr_dx11BokehThreshold;

		// Token: 0x04006828 RID: 26664
		private static readonly IntPtr NativeFieldInfoPtr_dx11SpawnHeuristic;

		// Token: 0x04006829 RID: 26665
		private static readonly IntPtr NativeFieldInfoPtr_dx11BokehTexture;

		// Token: 0x0400682A RID: 26666
		private static readonly IntPtr NativeFieldInfoPtr_dx11BokehScale;

		// Token: 0x0400682B RID: 26667
		private static readonly IntPtr NativeFieldInfoPtr_dx11BokehIntensity;

		// Token: 0x0400682C RID: 26668
		private static readonly IntPtr NativeFieldInfoPtr_focalDistance01;

		// Token: 0x0400682D RID: 26669
		private static readonly IntPtr NativeFieldInfoPtr_cbDrawArgs;

		// Token: 0x0400682E RID: 26670
		private static readonly IntPtr NativeFieldInfoPtr_cbPoints;

		// Token: 0x0400682F RID: 26671
		private static readonly IntPtr NativeFieldInfoPtr_internalBlurWidth;

		// Token: 0x04006830 RID: 26672
		private static readonly IntPtr NativeFieldInfoPtr_cachedCamera;

		// Token: 0x04006831 RID: 26673
		private static readonly IntPtr NativeMethodInfoPtr_CheckResources_Public_Virtual_Boolean_0;

		// Token: 0x04006832 RID: 26674
		private static readonly IntPtr NativeMethodInfoPtr_OnEnable_Private_Void_0;

		// Token: 0x04006833 RID: 26675
		private static readonly IntPtr NativeMethodInfoPtr_OnDisable_Private_Void_0;

		// Token: 0x04006834 RID: 26676
		private static readonly IntPtr NativeMethodInfoPtr_ReleaseComputeResources_Private_Void_0;

		// Token: 0x04006835 RID: 26677
		private static readonly IntPtr NativeMethodInfoPtr_CreateComputeResources_Private_Void_0;

		// Token: 0x04006836 RID: 26678
		private static readonly IntPtr NativeMethodInfoPtr_FocalDistance01_Private_Single_Single_0;

		// Token: 0x04006837 RID: 26679
		private static readonly IntPtr NativeMethodInfoPtr_WriteCoc_Private_Void_RenderTexture_Boolean_0;

		// Token: 0x04006838 RID: 26680
		private static readonly IntPtr NativeMethodInfoPtr_OnRenderImage_Private_Void_RenderTexture_RenderTexture_0;

		// Token: 0x04006839 RID: 26681
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

		// Token: 0x020005C7 RID: 1479
		public enum BlurType
		{
			// Token: 0x0400683B RID: 26683
			DiscBlur,
			// Token: 0x0400683C RID: 26684
			DX11
		}

		// Token: 0x020005C8 RID: 1480
		public enum BlurSampleCount
		{
			// Token: 0x0400683E RID: 26686
			Low,
			// Token: 0x0400683F RID: 26687
			Medium,
			// Token: 0x04006840 RID: 26688
			High
		}
	}
}
