using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppInterop.Runtime.InteropTypes.Arrays;
using Il2CppSystem;

namespace UnityEngine.PostProcessing
{
	// Token: 0x0200058A RID: 1418
	public class PostProcessingComponentRenderTexture<T> : PostProcessingComponent<T> where T : PostProcessingModel
	{
		// Token: 0x06009762 RID: 38754 RVA: 0x0026DDA0 File Offset: 0x0026BFA0
		[CallerCount(5585)]
		[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5609, XrefRangeStart = 24, XrefRangeEnd = 5609, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe virtual void Prepare(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(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), PostProcessingComponentRenderTexture<T>.NativeMethodInfoPtr_Prepare_Public_Virtual_New_Void_Material_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x06009763 RID: 38755 RVA: 0x0026DE04 File Offset: 0x0026C004
		[CallerCount(18)]
		[CachedScanResults(RefRangeStart = 617118, RefRangeEnd = 617136, XrefRangeStart = 617118, XrefRangeEnd = 617136, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe PostProcessingComponentRenderTexture()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<PostProcessingComponentRenderTexture<T>>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PostProcessingComponentRenderTexture<T>.NativeMethodInfoPtr__ctor_Protected_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009764 RID: 38756 RVA: 0x0026DE50 File Offset: 0x0026C050
		// Note: this type is marked as 'beforefieldinit'.
		static PostProcessingComponentRenderTexture()
		{
			Il2CppClassPointerStore<PostProcessingComponentRenderTexture<T>>.NativeClassPtr = IL2CPP.il2cpp_class_from_type(Type.internal_from_handle(IL2CPP.il2cpp_class_get_type(IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "UnityEngine.PostProcessing", "PostProcessingComponentRenderTexture`1"))).MakeGenericType(new Il2CppReferenceArray<Type>(new Type[] { Type.internal_from_handle(IL2CPP.il2cpp_class_get_type(Il2CppClassPointerStore<T>.NativeClassPtr)) })).TypeHandle.value);
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<PostProcessingComponentRenderTexture<T>>.NativeClassPtr);
			PostProcessingComponentRenderTexture<T>.NativeMethodInfoPtr_Prepare_Public_Virtual_New_Void_Material_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentRenderTexture<T>>.NativeClassPtr, 100675074);
			PostProcessingComponentRenderTexture<T>.NativeMethodInfoPtr__ctor_Protected_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentRenderTexture<T>>.NativeClassPtr, 100675075);
		}

		// Token: 0x06009765 RID: 38757 RVA: 0x0026DD97 File Offset: 0x0026BF97
		public PostProcessingComponentRenderTexture(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x0400659E RID: 26014
		private static readonly IntPtr NativeMethodInfoPtr_Prepare_Public_Virtual_New_Void_Material_0;

		// Token: 0x0400659F RID: 26015
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Protected_Void_0;
	}
}
