using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppSystem;
using UnityEngine.Rendering;

namespace UnityEngine.PostProcessing
{
	// Token: 0x02000530 RID: 1328
	public sealed class FogComponent : PostProcessingComponentCommandBuffer<FogModel>
	{
		// Token: 0x1700323C RID: 12860
		// (get) Token: 0x0600947B RID: 38011 RVA: 0x00262EF8 File Offset: 0x002610F8
		public unsafe override bool active
		{
			[CallerCount(0)]
			[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 615504, XrefRangeEnd = 615507, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FogComponent.NativeMethodInfoPtr_get_active_Public_Virtual_get_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return *IL2CPP.il2cpp_object_unbox(intPtr);
			}
		}

		// Token: 0x0600947C RID: 38012 RVA: 0x00262F48 File Offset: 0x00261148
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 615507, XrefRangeEnd = 615509, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override string GetName()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FogComponent.NativeMethodInfoPtr_GetName_Public_Virtual_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return IL2CPP.Il2CppStringToManaged(intPtr);
		}

		// Token: 0x0600947D RID: 38013 RVA: 0x00262F94 File Offset: 0x00261194
		[CallerCount(0)]
		public unsafe override DepthTextureMode GetCameraFlags()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FogComponent.NativeMethodInfoPtr_GetCameraFlags_Public_Virtual_DepthTextureMode_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return *IL2CPP.il2cpp_object_unbox(intPtr);
		}

		// Token: 0x0600947E RID: 38014 RVA: 0x00262FE4 File Offset: 0x002611E4
		[CallerCount(0)]
		public unsafe override CameraEvent GetCameraEvent()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FogComponent.NativeMethodInfoPtr_GetCameraEvent_Public_Virtual_CameraEvent_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return *IL2CPP.il2cpp_object_unbox(intPtr);
		}

		// Token: 0x0600947F RID: 38015 RVA: 0x00263034 File Offset: 0x00261234
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 615509, XrefRangeEnd = 615562, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override void PopulateCommandBuffer(CommandBuffer cb)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(cb);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FogComponent.NativeMethodInfoPtr_PopulateCommandBuffer_Public_Virtual_Void_CommandBuffer_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x06009480 RID: 38016 RVA: 0x00263090 File Offset: 0x00261290
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 615565, RefRangeEnd = 615566, XrefRangeStart = 615562, XrefRangeEnd = 615565, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe FogComponent()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<FogComponent>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FogComponent.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009481 RID: 38017 RVA: 0x002630DC File Offset: 0x002612DC
		// Note: this type is marked as 'beforefieldinit'.
		static FogComponent()
		{
			Il2CppClassPointerStore<FogComponent>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "UnityEngine.PostProcessing", "FogComponent");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<FogComponent>.NativeClassPtr);
			FogComponent.NativeFieldInfoPtr_k_ShaderString = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FogComponent>.NativeClassPtr, "k_ShaderString");
			FogComponent.NativeMethodInfoPtr_get_active_Public_Virtual_get_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FogComponent>.NativeClassPtr, 100674869);
			FogComponent.NativeMethodInfoPtr_GetName_Public_Virtual_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FogComponent>.NativeClassPtr, 100674870);
			FogComponent.NativeMethodInfoPtr_GetCameraFlags_Public_Virtual_DepthTextureMode_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FogComponent>.NativeClassPtr, 100674871);
			FogComponent.NativeMethodInfoPtr_GetCameraEvent_Public_Virtual_CameraEvent_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FogComponent>.NativeClassPtr, 100674872);
			FogComponent.NativeMethodInfoPtr_PopulateCommandBuffer_Public_Virtual_Void_CommandBuffer_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FogComponent>.NativeClassPtr, 100674873);
			FogComponent.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FogComponent>.NativeClassPtr, 100674874);
		}

		// Token: 0x06009482 RID: 38018 RVA: 0x00263198 File Offset: 0x00261398
		public FogComponent(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x1700323B RID: 12859
		// (get) Token: 0x06009483 RID: 38019 RVA: 0x002631A4 File Offset: 0x002613A4
		// (set) Token: 0x06009484 RID: 38020 RVA: 0x002631C4 File Offset: 0x002613C4
		public unsafe static string k_ShaderString
		{
			get
			{
				IntPtr intPtr;
				IL2CPP.il2cpp_field_static_get_value(FogComponent.NativeFieldInfoPtr_k_ShaderString, (void*)(&intPtr));
				return IL2CPP.Il2CppStringToManaged(intPtr);
			}
			set
			{
				IL2CPP.il2cpp_field_static_set_value(FogComponent.NativeFieldInfoPtr_k_ShaderString, IL2CPP.ManagedStringToIl2Cpp(value));
			}
		}

		// Token: 0x040062FE RID: 25342
		private static readonly IntPtr NativeFieldInfoPtr_k_ShaderString;

		// Token: 0x040062FF RID: 25343
		private static readonly IntPtr NativeMethodInfoPtr_get_active_Public_Virtual_get_Boolean_0;

		// Token: 0x04006300 RID: 25344
		private static readonly IntPtr NativeMethodInfoPtr_GetName_Public_Virtual_String_0;

		// Token: 0x04006301 RID: 25345
		private static readonly IntPtr NativeMethodInfoPtr_GetCameraFlags_Public_Virtual_DepthTextureMode_0;

		// Token: 0x04006302 RID: 25346
		private static readonly IntPtr NativeMethodInfoPtr_GetCameraEvent_Public_Virtual_CameraEvent_0;

		// Token: 0x04006303 RID: 25347
		private static readonly IntPtr NativeMethodInfoPtr_PopulateCommandBuffer_Public_Virtual_Void_CommandBuffer_0;

		// Token: 0x04006304 RID: 25348
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

		// Token: 0x02000531 RID: 1329
		public static class Uniforms : Object
		{
			// Token: 0x06009485 RID: 38021 RVA: 0x002631DC File Offset: 0x002613DC
			// Note: this type is marked as 'beforefieldinit'.
			static Uniforms()
			{
				Il2CppClassPointerStore<FogComponent.Uniforms>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<FogComponent>.NativeClassPtr, "Uniforms");
				IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<FogComponent.Uniforms>.NativeClassPtr);
				FogComponent.Uniforms.NativeFieldInfoPtr__FogColor = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FogComponent.Uniforms>.NativeClassPtr, "_FogColor");
				FogComponent.Uniforms.NativeFieldInfoPtr__Density = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FogComponent.Uniforms>.NativeClassPtr, "_Density");
				FogComponent.Uniforms.NativeFieldInfoPtr__Start = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FogComponent.Uniforms>.NativeClassPtr, "_Start");
				FogComponent.Uniforms.NativeFieldInfoPtr__End = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FogComponent.Uniforms>.NativeClassPtr, "_End");
				FogComponent.Uniforms.NativeFieldInfoPtr__TempRT = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FogComponent.Uniforms>.NativeClassPtr, "_TempRT");
			}

			// Token: 0x06009486 RID: 38022 RVA: 0x0000A688 File Offset: 0x00008888
			public Uniforms(IntPtr pointer)
				: base(pointer)
			{
			}

			// Token: 0x1700323D RID: 12861
			// (get) Token: 0x06009487 RID: 38023 RVA: 0x0026326C File Offset: 0x0026146C
			// (set) Token: 0x06009488 RID: 38024 RVA: 0x0026328A File Offset: 0x0026148A
			public unsafe static int _FogColor
			{
				get
				{
					int num;
					IL2CPP.il2cpp_field_static_get_value(FogComponent.Uniforms.NativeFieldInfoPtr__FogColor, (void*)(&num));
					return num;
				}
				set
				{
					IL2CPP.il2cpp_field_static_set_value(FogComponent.Uniforms.NativeFieldInfoPtr__FogColor, (void*)(&value));
				}
			}

			// Token: 0x1700323E RID: 12862
			// (get) Token: 0x06009489 RID: 38025 RVA: 0x0026329C File Offset: 0x0026149C
			// (set) Token: 0x0600948A RID: 38026 RVA: 0x002632BA File Offset: 0x002614BA
			public unsafe static int _Density
			{
				get
				{
					int num;
					IL2CPP.il2cpp_field_static_get_value(FogComponent.Uniforms.NativeFieldInfoPtr__Density, (void*)(&num));
					return num;
				}
				set
				{
					IL2CPP.il2cpp_field_static_set_value(FogComponent.Uniforms.NativeFieldInfoPtr__Density, (void*)(&value));
				}
			}

			// Token: 0x1700323F RID: 12863
			// (get) Token: 0x0600948B RID: 38027 RVA: 0x002632CC File Offset: 0x002614CC
			// (set) Token: 0x0600948C RID: 38028 RVA: 0x002632EA File Offset: 0x002614EA
			public unsafe static int _Start
			{
				get
				{
					int num;
					IL2CPP.il2cpp_field_static_get_value(FogComponent.Uniforms.NativeFieldInfoPtr__Start, (void*)(&num));
					return num;
				}
				set
				{
					IL2CPP.il2cpp_field_static_set_value(FogComponent.Uniforms.NativeFieldInfoPtr__Start, (void*)(&value));
				}
			}

			// Token: 0x17003240 RID: 12864
			// (get) Token: 0x0600948D RID: 38029 RVA: 0x002632FC File Offset: 0x002614FC
			// (set) Token: 0x0600948E RID: 38030 RVA: 0x0026331A File Offset: 0x0026151A
			public unsafe static int _End
			{
				get
				{
					int num;
					IL2CPP.il2cpp_field_static_get_value(FogComponent.Uniforms.NativeFieldInfoPtr__End, (void*)(&num));
					return num;
				}
				set
				{
					IL2CPP.il2cpp_field_static_set_value(FogComponent.Uniforms.NativeFieldInfoPtr__End, (void*)(&value));
				}
			}

			// Token: 0x17003241 RID: 12865
			// (get) Token: 0x0600948F RID: 38031 RVA: 0x0026332C File Offset: 0x0026152C
			// (set) Token: 0x06009490 RID: 38032 RVA: 0x0026334A File Offset: 0x0026154A
			public unsafe static int _TempRT
			{
				get
				{
					int num;
					IL2CPP.il2cpp_field_static_get_value(FogComponent.Uniforms.NativeFieldInfoPtr__TempRT, (void*)(&num));
					return num;
				}
				set
				{
					IL2CPP.il2cpp_field_static_set_value(FogComponent.Uniforms.NativeFieldInfoPtr__TempRT, (void*)(&value));
				}
			}

			// Token: 0x04006305 RID: 25349
			private static readonly IntPtr NativeFieldInfoPtr__FogColor;

			// Token: 0x04006306 RID: 25350
			private static readonly IntPtr NativeFieldInfoPtr__Density;

			// Token: 0x04006307 RID: 25351
			private static readonly IntPtr NativeFieldInfoPtr__Start;

			// Token: 0x04006308 RID: 25352
			private static readonly IntPtr NativeFieldInfoPtr__End;

			// Token: 0x04006309 RID: 25353
			private static readonly IntPtr NativeFieldInfoPtr__TempRT;
		}
	}
}
