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

// Token: 0x020001AC RID: 428
public class PostProcessingRenderFeature : ScriptableRendererFeature
{
	// Token: 0x06004A59 RID: 19033 RVA: 0x001297B8 File Offset: 0x001279B8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 569155, XrefRangeEnd = 569170, 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: 0x06004A5A RID: 19034 RVA: 0x00129808 File Offset: 0x00127A08
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 569170, XrefRangeEnd = 569174, 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: 0x06004A5B RID: 19035 RVA: 0x00129888 File Offset: 0x00127A88
	[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: 0x06004A5C RID: 19036 RVA: 0x001298E4 File Offset: 0x00127AE4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 569174, XrefRangeEnd = 569191, 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: 0x06004A5D RID: 19037 RVA: 0x00129944 File Offset: 0x00127B44
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 569191, XrefRangeEnd = 569192, 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: 0x06004A5E RID: 19038 RVA: 0x00129990 File Offset: 0x00127B90
	// 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, 100668324);
		PostProcessingRenderFeature.NativeMethodInfoPtr_AddRenderPasses_Public_Virtual_Void_ScriptableRenderer_byref_RenderingData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingRenderFeature>.NativeClassPtr, 100668325);
		PostProcessingRenderFeature.NativeMethodInfoPtr_UpdateMaterial_Public_Void_Material_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingRenderFeature>.NativeClassPtr, 100668326);
		PostProcessingRenderFeature.NativeMethodInfoPtr_Get_Public_Static_PostProcessingRenderFeature_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingRenderFeature>.NativeClassPtr, 100668327);
		PostProcessingRenderFeature.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingRenderFeature>.NativeClassPtr, 100668328);
	}

	// Token: 0x06004A5F RID: 19039 RVA: 0x00129A74 File Offset: 0x00127C74
	public PostProcessingRenderFeature(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001AAC RID: 6828
	// (get) Token: 0x06004A60 RID: 19040 RVA: 0x00129A80 File Offset: 0x00127C80
	// (set) Token: 0x06004A61 RID: 19041 RVA: 0x00129AB4 File Offset: 0x00127CB4
	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: 0x17001AAD RID: 6829
	// (get) Token: 0x06004A62 RID: 19042 RVA: 0x00129ADC File Offset: 0x00127CDC
	// (set) Token: 0x06004A63 RID: 19043 RVA: 0x00129B10 File Offset: 0x00127D10
	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: 0x17001AAE RID: 6830
	// (get) Token: 0x06004A64 RID: 19044 RVA: 0x00129B38 File Offset: 0x00127D38
	// (set) Token: 0x06004A65 RID: 19045 RVA: 0x00129B63 File Offset: 0x00127D63
	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: 0x17001AAF RID: 6831
	// (get) Token: 0x06004A66 RID: 19046 RVA: 0x00129B78 File Offset: 0x00127D78
	// (set) Token: 0x06004A67 RID: 19047 RVA: 0x00129BAC File Offset: 0x00127DAC
	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: 0x0400314C RID: 12620
	private static readonly IntPtr NativeFieldInfoPtr_settings;

	// Token: 0x0400314D RID: 12621
	private static readonly IntPtr NativeFieldInfoPtr_material;

	// Token: 0x0400314E RID: 12622
	private static readonly IntPtr NativeFieldInfoPtr_renderFeatureMap;

	// Token: 0x0400314F RID: 12623
	private static readonly IntPtr NativeFieldInfoPtr_renderPass;

	// Token: 0x04003150 RID: 12624
	private static readonly IntPtr NativeMethodInfoPtr_Create_Public_Virtual_Void_0;

	// Token: 0x04003151 RID: 12625
	private static readonly IntPtr NativeMethodInfoPtr_AddRenderPasses_Public_Virtual_Void_ScriptableRenderer_byref_RenderingData_0;

	// Token: 0x04003152 RID: 12626
	private static readonly IntPtr NativeMethodInfoPtr_UpdateMaterial_Public_Void_Material_0;

	// Token: 0x04003153 RID: 12627
	private static readonly IntPtr NativeMethodInfoPtr_Get_Public_Static_PostProcessingRenderFeature_String_0;

	// Token: 0x04003154 RID: 12628
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
