using System;
using System.Collections.Generic;
using Cpp2IlInjected;
using UnityEngine;
using UnityEngine.Rendering.Universal;

// Token: 0x020001A1 RID: 417
[Token(Token = "0x20001A1")]
public class PostProcessingRenderFeature : ScriptableRendererFeature
{
	// Token: 0x060013A4 RID: 5028 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60013A4")]
	[Address(RVA = "0xEBC880", Offset = "0xEBB880", VA = "0x180EBC880", Slot = "5")]
	public override void Create()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060013A5 RID: 5029 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60013A5")]
	[Address(RVA = "0xEBC7F0", Offset = "0xEBB7F0", VA = "0x180EBC7F0", Slot = "6")]
	public override void AddRenderPasses(ScriptableRenderer renderer, ref RenderingData renderingData)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060013A6 RID: 5030 RVA: 0x0002CAB0 File Offset: 0x0002ACB0
	[Token(Token = "0x60013A6")]
	[Address(RVA = "0x52DEF0", Offset = "0x52CEF0", VA = "0x18052DEF0")]
	public void UpdateMaterial(Material material)
	{
		/*
An exception occurred when decompiling this method (060013A6)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void PostProcessingRenderFeature::UpdateMaterial(UnityEngine.Material)

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stfld:Material(PostProcessingRenderFeature::material, ldloc:PostProcessingRenderFeature(this), ldloc:Material(material)); }; 
   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: 0x060013A7 RID: 5031 RVA: 0x0002CAC4 File Offset: 0x0002ACC4
	[Token(Token = "0x60013A7")]
	[Address(RVA = "0xEBC9B0", Offset = "0xEBB9B0", VA = "0x180EBC9B0")]
	public static PostProcessingRenderFeature Get(string renderTag)
	{
		return PostProcessingRenderFeature.renderFeatureMap[renderTag];
	}

	// Token: 0x060013A8 RID: 5032 RVA: 0x0002CAE4 File Offset: 0x0002ACE4
	[Token(Token = "0x60013A8")]
	[Address(RVA = "0xEBCAC0", Offset = "0xEBBAC0", VA = "0x180EBCAC0")]
	public PostProcessingRenderFeature()
	{
	}

	// Token: 0x060013A9 RID: 5033 RVA: 0x0002CAF8 File Offset: 0x0002ACF8
	// Note: this type is marked as 'beforefieldinit'.
	[Token(Token = "0x60013A9")]
	[Address(RVA = "0xEBCA40", Offset = "0xEBBA40", VA = "0x180EBCA40")]
	static PostProcessingRenderFeature()
	{
		/*
An exception occurred when decompiling this method (060013A9)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void PostProcessingRenderFeature::.cctor()

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stsfld:class [mscorlib]System.Collections.Generic.Dictionary`2<string, class PostProcessingRenderFeature>(PostProcessingRenderFeature::renderFeatureMap, newobj:Dictionary`2[exp:class [mscorlib]System.Collections.Generic.Dictionary`2<string, class PostProcessingRenderFeature>](Dictionary`2::.ctor)); }; 
   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: 0x04001DB1 RID: 7601
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4001DB1")]
	[SerializeField]
	private PostProcessingRenderSettings settings;

	// Token: 0x04001DB2 RID: 7602
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x4001DB2")]
	[SerializeField]
	private Material material;

	// Token: 0x04001DB3 RID: 7603
	[Token(Token = "0x4001DB3")]
	private static Dictionary<string, PostProcessingRenderFeature> renderFeatureMap;

	// Token: 0x04001DB4 RID: 7604
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x4001DB4")]
	private PostProcessingRenderPass renderPass;
}
