using System;
using System.Collections.Generic;
using AmplifyColor;
using Cpp2IlInjected;
using UnityEngine;
using UnityEngine.Serialization;

// Token: 0x02000002 RID: 2
[Token(Token = "0x2000002")]
[AddComponentMenu("")]
public class AmplifyColorBase : MonoBehaviour
{
	// Token: 0x17000001 RID: 1
	// (get) Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250
	[Token(Token = "0x17000001")]
	public Texture2D DefaultLut
	{
		[Token(Token = "0x6000001")]
		[Address(RVA = "0x11E8EC0", Offset = "0x11E7CC0", VA = "0x1811E8EC0")]
		get
		{
			Texture2D texture2D = this.defaultLut;
			int num = 0;
			if (texture2D == num)
			{
				return this.CreateDefaultLut();
			}
			return this.defaultLut;
		}
	}

	// Token: 0x17000002 RID: 2
	// (get) Token: 0x06000002 RID: 2 RVA: 0x00002080 File Offset: 0x00000280
	[Token(Token = "0x17000002")]
	public bool IsBlending
	{
		[Token(Token = "0x6000002")]
		[Address(RVA = "0x9C74F0", Offset = "0x9C62F0", VA = "0x1809C74F0")]
		get
		{
			return this.blending;
		}
	}

	// Token: 0x17000003 RID: 3
	// (get) Token: 0x06000003 RID: 3 RVA: 0x00002094 File Offset: 0x00000294
	[Token(Token = "0x17000003")]
	private float effectVolumesBlendAdjusted
	{
		[Token(Token = "0x6000003")]
		[Address(RVA = "0x11E9010", Offset = "0x11E7E10", VA = "0x1811E9010")]
		get
		{
			float num = this.effectVolumesBlendAdjust;
			return Mathf.Clamp01(this.volumesBlendAmount);
		}
	}

	// Token: 0x17000004 RID: 4
	// (get) Token: 0x06000004 RID: 4 RVA: 0x000020C0 File Offset: 0x000002C0
	[Token(Token = "0x17000004")]
	public string SharedInstanceID
	{
		[Token(Token = "0x6000004")]
		[Address(RVA = "0x386C10", Offset = "0x385A10", VA = "0x180386C10")]
		get
		{
			return this.sharedInstanceID;
		}
	}

