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

// Token: 0x02000173 RID: 371
[Token(Token = "0x2000173")]
public class PostProcessingRenderFeature : ScriptableRendererFeature
{
	// Token: 0x06001220 RID: 4640 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001220")]
	[Address(RVA = "0xBE0620", Offset = "0xBDF420", VA = "0x180BE0620", Slot = "5")]
	public override void Create()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001221 RID: 4641 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001221")]
	[Address(RVA = "0xBE0590", Offset = "0xBDF390", VA = "0x180BE0590", 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: 0x06001222 RID: 4642 RVA: 0x000297D4 File Offset: 0x000279D4
	[Token(Token = "0x6001222")]
	[Address(RVA = "0x502BC0", Offset = "0x5019C0", VA = "0x180502BC0")]
	public void UpdateMaterial(Material material)
	{
		/*
An exception occurred when decompiling this method (06001222)

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: 0x06001223 RID: 4643 RVA: 0x000297E8 File Offset: 0x000279E8
	[Token(Token = "0x6001223")]
	[Address(RVA = "0xBE0750", Offset = "0xBDF550", VA = "0x180BE0750")]
	public static PostProcessingRenderFeature Get(string renderTag)
	{
		return PostProcessingRenderFeature.renderFeatureMap[renderTag];
	}

	// Token: 0x06001224 RID: 4644 RVA: 0x00029808 File Offset: 0x00027A08
	[Token(Token = "0x6001224")]
	[Address(RVA = "0xBE0860", Offset = "0xBDF660", VA = "0x180BE0860")]
	public PostProcessingRenderFeature()
	{
	}

	// Token: 0x06001225 RID: 4645 RVA: 0x0002981C File Offset: 0x00027A1C
	// Note: this type is marked as 'beforefieldinit'.
	[Token(Token = "0x6001225")]
	[Address(RVA = "0xBE07E0", Offset = "0xBDF5E0", VA = "0x180BE07E0")]
	static PostProcessingRenderFeature()
	{
		/*
An exception occurred when decompiling this method (06001225)

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: 0x04001C13 RID: 7187
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4001C13")]
	[SerializeField]
	private PostProcessingRenderSettings settings;

	// Token: 0x04001C14 RID: 7188
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x4001C14")]
	[SerializeField]
	private Material material;

	// Token: 0x04001C15 RID: 7189
	[Token(Token = "0x4001C15")]
	private static Dictionary<string, PostProcessingRenderFeature> renderFeatureMap;

	// Token: 0x04001C16 RID: 7190
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x4001C16")]
	private PostProcessingRenderPass renderPass;
}
