using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppSystem.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering.Universal;

// Token: 0x0200017E RID: 382
public class PostProcessingRenderFeature : ScriptableRendererFeature
{
	// Token: 0x060045C5 RID: 17861 RVA: 0x00116640 File Offset: 0x00114840
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 541722, XrefRangeEnd = 541737, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void Create()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), PostProcessingRenderFeature.NativeMethodInfoPtr_Create_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060045C6 RID: 17862 RVA: 0x00116690 File Offset: 0x00114890
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 541737, XrefRangeEnd = 541741, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void AddRenderPasses(ScriptableRenderer renderer, ref RenderingData renderingData)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(renderer);
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtrNotNull(renderingData);
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), PostProcessingRenderFeature.NativeMethodInfoPtr_AddRenderPasses_Public_Virtual_Void_ScriptableRenderer_byref_RenderingData_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060045C7 RID: 17863 RVA: 0x00116710 File Offset: 0x00114910
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 0, XrefRangeEnd = 0, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void UpdateMaterial(Material material)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(material);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PostProcessingRenderFeature.NativeMethodInfoPtr_UpdateMaterial_Public_Void_Material_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x060045C8 RID: 17864 RVA: 0x0011676C File Offset: 0x0011496C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 541741, XrefRangeEnd = 541758, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe static PostProcessingRenderFeature Get(string renderTag)
	{
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.ManagedStringToIl2Cpp(renderTag);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PostProcessingRenderFeature.NativeMethodInfoPtr_Get_Public_Static_PostProcessingRenderFeature_String_0, 0, (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new PostProcessingRenderFeature(intPtr3) : null;
		}
	}

	// Token: 0x060045C9 RID: 17865 RVA: 0x001167CC File Offset: 0x001149CC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 541758, XrefRangeEnd = 541759, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe PostProcessingRenderFeature()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<PostProcessingRenderFeature>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PostProcessingRenderFeature.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060045CA RID: 17866 RVA: 0x00116818 File Offset: 0x00114A18
	// Note: this type is marked as 'beforefieldinit'.
	static PostProcessingRenderFeature()
	{
		Il2CppClassPointerStore<PostProcessingRenderFeature>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "PostProcessingRenderFeature");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<PostProcessingRenderFeature>.NativeClassPtr);
		PostProcessingRenderFeature.NativeFieldInfoPtr_settings = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PostProcessingRenderFeature>.NativeClassPtr, "settings");
		PostProcessingRenderFeature.NativeFieldInfoPtr_material = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PostProcessingRenderFeature>.NativeClassPtr, "material");
		PostProcessingRenderFeature.NativeFieldInfoPtr_renderFeatureMap = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PostProcessingRenderFeature>.NativeClassPtr, "renderFeatureMap");
		PostProcessingRenderFeature.NativeFieldInfoPtr_renderPass = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PostProcessingRenderFeature>.NativeClassPtr, "renderPass");
		PostProcessingRenderFeature.NativeMethodInfoPtr_Create_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingRenderFeature>.NativeClassPtr, 100667936);
		PostProcessingRenderFeature.NativeMethodInfoPtr_AddRenderPasses_Public_Virtual_Void_ScriptableRenderer_byref_RenderingData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingRenderFeature>.NativeClassPtr, 100667937);
		PostProcessingRenderFeature.NativeMethodInfoPtr_UpdateMaterial_Public_Void_Material_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingRenderFeature>.NativeClassPtr, 100667938);
		PostProcessingRenderFeature.NativeMethodInfoPtr_Get_Public_Static_PostProcessingRenderFeature_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingRenderFeature>.NativeClassPtr, 100667939);
		PostProcessingRenderFeature.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingRenderFeature>.NativeClassPtr, 100667940);
	}

	// Token: 0x060045CB RID: 17867 RVA: 0x001168FC File Offset: 0x00114AFC
	public PostProcessingRenderFeature(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001955 RID: 6485
	// (get) Token: 0x060045CC RID: 17868 RVA: 0x00116908 File Offset: 0x00114B08
	// (set) Token: 0x060045CD RID: 17869 RVA: 0x0011693C File Offset: 0x00114B3C
	public unsafe PostProcessingRenderSettings settings
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PostProcessingRenderFeature.NativeFieldInfoPtr_settings);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new PostProcessingRenderSettings(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(PostProcessingRenderFeature.NativeFieldInfoPtr_settings), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001956 RID: 6486
	// (get) Token: 0x060045CE RID: 17870 RVA: 0x00116964 File Offset: 0x00114B64
	// (set) Token: 0x060045CF RID: 17871 RVA: 0x00116998 File Offset: 0x00114B98
	public unsafe Material material
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PostProcessingRenderFeature.NativeFieldInfoPtr_material);
			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(PostProcessingRenderFeature.NativeFieldInfoPtr_material), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001957 RID: 6487
	// (get) Token: 0x060045D0 RID: 17872 RVA: 0x001169C0 File Offset: 0x00114BC0
	// (set) Token: 0x060045D1 RID: 17873 RVA: 0x001169EB File Offset: 0x00114BEB
	public unsafe static Dictionary<string, PostProcessingRenderFeature> renderFeatureMap
	{
		get
		{
			IntPtr intPtr;
			IL2CPP.il2cpp_field_static_get_value(PostProcessingRenderFeature.NativeFieldInfoPtr_renderFeatureMap, (void*)(&intPtr));
			IntPtr intPtr2 = intPtr;
			return (intPtr2 != 0) ? new Dictionary<string, PostProcessingRenderFeature>(intPtr2) : null;
		}
		set
		{
			IL2CPP.il2cpp_field_static_set_value(PostProcessingRenderFeature.NativeFieldInfoPtr_renderFeatureMap, IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001958 RID: 6488
	// (get) Token: 0x060045D2 RID: 17874 RVA: 0x00116A00 File Offset: 0x00114C00
	// (set) Token: 0x060045D3 RID: 17875 RVA: 0x00116A34 File Offset: 0x00114C34
	public unsafe PostProcessingRenderPass renderPass
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PostProcessingRenderFeature.NativeFieldInfoPtr_renderPass);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new PostProcessingRenderPass(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(PostProcessingRenderFeature.NativeFieldInfoPtr_renderPass), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04002E34 RID: 11828
	private static readonly IntPtr NativeFieldInfoPtr_settings;

	// Token: 0x04002E35 RID: 11829
	private static readonly IntPtr NativeFieldInfoPtr_material;

	// Token: 0x04002E36 RID: 11830
	private static readonly IntPtr NativeFieldInfoPtr_renderFeatureMap;

	// Token: 0x04002E37 RID: 11831
	private static readonly IntPtr NativeFieldInfoPtr_renderPass;

	// Token: 0x04002E38 RID: 11832
	private static readonly IntPtr NativeMethodInfoPtr_Create_Public_Virtual_Void_0;

	// Token: 0x04002E39 RID: 11833
	private static readonly IntPtr NativeMethodInfoPtr_AddRenderPasses_Public_Virtual_Void_ScriptableRenderer_byref_RenderingData_0;

	// Token: 0x04002E3A RID: 11834
	private static readonly IntPtr NativeMethodInfoPtr_UpdateMaterial_Public_Void_Material_0;

	// Token: 0x04002E3B RID: 11835
	private static readonly IntPtr NativeMethodInfoPtr_Get_Public_Static_PostProcessingRenderFeature_String_0;

	// Token: 0x04002E3C RID: 11836
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