	// Token: 0x17000005 RID: 5
	// (get) Token: 0x06000005 RID: 5 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x17000005")]
	public bool WillItBlend
	{
		[Token(Token = "0x6000005")]
		[Address(RVA = "0x11E8F50", Offset = "0x11E7D50", VA = "0x1811E8F50")]
		get
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}
	}

	// Token: 0x06000006 RID: 6 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000006")]
	[Address(RVA = "0x11E65C0", Offset = "0x11E53C0", VA = "0x1811E65C0")]
	public void NewSharedInstanceID()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000007 RID: 7 RVA: 0x000020E0 File Offset: 0x000002E0
	[Token(Token = "0x6000007")]
	[Address(RVA = "0x11E7540", Offset = "0x11E6340", VA = "0x1811E7540")]
	private void ReportMissingShaders()
	{
		Debug.LogError("[AmplifyColor] Failed to initialize shaders. Please attempt to re-enable the Amplify Color Effect component. If that fails, please reinstall Amplify Color.");
		int num = 0;
		base.enabled = num != 0;
	}

	// Token: 0x06000008 RID: 8 RVA: 0x00002100 File Offset: 0x00000300
	[Token(Token = "0x6000008")]
	[Address(RVA = "0x11E75B0", Offset = "0x11E63B0", VA = "0x1811E75B0")]
	private void ReportNotSupported()
	{
		Debug.LogError("[AmplifyColor] This image effect is not supported on this platform.");
		int num = 0;
		base.enabled = num != 0;
	}

	// Token: 0x06000009 RID: 9 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000009")]
	[Address(RVA = "0x11E52C0", Offset = "0x11E40C0", VA = "0x1811E52C0")]
	private bool CheckShader(Shader s)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600000A RID: 10 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600000A")]
	[Address(RVA = "0x11E5410", Offset = "0x11E4210", VA = "0x1811E5410")]
	private bool CheckShaders()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600000B RID: 11 RVA: 0x00002120 File Offset: 0x00000320
	[Token(Token = "0x600000B")]
	[Address(RVA = "0x454840", Offset = "0x453640", VA = "0x180454840")]
	private bool CheckSupport()
	{
		return true;
	}

	// Token: 0x0600000C RID: 12 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600000C")]
	[Address(RVA = "0x11E6730", Offset = "0x11E5530", VA = "0x1811E6730")]
	private void OnEnable()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600000D RID: 13 RVA: 0x00002130 File Offset: 0x00000330
	[Token(Token = "0x600000D")]
	[Address(RVA = "0x11E6640", Offset = "0x11E5440", VA = "0x1811E6640")]
	private void OnDisable()
	{
		AmplifyColorTriggerProxyBase amplifyColorTriggerProxyBase = this.actualTriggerProxy;
		int num = 0;
		if (amplifyColorTriggerProxyBase != num)
		{
			UnityEngine.Object.DestroyImmediate(this.actualTriggerProxy.gameObject);
			this.actualTriggerProxy = (ulong)0L;
		}
		this.ReleaseMaterials();
		this.ReleaseTextures();
	}

	// Token: 0x0600000E RID: 14 RVA: 0x0000217C File Offset: 0x0000037C
	[Token(Token = "0x600000E")]
	[Address(RVA = "0x11E8BE0", Offset = "0x11E79E0", VA = "0x1811E8BE0")]
	private void VolumesBlendTo(Texture blendTargetLUT, float blendTimeInSec)
	{
		this.volumesLutBlendTexture = blendTargetLUT;
		this.volumesBlendingTime = blendTimeInSec;
		this.volumesBlendingTimeCountdown = blendTimeInSec;
		this.volumesBlendAmount = 0f;
		this.volumesBlending = true;
	}

	// Token: 0x0600000F RID: 15 RVA: 0x000021B0 File Offset: 0x000003B0
	[Token(Token = "0x600000F")]
	[Address(RVA = "0x11E4FC0", Offset = "0x11E3DC0", VA = "0x1811E4FC0")]
	public void BlendTo(Texture blendTargetLUT, float blendTimeInSec, Action onFinishBlend)
	{
		this.LutBlendTexture = blendTargetLUT;
		this.BlendAmount = 0f;
		this.onFinishBlend = onFinishBlend;
		this.blendingTime = blendTimeInSec;
		this.blendingTimeCountdown = blendTimeInSec;
		this.blending = true;
	}

	// Token: 0x06000010 RID: 16 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000010")]
	[Address(RVA = "0x11E5030", Offset = "0x11E3E30", VA = "0x1811E5030")]
	private void CheckCamera()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000011 RID: 17 RVA: 0x000021EC File Offset: 0x000003EC
	[Token(Token = "0x6000011")]
	[Address(RVA = "0x11E79F0", Offset = "0x11E67F0", VA = "0x1811E79F0")]
	private void Start()
	{
		if (!this.silentError)
		{
			this.CheckCamera();
			Texture lutTexture = this.LutTexture;
			this.worldLUT = lutTexture;
			VolumeEffect volumeEffect = this.EffectFlags.GenerateEffectData(this);
			this.worldVolumeEffects = volumeEffect;
			VolumeEffect volumeEffect2 = this.worldVolumeEffects;
			this.currentVolumeEffects = volumeEffect2;
			this.blendVolumeEffects = volumeEffect2;
			float exposure = this.Exposure;
			this.worldExposure = exposure;
			this.currentExposure = exposure;
			this.blendExposure = exposure;
		}
	}

	// Token: 0x06000012 RID: 18 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000012")]
	[Address(RVA = "0x11E85D0", Offset = "0x11E73D0", VA = "0x1811E85D0")]
	private void Update()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000013 RID: 19 RVA: 0x00002264 File Offset: 0x00000464
	[Token(Token = "0x6000013")]
	[Address(RVA = "0x11E64A0", Offset = "0x11E52A0", VA = "0x1811E64A0")]
	public void EnterVolume(AmplifyColorVolumeBase volume)
	{
		if (!this.enteredVolumes.Contains(volume))
		{
			List<AmplifyColorVolumeBase> list = this.enteredVolumes;
			int num = 0;
			list.Insert(num, volume);
		}
	}

	// Token: 0x06000014 RID: 20 RVA: 0x00002298 File Offset: 0x00000498
	[Token(Token = "0x6000014")]
	[Address(RVA = "0x11E6530", Offset = "0x11E5330", VA = "0x1811E6530")]
	public void ExitVolume(AmplifyColorVolumeBase volume)
	{
		if (this.enteredVolumes.Contains(volume))
		{
			bool flag = this.enteredVolumes.Remove(volume);
		}
	}

	// Token: 0x06000015 RID: 21 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000015")]
	[Address(RVA = "0x11E7C50", Offset = "0x11E6A50", VA = "0x1811E7C50")]
	private void UpdateVolumes()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000016 RID: 22 RVA: 0x000022C8 File Offset: 0x000004C8
	[Token(Token = "0x6000016")]
	[Address(RVA = "0x11E7850", Offset = "0x11E6650", VA = "0x1811E7850")]
	private void SetupShader()
	{
		/*
An exception occurred when decompiling this method (06000016)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void AmplifyColorBase::SetupShader()

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stloc:ColorSpace(var_1_07, callgetter:ColorSpace(QualitySettings::get_activeColorSpace)); 	stfld:ColorSpace(AmplifyColorBase::colorSpace, ldloc:AmplifyColorBase(this), ldloc:ColorSpace(var_1_07)); 	stloc:Quality(var_2_15, ldfld:Quality(AmplifyColorBase::QualityLevel, ldloc:AmplifyColorBase(this))); 	stfld:Quality(AmplifyColorBase::qualityLevel, ldloc:AmplifyColorBase(this), ldloc:Quality(var_2_15)); 	stloc:Shader(var_3_27, call:Shader(Shader::Find, ldstr:string("Hidden/Amplify Color/Base"))); 	stfld:Shader(AmplifyColorBase::shaderBase, ldloc:AmplifyColorBase(this), ldloc:Shader(var_3_27)); 	stloc:Shader(var_4_39, call:Shader(Shader::Find, ldstr:string("Hidden/Amplify Color/Blend"))); 	stfld:Shader(AmplifyColorBase::shaderBlend, ldloc:AmplifyColorBase(this), ldloc:Shader(var_4_39)); 	stloc:Shader(var_5_4D, call:Shader(Shader::Find, ldstr:string("Hidden/Amplify Color/BlendCache"))); 	stfld:Shader(AmplifyColorBase::shaderBlendCache, ldloc:AmplifyColorBase(this), ldloc:Shader(var_5_4D)); 	stloc:Shader(var_6_61, call:Shader(Shader::Find, ldstr:string("Hidden/Amplify Color/Mask"))); 	stfld:Shader(AmplifyColorBase::shaderMask, ldloc:AmplifyColorBase(this), ldloc:Shader(var_6_61)); 	stloc:Shader(var_7_75, call:Shader(Shader::Find, ldstr:string("Hidden/Amplify Color/MaskBlend"))); 	stfld:Shader(AmplifyColorBase::shaderMaskBlend, ldloc:AmplifyColorBase(this), ldloc:Shader(var_7_75)); 	stloc:Shader(var_8_89, call:Shader(Shader::Find, ldstr:string("Hidden/Amplify Color/DepthMask"))); 	stfld:Shader(AmplifyColorBase::shaderDepthMask, ldloc:AmplifyColorBase(this), ldloc:Shader(var_8_89)); 	stloc:Shader(var_9_9D, call:Shader(Shader::Find, ldstr:string("Hidden/Amplify Color/DepthMaskBlend"))); 	stfld:Shader(AmplifyColorBase::shaderDepthMaskBlend, ldloc:AmplifyColorBase(this), ldloc:Shader(var_9_9D)); 	stloc:Shader(var_10_B1, call:Shader(Shader::Find, ldstr:string("Hidden/Amplify Color/ProcessOnly"))); 	stfld:Shader(AmplifyColorBase::shaderProcessOnly, ldloc:AmplifyColorBase(this), ldloc:Shader(var_10_B1)); }; 
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
   --- End of inner exception stack trace ---
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
   at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
*/;
	}

	// Token: 0x06000017 RID: 23 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000017")]
	[Address(RVA = "0x11E73C0", Offset = "0x11E61C0", VA = "0x1811E73C0")]
	private void ReleaseMaterials()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000018 RID: 24 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000018")]
	[Address(RVA = "0x11E5870", Offset = "0x11E4670", VA = "0x1811E5870")]
	private Texture2D CreateDefaultLut()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000019 RID: 25 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000019")]
	[Address(RVA = "0x11E5B30", Offset = "0x11E4930", VA = "0x1811E5B30")]
	private Texture2D CreateDepthCurveLut()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600001A RID: 26 RVA: 0x00002390 File Offset: 0x00000590
	[Token(Token = "0x600001A")]
	[Address(RVA = "0x11E7AB0", Offset = "0x11E68B0", VA = "0x1811E7AB0")]
	private void UpdateDepthCurveLut()
	{
		Texture2D texture2D = this.depthCurveLut;
		int num = 0;
		if (texture2D == num)
		{
			Texture2D texture2D2 = this.CreateDepthCurveLut();
		}
		int num2 = 0;
		int num3 = 0;
		Color32[] array = this.depthCurveColors;
		int num4 = Mathf.FloorToInt(Mathf.Clamp01(this.DepthMaskCurve.Evaluate((float)num2)));
		num3++;
		array[0] = num4;
		Texture2D texture2D3 = this.depthCurveLut;
		Color32[] array2 = this.depthCurveColors;
		texture2D3.SetPixels32(array2);
		this.depthCurveLut.Apply();
	}

	// Token: 0x0600001B RID: 27 RVA: 0x00002418 File Offset: 0x00000618
	[Token(Token = "0x600001B")]
	[Address(RVA = "0x11E54A0", Offset = "0x11E42A0", VA = "0x1811E54A0")]
	private void CheckUpdateDepthCurveLut()
	{
		AnimationCurve depthMaskCurve = this.DepthMaskCurve;
		int length = depthMaskCurve.length;
		int length2 = depthMaskCurve.length;
		int num = 0;
		int num2 = 0;
		if (length == length2)
		{
			AnimationCurve depthMaskCurve2 = this.DepthMaskCurve;
			int num3 = 0;
			int length3 = depthMaskCurve2.length;
			if (num < length3)
			{
				AnimationCurve depthMaskCurve3 = this.DepthMaskCurve;
				float num4 = depthMaskCurve3.Evaluate((float)num3);
				float num5 = depthMaskCurve3.Evaluate((float)num3);
				if (num4 <= 1E-45f)
				{
					AnimationCurve depthMaskCurve4 = this.DepthMaskCurve;
					num++;
				}
			}
		}
		Texture2D texture2D = this.depthCurveLut;
		int num6 = 0;
		bool flag = texture2D == num6;
		Texture2D texture2D2 = this.depthCurveLut;
		int num7 = 0;
		if (texture2D2 == num7)
		{
			Texture2D texture2D3 = this.CreateDepthCurveLut();
		}
		Color32[] array = this.depthCurveColors;
		int num8 = Mathf.FloorToInt(Mathf.Clamp01(this.DepthMaskCurve.Evaluate((float)num2)));
		num++;
		array[0] = num8;
		Texture2D texture2D4 = this.depthCurveLut;
		Color32[] array2 = this.depthCurveColors;
		texture2D4.SetPixels32(array2);
		this.depthCurveLut.Apply();
		AnimationCurve animationCurve = new AnimationCurve(this.DepthMaskCurve.keys);
		this.prevDepthMaskCurve = animationCurve;
	}

	// Token: 0x0600001C RID: 28 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600001C")]
	[Address(RVA = "0x11E5CA0", Offset = "0x11E4AA0", VA = "0x1811E5CA0")]
	private void CreateHelperTextures()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600001D RID: 29 RVA: 0x00002538 File Offset: 0x00000738
	[Token(Token = "0x600001D")]
	[Address(RVA = "0x11E5110", Offset = "0x11E3F10", VA = "0x1811E5110")]
	private bool CheckMaterialAndShader(Material material, string name)
	{
		int num = 0;
		if (!(material == num))
		{
			Shader shader = material.shader;
			int num2 = 0;
			if (!(shader == num2) && material.shader.isSupported)
			{
				material.hideFlags = HideFlags.HideAndDontSave;
			}
		}
		Debug.LogWarning("[AmplifyColor] Error creating " + name + " material. Effect disabled.");
		int num3 = 0;
		base.enabled = num3 != 0;
		return base.enabled;
	}

	// Token: 0x0600001E RID: 30 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600001E")]
	[Address(RVA = "0x11E5EC0", Offset = "0x11E4CC0", VA = "0x1811E5EC0")]
	private bool CreateMaterials()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600001F RID: 31 RVA: 0x000025A4 File Offset: 0x000007A4
	[Token(Token = "0x600001F")]
	[Address(RVA = "0x11E7620", Offset = "0x11E6420", VA = "0x1811E7620")]
	private void SetMaterialKeyword(string keyword, bool state)
	{
		bool flag;
		for (;;)
		{
			flag = this.materialBase.IsKeywordEnabled(keyword);
			if (state)
			{
				break;
			}
			if (this.materialBase.IsKeywordEnabled(keyword))
			{
				goto Block_2;
			}
		}
		if (!flag)
		{
			this.materialBase.EnableKeyword(keyword);
			this.materialBlend.EnableKeyword(keyword);
			this.materialBlendCache.EnableKeyword(keyword);
			this.materialMask.EnableKeyword(keyword);
			this.materialMaskBlend.EnableKeyword(keyword);
			this.materialDepthMask.EnableKeyword(keyword);
			this.materialDepthMaskBlend.EnableKeyword(keyword);
			this.materialProcessOnly.EnableKeyword(keyword);
		}
		return;
		Block_2:
		this.materialBase.DisableKeyword(keyword);
		this.materialBlend.DisableKeyword(keyword);
		this.materialBlendCache.DisableKeyword(keyword);
		this.materialMask.DisableKeyword(keyword);
		this.materialMaskBlend.DisableKeyword(keyword);
		this.materialDepthMask.DisableKeyword(keyword);
		this.materialDepthMaskBlend.DisableKeyword(keyword);
		this.materialProcessOnly.DisableKeyword(keyword);
	}

	// Token: 0x06000020 RID: 32 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000020")]
	[Address(RVA = "0x3300B0", Offset = "0x32EEB0", VA = "0x1803300B0")]
	private void SafeRelease<T>(ref T obj) where T : UnityEngine.Object
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000021 RID: 33 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000021")]
	[Address(RVA = "0x11E74A0", Offset = "0x11E62A0", VA = "0x1811E74A0")]
	private void ReleaseTextures()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000022 RID: 34 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000022")]
	[Address(RVA = "0x11E8A60", Offset = "0x11E7860", VA = "0x1811E8A60")]
	public static bool ValidateLutDimensions(Texture lut)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000023 RID: 35 RVA: 0x000026A0 File Offset: 0x000008A0
	[Token(Token = "0x6000023")]
	[Address(RVA = "0x11E7C10", Offset = "0x11E6A10", VA = "0x1811E7C10")]
	private void UpdatePostEffectParams()
	{
		if (this.UseDepthMask)
		{
			this.CheckUpdateDepthCurveLut();
		}
		float exposure = this.Exposure;
		int num = 0;
		float num2 = Mathf.Max(exposure, (float)num);
		this.Exposure = num2;
	}

	// Token: 0x06000024 RID: 36 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000024")]
	[Address(RVA = "0x11E57E0", Offset = "0x11E45E0", VA = "0x1811E57E0")]
	private int ComputeShaderPass()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000025 RID: 37 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000025")]
	[Address(RVA = "0x11E68F0", Offset = "0x11E56F0", VA = "0x1811E68F0")]
	private void OnRenderImage(RenderTexture source, RenderTexture destination)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000026 RID: 38 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000026")]
	[Address(RVA = "0x11E8C30", Offset = "0x11E7A30", VA = "0x1811E8C30")]
	public AmplifyColorBase()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x04000001 RID: 1
	[Token(Token = "0x4000001")]
	public const int LutSize = 32;

	// Token: 0x04000002 RID: 2
	[Token(Token = "0x4000002")]
	public const int LutWidth = 1024;

	// Token: 0x04000003 RID: 3
	[Token(Token = "0x4000003")]
	public const int LutHeight = 32;

	// Token: 0x04000004 RID: 4
	[Token(Token = "0x4000004")]
	private const int DepthCurveLutRange = 1024;

	// Token: 0x04000005 RID: 5
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4000005")]
	public Tonemapping Tonemapper;

	// Token: 0x04000006 RID: 6
	[FieldOffset(Offset = "0x1C")]
	[Token(Token = "0x4000006")]
	public float Exposure;

	// Token: 0x04000007 RID: 7
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4000007")]
	public float LinearWhitePoint;

	// Token: 0x04000008 RID: 8
	[FieldOffset(Offset = "0x24")]
	[Token(Token = "0x4000008")]
	[FormerlySerializedAs("UseDithering")]
	public bool ApplyDithering;

	// Token: 0x04000009 RID: 9
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x4000009")]
	public Quality QualityLevel;

	// Token: 0x0400000A RID: 10
	[FieldOffset(Offset = "0x2C")]
	[Token(Token = "0x400000A")]
	public float BlendAmount;

	// Token: 0x0400000B RID: 11
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x400000B")]
	public Texture LutTexture;

	// Token: 0x0400000C RID: 12
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x400000C")]
	public Texture LutBlendTexture;

	// Token: 0x0400000D RID: 13
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x400000D")]
	public Texture MaskTexture;

	// Token: 0x0400000E RID: 14
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x400000E")]
	public bool UseDepthMask;

	// Token: 0x0400000F RID: 15
	[FieldOffset(Offset = "0x50")]
	[Token(Token = "0x400000F")]
	public AnimationCurve DepthMaskCurve;

	// Token: 0x04000010 RID: 16
	[FieldOffset(Offset = "0x58")]
	[Token(Token = "0x4000010")]
	public bool UseVolumes;

	// Token: 0x04000011 RID: 17
	[FieldOffset(Offset = "0x5C")]
	[Token(Token = "0x4000011")]
	public float ExitVolumeBlendTime;

	// Token: 0x04000012 RID: 18
	[FieldOffset(Offset = "0x60")]
	[Token(Token = "0x4000012")]
	public Transform TriggerVolumeProxy;

	// Token: 0x04000013 RID: 19
	[FieldOffset(Offset = "0x68")]
	[Token(Token = "0x4000013")]
	public LayerMask VolumeCollisionMask;

	// Token: 0x04000014 RID: 20
	[FieldOffset(Offset = "0x70")]
	[Token(Token = "0x4000014")]
	private Camera ownerCamera;

	// Token: 0x04000015 RID: 21
	[FieldOffset(Offset = "0x78")]
	[Token(Token = "0x4000015")]
	private Shader shaderBase;

	// Token: 0x04000016 RID: 22
	[FieldOffset(Offset = "0x80")]
	[Token(Token = "0x4000016")]
	private Shader shaderBlend;

	// Token: 0x04000017 RID: 23
	[FieldOffset(Offset = "0x88")]
	[Token(Token = "0x4000017")]
	private Shader shaderBlendCache;

	// Token: 0x04000018 RID: 24
	[FieldOffset(Offset = "0x90")]
	[Token(Token = "0x4000018")]
	private Shader shaderMask;

	// Token: 0x04000019 RID: 25
	[FieldOffset(Offset = "0x98")]
	[Token(Token = "0x4000019")]
	private Shader shaderMaskBlend;

	// Token: 0x0400001A RID: 26
	[FieldOffset(Offset = "0xA0")]
	[Token(Token = "0x400001A")]
	private Shader shaderDepthMask;

	// Token: 0x0400001B RID: 27
	[FieldOffset(Offset = "0xA8")]
	[Token(Token = "0x400001B")]
	private Shader shaderDepthMaskBlend;

	// Token: 0x0400001C RID: 28
	[FieldOffset(Offset = "0xB0")]
	[Token(Token = "0x400001C")]
	private Shader shaderProcessOnly;

	// Token: 0x0400001D RID: 29
	[FieldOffset(Offset = "0xB8")]
	[Token(Token = "0x400001D")]
	private RenderTexture blendCacheLut;

	// Token: 0x0400001E RID: 30
	[FieldOffset(Offset = "0xC0")]
	[Token(Token = "0x400001E")]
	private Texture2D defaultLut;

	// Token: 0x0400001F RID: 31
	[FieldOffset(Offset = "0xC8")]
	[Token(Token = "0x400001F")]
	private Texture2D depthCurveLut;

	// Token: 0x04000020 RID: 32
	[FieldOffset(Offset = "0xD0")]
	[Token(Token = "0x4000020")]
	private Color32[] depthCurveColors;

	// Token: 0x04000021 RID: 33
	[FieldOffset(Offset = "0xD8")]
	[Token(Token = "0x4000021")]
	private ColorSpace colorSpace;

	// Token: 0x04000022 RID: 34
	[FieldOffset(Offset = "0xDC")]
	[Token(Token = "0x4000022")]
	private Quality qualityLevel;

	// Token: 0x04000023 RID: 35
	[FieldOffset(Offset = "0xE0")]
	[Token(Token = "0x4000023")]
	private Material materialBase;

	// Token: 0x04000024 RID: 36
	[FieldOffset(Offset = "0xE8")]
	[Token(Token = "0x4000024")]
	private Material materialBlend;

	// Token: 0x04000025 RID: 37
	[FieldOffset(Offset = "0xF0")]
	[Token(Token = "0x4000025")]
	private Material materialBlendCache;

	// Token: 0x04000026 RID: 38
	[FieldOffset(Offset = "0xF8")]
	[Token(Token = "0x4000026")]
	private Material materialMask;

	// Token: 0x04000027 RID: 39
	[FieldOffset(Offset = "0x100")]
	[Token(Token = "0x4000027")]
	private Material materialMaskBlend;

	// Token: 0x04000028 RID: 40
	[FieldOffset(Offset = "0x108")]
	[Token(Token = "0x4000028")]
	private Material materialDepthMask;

	// Token: 0x04000029 RID: 41
	[FieldOffset(Offset = "0x110")]
	[Token(Token = "0x4000029")]
	private Material materialDepthMaskBlend;

	// Token: 0x0400002A RID: 42
	[FieldOffset(Offset = "0x118")]
	[Token(Token = "0x400002A")]
	private Material materialProcessOnly;

	// Token: 0x0400002B RID: 43
	[FieldOffset(Offset = "0x120")]
	[Token(Token = "0x400002B")]
	private bool blending;

	// Token: 0x0400002C RID: 44
	[FieldOffset(Offset = "0x124")]
	[Token(Token = "0x400002C")]
	private float blendingTime;

	// Token: 0x0400002D RID: 45
	[FieldOffset(Offset = "0x128")]
	[Token(Token = "0x400002D")]
	private float blendingTimeCountdown;

	// Token: 0x0400002E RID: 46
	[FieldOffset(Offset = "0x130")]
	[Token(Token = "0x400002E")]
	private Action onFinishBlend;

	// Token: 0x0400002F RID: 47
	[FieldOffset(Offset = "0x138")]
	[Token(Token = "0x400002F")]
	private AnimationCurve prevDepthMaskCurve;

	// Token: 0x04000030 RID: 48
	[FieldOffset(Offset = "0x140")]
	[Token(Token = "0x4000030")]
	private bool volumesBlending;

	// Token: 0x04000031 RID: 49
	[FieldOffset(Offset = "0x144")]
	[Token(Token = "0x4000031")]
	private float volumesBlendingTime;

	// Token: 0x04000032 RID: 50
	[FieldOffset(Offset = "0x148")]
	[Token(Token = "0x4000032")]
	private float volumesBlendingTimeCountdown;

	// Token: 0x04000033 RID: 51
	[FieldOffset(Offset = "0x150")]
	[Token(Token = "0x4000033")]
	private Texture volumesLutBlendTexture;

	// Token: 0x04000034 RID: 52
	[FieldOffset(Offset = "0x158")]
	[Token(Token = "0x4000034")]
	private float volumesBlendAmount;

	// Token: 0x04000035 RID: 53
	[FieldOffset(Offset = "0x160")]
	[Token(Token = "0x4000035")]
	private Texture worldLUT;

	// Token: 0x04000036 RID: 54
	[FieldOffset(Offset = "0x168")]
	[Token(Token = "0x4000036")]
	private AmplifyColorVolumeBase currentVolumeLut;

	// Token: 0x04000037 RID: 55
	[FieldOffset(Offset = "0x170")]
	[Token(Token = "0x4000037")]
	private RenderTexture midBlendLUT;

	// Token: 0x04000038 RID: 56
	[FieldOffset(Offset = "0x178")]
	[Token(Token = "0x4000038")]
	private bool blendingFromMidBlend;

	// Token: 0x04000039 RID: 57
	[FieldOffset(Offset = "0x180")]
	[Token(Token = "0x4000039")]
	private VolumeEffect worldVolumeEffects;

	// Token: 0x0400003A RID: 58
	[FieldOffset(Offset = "0x188")]
	[Token(Token = "0x400003A")]
	private VolumeEffect currentVolumeEffects;

	// Token: 0x0400003B RID: 59
	[FieldOffset(Offset = "0x190")]
	[Token(Token = "0x400003B")]
	private VolumeEffect blendVolumeEffects;

	// Token: 0x0400003C RID: 60
	[FieldOffset(Offset = "0x198")]
	[Token(Token = "0x400003C")]
	private float worldExposure;

	// Token: 0x0400003D RID: 61
	[FieldOffset(Offset = "0x19C")]
	[Token(Token = "0x400003D")]
	private float currentExposure;

	// Token: 0x0400003E RID: 62
	[FieldOffset(Offset = "0x1A0")]
	[Token(Token = "0x400003E")]
	private float blendExposure;

	// Token: 0x0400003F RID: 63
	[FieldOffset(Offset = "0x1A4")]
	[Token(Token = "0x400003F")]
	private float effectVolumesBlendAdjust;

	// Token: 0x04000040 RID: 64
	[FieldOffset(Offset = "0x1A8")]
	[Token(Token = "0x4000040")]
	private List<AmplifyColorVolumeBase> enteredVolumes;

	// Token: 0x04000041 RID: 65
	[FieldOffset(Offset = "0x1B0")]
	[Token(Token = "0x4000041")]
	private AmplifyColorTriggerProxyBase actualTriggerProxy;

	// Token: 0x04000042 RID: 66
	[FieldOffset(Offset = "0x1B8")]
	[Token(Token = "0x4000042")]
	[HideInInspector]
	public VolumeEffectFlags EffectFlags;

	// Token: 0x04000043 RID: 67
	[FieldOffset(Offset = "0x1C0")]
	[Token(Token = "0x4000043")]
	[HideInInspector]
	[SerializeField]
	private string sharedInstanceID;

	// Token: 0x04000044 RID: 68
	[FieldOffset(Offset = "0x1C8")]
	[Token(Token = "0x4000044")]
	private bool silentError;
}
