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

namespace UnityStandardAssets.ImageEffects
{
	// Token: 0x020005C4 RID: 1476
	public class ContrastStretch : MonoBehaviour
	{
		// Token: 0x170034A1 RID: 13473
		// (get) Token: 0x06009B0E RID: 39694 RVA: 0x0027BF5C File Offset: 0x0027A15C
		public unsafe Material materialLum
		{
			[CallerCount(0)]
			[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 619749, XrefRangeEnd = 619759, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ContrastStretch.NativeMethodInfoPtr_get_materialLum_Protected_get_Material_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				IntPtr intPtr3 = intPtr;
				return (intPtr3 != 0) ? new Material(intPtr3) : null;
			}
		}

		// Token: 0x170034A2 RID: 13474
		// (get) Token: 0x06009B0F RID: 39695 RVA: 0x0027BFB4 File Offset: 0x0027A1B4
		public unsafe Material materialReduce
		{
			[CallerCount(1)]
			[CachedScanResults(RefRangeStart = 619769, RefRangeEnd = 619770, XrefRangeStart = 619759, XrefRangeEnd = 619769, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ContrastStretch.NativeMethodInfoPtr_get_materialReduce_Protected_get_Material_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				IntPtr intPtr3 = intPtr;
				return (intPtr3 != 0) ? new Material(intPtr3) : null;
			}
		}

		// Token: 0x170034A3 RID: 13475
		// (get) Token: 0x06009B10 RID: 39696 RVA: 0x0027C00C File Offset: 0x0027A20C
		public unsafe Material materialAdapt
		{
			[CallerCount(3)]
			[CachedScanResults(RefRangeStart = 619780, RefRangeEnd = 619783, XrefRangeStart = 619770, XrefRangeEnd = 619780, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ContrastStretch.NativeMethodInfoPtr_get_materialAdapt_Protected_get_Material_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				IntPtr intPtr3 = intPtr;
				return (intPtr3 != 0) ? new Material(intPtr3) : null;
			}
		}

		// Token: 0x170034A4 RID: 13476
		// (get) Token: 0x06009B11 RID: 39697 RVA: 0x0027C064 File Offset: 0x0027A264
		public unsafe Material materialApply
		{
			[CallerCount(2)]
			[CachedScanResults(RefRangeStart = 619793, RefRangeEnd = 619795, XrefRangeStart = 619783, XrefRangeEnd = 619793, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ContrastStretch.NativeMethodInfoPtr_get_materialApply_Protected_get_Material_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				IntPtr intPtr3 = intPtr;
				return (intPtr3 != 0) ? new Material(intPtr3) : null;
			}
		}

		// Token: 0x06009B12 RID: 39698 RVA: 0x0027C0BC File Offset: 0x0027A2BC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 619795, XrefRangeEnd = 619801, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Start()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ContrastStretch.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009B13 RID: 39699 RVA: 0x0027C100 File Offset: 0x0027A300
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 619801, XrefRangeEnd = 619812, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnEnable()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ContrastStretch.NativeMethodInfoPtr_OnEnable_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009B14 RID: 39700 RVA: 0x0027C144 File Offset: 0x0027A344
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 619812, XrefRangeEnd = 619841, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnDisable()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ContrastStretch.NativeMethodInfoPtr_OnDisable_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009B15 RID: 39701 RVA: 0x0027C188 File Offset: 0x0027A388
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 619841, XrefRangeEnd = 619876, 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(ContrastStretch.NativeMethodInfoPtr_OnRenderImage_Private_Void_RenderTexture_RenderTexture_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009B16 RID: 39702 RVA: 0x0027C1FC File Offset: 0x0027A3FC
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 619896, RefRangeEnd = 619897, XrefRangeStart = 619876, XrefRangeEnd = 619896, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void CalculateAdaptation(Texture curTexture)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(curTexture);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ContrastStretch.NativeMethodInfoPtr_CalculateAdaptation_Private_Void_Texture_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x06009B17 RID: 39703 RVA: 0x0027C258 File Offset: 0x0027A458
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 619897, XrefRangeEnd = 619902, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe ContrastStretch()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ContrastStretch.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009B18 RID: 39704 RVA: 0x0027C2A4 File Offset: 0x0027A4A4
		// Note: this type is marked as 'beforefieldinit'.
		static ContrastStretch()
		{
			Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "UnityStandardAssets.ImageEffects", "ContrastStretch");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr);
			ContrastStretch.NativeFieldInfoPtr_adaptationSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, "adaptationSpeed");
			ContrastStretch.NativeFieldInfoPtr_limitMinimum = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, "limitMinimum");
			ContrastStretch.NativeFieldInfoPtr_limitMaximum = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, "limitMaximum");
			ContrastStretch.NativeFieldInfoPtr_adaptRenderTex = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, "adaptRenderTex");
			ContrastStretch.NativeFieldInfoPtr_curAdaptIndex = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, "curAdaptIndex");
			ContrastStretch.NativeFieldInfoPtr_shaderLum = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, "shaderLum");
			ContrastStretch.NativeFieldInfoPtr_m_materialLum = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, "m_materialLum");
			ContrastStretch.NativeFieldInfoPtr_shaderReduce = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, "shaderReduce");
			ContrastStretch.NativeFieldInfoPtr_m_materialReduce = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, "m_materialReduce");
			ContrastStretch.NativeFieldInfoPtr_shaderAdapt = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, "shaderAdapt");
			ContrastStretch.NativeFieldInfoPtr_m_materialAdapt = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, "m_materialAdapt");
			ContrastStretch.NativeFieldInfoPtr_shaderApply = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, "shaderApply");
			ContrastStretch.NativeFieldInfoPtr_m_materialApply = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, "m_materialApply");
			ContrastStretch.NativeMethodInfoPtr_get_materialLum_Protected_get_Material_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, 100675294);
			ContrastStretch.NativeMethodInfoPtr_get_materialReduce_Protected_get_Material_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, 100675295);
			ContrastStretch.NativeMethodInfoPtr_get_materialAdapt_Protected_get_Material_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, 100675296);
			ContrastStretch.NativeMethodInfoPtr_get_materialApply_Protected_get_Material_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, 100675297);
			ContrastStretch.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, 100675298);
			ContrastStretch.NativeMethodInfoPtr_OnEnable_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, 100675299);
			ContrastStretch.NativeMethodInfoPtr_OnDisable_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, 100675300);
			ContrastStretch.NativeMethodInfoPtr_OnRenderImage_Private_Void_RenderTexture_RenderTexture_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, 100675301);
			ContrastStretch.NativeMethodInfoPtr_CalculateAdaptation_Private_Void_Texture_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, 100675302);
			ContrastStretch.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, 100675303);
		}

		// Token: 0x06009B19 RID: 39705 RVA: 0x0000351C File Offset: 0x0000171C
		public ContrastStretch(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17003494 RID: 13460
		// (get) Token: 0x06009B1A RID: 39706 RVA: 0x0027C4A0 File Offset: 0x0027A6A0
		// (set) Token: 0x06009B1B RID: 39707 RVA: 0x0027C4C8 File Offset: 0x0027A6C8
		public unsafe float adaptationSpeed
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ContrastStretch.NativeFieldInfoPtr_adaptationSpeed);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ContrastStretch.NativeFieldInfoPtr_adaptationSpeed)) = value;
			}
		}

		// Token: 0x17003495 RID: 13461
		// (get) Token: 0x06009B1C RID: 39708 RVA: 0x0027C4EC File Offset: 0x0027A6EC
		// (set) Token: 0x06009B1D RID: 39709 RVA: 0x0027C514 File Offset: 0x0027A714
		public unsafe float limitMinimum
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ContrastStretch.NativeFieldInfoPtr_limitMinimum);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ContrastStretch.NativeFieldInfoPtr_limitMinimum)) = value;
			}
		}

		// Token: 0x17003496 RID: 13462
		// (get) Token: 0x06009B1E RID: 39710 RVA: 0x0027C538 File Offset: 0x0027A738
		// (set) Token: 0x06009B1F RID: 39711 RVA: 0x0027C560 File Offset: 0x0027A760
		public unsafe float limitMaximum
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ContrastStretch.NativeFieldInfoPtr_limitMaximum);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ContrastStretch.NativeFieldInfoPtr_limitMaximum)) = value;
			}
		}

		// Token: 0x17003497 RID: 13463
		// (get) Token: 0x06009B20 RID: 39712 RVA: 0x0027C584 File Offset: 0x0027A784
		// (set) Token: 0x06009B21 RID: 39713 RVA: 0x0027C5B8 File Offset: 0x0027A7B8
		public unsafe Il2CppReferenceArray<RenderTexture> adaptRenderTex
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ContrastStretch.NativeFieldInfoPtr_adaptRenderTex);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Il2CppReferenceArray<RenderTexture>(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ContrastStretch.NativeFieldInfoPtr_adaptRenderTex), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17003498 RID: 13464
		// (get) Token: 0x06009B22 RID: 39714 RVA: 0x0027C5E0 File Offset: 0x0027A7E0
		// (set) Token: 0x06009B23 RID: 39715 RVA: 0x0027C608 File Offset: 0x0027A808
		public unsafe int curAdaptIndex
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ContrastStretch.NativeFieldInfoPtr_curAdaptIndex);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ContrastStretch.NativeFieldInfoPtr_curAdaptIndex)) = value;
			}
		}

		// Token: 0x17003499 RID: 13465
		// (get) Token: 0x06009B24 RID: 39716 RVA: 0x0027C62C File Offset: 0x0027A82C
		// (set) Token: 0x06009B25 RID: 39717 RVA: 0x0027C660 File Offset: 0x0027A860
		public unsafe Shader shaderLum
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ContrastStretch.NativeFieldInfoPtr_shaderLum);
				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(ContrastStretch.NativeFieldInfoPtr_shaderLum), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x1700349A RID: 13466
		// (get) Token: 0x06009B26 RID: 39718 RVA: 0x0027C688 File Offset: 0x0027A888
		// (set) Token: 0x06009B27 RID: 39719 RVA: 0x0027C6BC File Offset: 0x0027A8BC
		public unsafe Material m_materialLum
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ContrastStretch.NativeFieldInfoPtr_m_materialLum);
				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(ContrastStretch.NativeFieldInfoPtr_m_materialLum), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x1700349B RID: 13467
		// (get) Token: 0x06009B28 RID: 39720 RVA: 0x0027C6E4 File Offset: 0x0027A8E4
		// (set) Token: 0x06009B29 RID: 39721 RVA: 0x0027C718 File Offset: 0x0027A918
		public unsafe Shader shaderReduce
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ContrastStretch.NativeFieldInfoPtr_shaderReduce);
				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(ContrastStretch.NativeFieldInfoPtr_shaderReduce), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x1700349C RID: 13468
		// (get) Token: 0x06009B2A RID: 39722 RVA: 0x0027C740 File Offset: 0x0027A940
		// (set) Token: 0x06009B2B RID: 39723 RVA: 0x0027C774 File Offset: 0x0027A974
		public unsafe Material m_materialReduce
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ContrastStretch.NativeFieldInfoPtr_m_materialReduce);
				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(ContrastStretch.NativeFieldInfoPtr_m_materialReduce), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x1700349D RID: 13469
		// (get) Token: 0x06009B2C RID: 39724 RVA: 0x0027C79C File Offset: 0x0027A99C
		// (set) Token: 0x06009B2D RID: 39725 RVA: 0x0027C7D0 File Offset: 0x0027A9D0
		public unsafe Shader shaderAdapt
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ContrastStretch.NativeFieldInfoPtr_shaderAdapt);
				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(ContrastStretch.NativeFieldInfoPtr_shaderAdapt), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x1700349E RID: 13470
		// (get) Token: 0x06009B2E RID: 39726 RVA: 0x0027C7F8 File Offset: 0x0027A9F8
		// (set) Token: 0x06009B2F RID: 39727 RVA: 0x0027C82C File Offset: 0x0027AA2C
		public unsafe Material m_materialAdapt
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ContrastStretch.NativeFieldInfoPtr_m_materialAdapt);
				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(ContrastStretch.NativeFieldInfoPtr_m_materialAdapt), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x1700349F RID: 13471
		// (get) Token: 0x06009B30 RID: 39728 RVA: 0x0027C854 File Offset: 0x0027AA54
		// (set) Token: 0x06009B31 RID: 39729 RVA: 0x0027C888 File Offset: 0x0027AA88
		public unsafe Shader shaderApply
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ContrastStretch.NativeFieldInfoPtr_shaderApply);
				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(ContrastStretch.NativeFieldInfoPtr_shaderApply), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170034A0 RID: 13472
		// (get) Token: 0x06009B32 RID: 39730 RVA: 0x0027C8B0 File Offset: 0x0027AAB0
		// (set) Token: 0x06009B33 RID: 39731 RVA: 0x0027C8E4 File Offset: 0x0027AAE4
		public unsafe Material m_materialApply
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ContrastStretch.NativeFieldInfoPtr_m_materialApply);
				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(ContrastStretch.NativeFieldInfoPtr_m_materialApply), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x040067F5 RID: 26613
		private static readonly IntPtr NativeFieldInfoPtr_adaptationSpeed;

		// Token: 0x040067F6 RID: 26614
		private static readonly IntPtr NativeFieldInfoPtr_limitMinimum;

		// Token: 0x040067F7 RID: 26615
		private static readonly IntPtr NativeFieldInfoPtr_limitMaximum;

		// Token: 0x040067F8 RID: 26616
		private static readonly IntPtr NativeFieldInfoPtr_adaptRenderTex;

		// Token: 0x040067F9 RID: 26617
		private static readonly IntPtr NativeFieldInfoPtr_curAdaptIndex;

		// Token: 0x040067FA RID: 26618
		private static readonly IntPtr NativeFieldInfoPtr_shaderLum;

		// Token: 0x040067FB RID: 26619
		private static readonly IntPtr NativeFieldInfoPtr_m_materialLum;

		// Token: 0x040067FC RID: 26620
		private static readonly IntPtr NativeFieldInfoPtr_shaderReduce;

		// Token: 0x040067FD RID: 26621
		private static readonly IntPtr NativeFieldInfoPtr_m_materialReduce;

		// Token: 0x040067FE RID: 26622
		private static readonly IntPtr NativeFieldInfoPtr_shaderAdapt;

		// Token: 0x040067FF RID: 26623
		private static readonly IntPtr NativeFieldInfoPtr_m_materialAdapt;

		// Token: 0x04006800 RID: 26624
		private static readonly IntPtr NativeFieldInfoPtr_shaderApply;

		// Token: 0x04006801 RID: 26625
		private static readonly IntPtr NativeFieldInfoPtr_m_materialApply;

		// Token: 0x04006802 RID: 26626
		private static readonly IntPtr NativeMethodInfoPtr_get_materialLum_Protected_get_Material_0;

		// Token: 0x04006803 RID: 26627
		private static readonly IntPtr NativeMethodInfoPtr_get_materialReduce_Protected_get_Material_0;

		// Token: 0x04006804 RID: 26628
		private static readonly IntPtr NativeMethodInfoPtr_get_materialAdapt_Protected_get_Material_0;

		// Token: 0x04006805 RID: 26629
		private static readonly IntPtr NativeMethodInfoPtr_get_materialApply_Protected_get_Material_0;

		// Token: 0x04006806 RID: 26630
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x04006807 RID: 26631
		private static readonly IntPtr NativeMethodInfoPtr_OnEnable_Private_Void_0;

		// Token: 0x04006808 RID: 26632
		private static readonly IntPtr NativeMethodInfoPtr_OnDisable_Private_Void_0;

		// Token: 0x04006809 RID: 26633
		private static readonly IntPtr NativeMethodInfoPtr_OnRenderImage_Private_Void_RenderTexture_RenderTexture_0;

		// Token: 0x0400680A RID: 26634
		private static readonly IntPtr NativeMethodInfoPtr_CalculateAdaptation_Private_Void_Texture_0;

		// Token: 0x0400680B RID: 26635
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
