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

namespace UnityStandardAssets.ImageEffects
{
	// Token: 0x0200061C RID: 1564
	public class ContrastStretch : MonoBehaviour
	{
		// Token: 0x1700373C RID: 14140
		// (get) Token: 0x0600A361 RID: 41825 RVA: 0x0029EC98 File Offset: 0x0029CE98
		public unsafe Material materialLum
		{
			[CallerCount(0)]
			[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 652051, XrefRangeEnd = 652061, 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: 0x1700373D RID: 14141
		// (get) Token: 0x0600A362 RID: 41826 RVA: 0x0029ECF0 File Offset: 0x0029CEF0
		public unsafe Material materialReduce
		{
			[CallerCount(1)]
			[CachedScanResults(RefRangeStart = 652071, RefRangeEnd = 652072, XrefRangeStart = 652061, XrefRangeEnd = 652071, 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: 0x1700373E RID: 14142
		// (get) Token: 0x0600A363 RID: 41827 RVA: 0x0029ED48 File Offset: 0x0029CF48
		public unsafe Material materialAdapt
		{
			[CallerCount(3)]
			[CachedScanResults(RefRangeStart = 652082, RefRangeEnd = 652085, XrefRangeStart = 652072, XrefRangeEnd = 652082, 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: 0x1700373F RID: 14143
		// (get) Token: 0x0600A364 RID: 41828 RVA: 0x0029EDA0 File Offset: 0x0029CFA0
		public unsafe Material materialApply
		{
			[CallerCount(2)]
			[CachedScanResults(RefRangeStart = 652095, RefRangeEnd = 652097, XrefRangeStart = 652085, XrefRangeEnd = 652095, 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: 0x0600A365 RID: 41829 RVA: 0x0029EDF8 File Offset: 0x0029CFF8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 652097, XrefRangeEnd = 652103, 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: 0x0600A366 RID: 41830 RVA: 0x0029EE3C File Offset: 0x0029D03C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 652103, XrefRangeEnd = 652114, 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: 0x0600A367 RID: 41831 RVA: 0x0029EE80 File Offset: 0x0029D080
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 652114, XrefRangeEnd = 652143, 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: 0x0600A368 RID: 41832 RVA: 0x0029EEC4 File Offset: 0x0029D0C4
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 652143, XrefRangeEnd = 652178, 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: 0x0600A369 RID: 41833 RVA: 0x0029EF38 File Offset: 0x0029D138
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 652198, RefRangeEnd = 652199, XrefRangeStart = 652178, XrefRangeEnd = 652198, 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: 0x0600A36A RID: 41834 RVA: 0x0029EF94 File Offset: 0x0029D194
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 652199, XrefRangeEnd = 652204, 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: 0x0600A36B RID: 41835 RVA: 0x0029EFE0 File Offset: 0x0029D1E0
		// 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, 100676007);
			ContrastStretch.NativeMethodInfoPtr_get_materialReduce_Protected_get_Material_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, 100676008);
			ContrastStretch.NativeMethodInfoPtr_get_materialAdapt_Protected_get_Material_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, 100676009);
			ContrastStretch.NativeMethodInfoPtr_get_materialApply_Protected_get_Material_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, 100676010);
			ContrastStretch.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, 100676011);
			ContrastStretch.NativeMethodInfoPtr_OnEnable_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, 100676012);
			ContrastStretch.NativeMethodInfoPtr_OnDisable_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, 100676013);
			ContrastStretch.NativeMethodInfoPtr_OnRenderImage_Private_Void_RenderTexture_RenderTexture_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, 100676014);
			ContrastStretch.NativeMethodInfoPtr_CalculateAdaptation_Private_Void_Texture_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, 100676015);
			ContrastStretch.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ContrastStretch>.NativeClassPtr, 100676016);
		}

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

		// Token: 0x1700372F RID: 14127
		// (get) Token: 0x0600A36D RID: 41837 RVA: 0x0029F1DC File Offset: 0x0029D3DC
		// (set) Token: 0x0600A36E RID: 41838 RVA: 0x0029F204 File Offset: 0x0029D404
		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: 0x17003730 RID: 14128
		// (get) Token: 0x0600A36F RID: 41839 RVA: 0x0029F228 File Offset: 0x0029D428
		// (set) Token: 0x0600A370 RID: 41840 RVA: 0x0029F250 File Offset: 0x0029D450
		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: 0x17003731 RID: 14129
		// (get) Token: 0x0600A371 RID: 41841 RVA: 0x0029F274 File Offset: 0x0029D474
		// (set) Token: 0x0600A372 RID: 41842 RVA: 0x0029F29C File Offset: 0x0029D49C
		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: 0x17003732 RID: 14130
		// (get) Token: 0x0600A373 RID: 41843 RVA: 0x0029F2C0 File Offset: 0x0029D4C0
		// (set) Token: 0x0600A374 RID: 41844 RVA: 0x0029F2F4 File Offset: 0x0029D4F4
		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: 0x17003733 RID: 14131
		// (get) Token: 0x0600A375 RID: 41845 RVA: 0x0029F31C File Offset: 0x0029D51C
		// (set) Token: 0x0600A376 RID: 41846 RVA: 0x0029F344 File Offset: 0x0029D544
		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: 0x17003734 RID: 14132
		// (get) Token: 0x0600A377 RID: 41847 RVA: 0x0029F368 File Offset: 0x0029D568
		// (set) Token: 0x0600A378 RID: 41848 RVA: 0x0029F39C File Offset: 0x0029D59C
		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: 0x17003735 RID: 14133
		// (get) Token: 0x0600A379 RID: 41849 RVA: 0x0029F3C4 File Offset: 0x0029D5C4
		// (set) Token: 0x0600A37A RID: 41850 RVA: 0x0029F3F8 File Offset: 0x0029D5F8
		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: 0x17003736 RID: 14134
		// (get) Token: 0x0600A37B RID: 41851 RVA: 0x0029F420 File Offset: 0x0029D620
		// (set) Token: 0x0600A37C RID: 41852 RVA: 0x0029F454 File Offset: 0x0029D654
		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: 0x17003737 RID: 14135
		// (get) Token: 0x0600A37D RID: 41853 RVA: 0x0029F47C File Offset: 0x0029D67C
		// (set) Token: 0x0600A37E RID: 41854 RVA: 0x0029F4B0 File Offset: 0x0029D6B0
		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: 0x17003738 RID: 14136
		// (get) Token: 0x0600A37F RID: 41855 RVA: 0x0029F4D8 File Offset: 0x0029D6D8
		// (set) Token: 0x0600A380 RID: 41856 RVA: 0x0029F50C File Offset: 0x0029D70C
		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: 0x17003739 RID: 14137
		// (get) Token: 0x0600A381 RID: 41857 RVA: 0x0029F534 File Offset: 0x0029D734
		// (set) Token: 0x0600A382 RID: 41858 RVA: 0x0029F568 File Offset: 0x0029D768
		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: 0x1700373A RID: 14138
		// (get) Token: 0x0600A383 RID: 41859 RVA: 0x0029F590 File Offset: 0x0029D790
		// (set) Token: 0x0600A384 RID: 41860 RVA: 0x0029F5C4 File Offset: 0x0029D7C4
		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: 0x1700373B RID: 14139
		// (get) Token: 0x0600A385 RID: 41861 RVA: 0x0029F5EC File Offset: 0x0029D7EC
		// (set) Token: 0x0600A386 RID: 41862 RVA: 0x0029F620 File Offset: 0x0029D820
		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: 0x04006D9E RID: 28062
		private static readonly IntPtr NativeFieldInfoPtr_adaptationSpeed;

		// Token: 0x04006D9F RID: 28063
		private static readonly IntPtr NativeFieldInfoPtr_limitMinimum;

		// Token: 0x04006DA0 RID: 28064
		private static readonly IntPtr NativeFieldInfoPtr_limitMaximum;

		// Token: 0x04006DA1 RID: 28065
		private static readonly IntPtr NativeFieldInfoPtr_adaptRenderTex;

		// Token: 0x04006DA2 RID: 28066
		private static readonly IntPtr NativeFieldInfoPtr_curAdaptIndex;

		// Token: 0x04006DA3 RID: 28067
		private static readonly IntPtr NativeFieldInfoPtr_shaderLum;

		// Token: 0x04006DA4 RID: 28068
		private static readonly IntPtr NativeFieldInfoPtr_m_materialLum;

		// Token: 0x04006DA5 RID: 28069
		private static readonly IntPtr NativeFieldInfoPtr_shaderReduce;

		// Token: 0x04006DA6 RID: 28070
		private static readonly IntPtr NativeFieldInfoPtr_m_materialReduce;

		// Token: 0x04006DA7 RID: 28071
		private static readonly IntPtr NativeFieldInfoPtr_shaderAdapt;

		// Token: 0x04006DA8 RID: 28072
		private static readonly IntPtr NativeFieldInfoPtr_m_materialAdapt;

		// Token: 0x04006DA9 RID: 28073
		private static readonly IntPtr NativeFieldInfoPtr_shaderApply;

		// Token: 0x04006DAA RID: 28074
		private static readonly IntPtr NativeFieldInfoPtr_m_materialApply;

		// Token: 0x04006DAB RID: 28075
		private static readonly IntPtr NativeMethodInfoPtr_get_materialLum_Protected_get_Material_0;

		// Token: 0x04006DAC RID: 28076
		private static readonly IntPtr NativeMethodInfoPtr_get_materialReduce_Protected_get_Material_0;

		// Token: 0x04006DAD RID: 28077
		private static readonly IntPtr NativeMethodInfoPtr_get_materialAdapt_Protected_get_Material_0;

		// Token: 0x04006DAE RID: 28078
		private static readonly IntPtr NativeMethodInfoPtr_get_materialApply_Protected_get_Material_0;

		// Token: 0x04006DAF RID: 28079
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x04006DB0 RID: 28080
		private static readonly IntPtr NativeMethodInfoPtr_OnEnable_Private_Void_0;

		// Token: 0x04006DB1 RID: 28081
		private static readonly IntPtr NativeMethodInfoPtr_OnDisable_Private_Void_0;

		// Token: 0x04006DB2 RID: 28082
		private static readonly IntPtr NativeMethodInfoPtr_OnRenderImage_Private_Void_RenderTexture_RenderTexture_0;

		// Token: 0x04006DB3 RID: 28083
		private static readonly IntPtr NativeMethodInfoPtr_CalculateAdaptation_Private_Void_Texture_0;

		// Token: 0x04006DB4 RID: 28084
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
