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

namespace UnityStandardAssets.ImageEffects
{
	// Token: 0x0200062E RID: 1582
	public class NoiseAndGrain : PostEffectsBase
	{
		// Token: 0x0600A4A9 RID: 42153 RVA: 0x002A3B84 File Offset: 0x002A1D84
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 653181, XrefRangeEnd = 653187, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override bool CheckResources()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), NoiseAndGrain.NativeMethodInfoPtr_CheckResources_Public_Virtual_Boolean_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return *IL2CPP.il2cpp_object_unbox(intPtr);
		}

		// Token: 0x0600A4AA RID: 42154 RVA: 0x002A3BE0 File Offset: 0x002A1DE0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 653187, XrefRangeEnd = 653234, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnRenderImage(RenderTexture source, RenderTexture destination)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr;
			checked
			{
				ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(source);
			}
			ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(destination);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(NoiseAndGrain.NativeMethodInfoPtr_OnRenderImage_Private_Void_RenderTexture_RenderTexture_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600A4AB RID: 42155 RVA: 0x002A3C54 File Offset: 0x002A1E54
		[CallerCount(2)]
		[CachedScanResults(RefRangeStart = 653265, RefRangeEnd = 653267, XrefRangeStart = 653234, XrefRangeEnd = 653265, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe static void DrawNoiseQuadGrid(RenderTexture source, RenderTexture dest, Material fxMaterial, Texture2D noise, int passNr)
		{
			IntPtr* ptr;
			checked
			{
				ptr = stackalloc IntPtr[unchecked((UIntPtr)5) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(source);
			}
			ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(dest);
			ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(fxMaterial);
			ptr[checked(unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(noise);
			ptr[checked(unchecked((UIntPtr)4) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref passNr;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(NoiseAndGrain.NativeMethodInfoPtr_DrawNoiseQuadGrid_Private_Static_Void_RenderTexture_RenderTexture_Material_Texture2D_Int32_0, 0, (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600A4AC RID: 42156 RVA: 0x002A3CFC File Offset: 0x002A1EFC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 653267, XrefRangeEnd = 653268, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe NoiseAndGrain()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(NoiseAndGrain.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600A4AD RID: 42157 RVA: 0x002A3D48 File Offset: 0x002A1F48
		// Note: this type is marked as 'beforefieldinit'.
		static NoiseAndGrain()
		{
			Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "UnityStandardAssets.ImageEffects", "NoiseAndGrain");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr);
			NoiseAndGrain.NativeFieldInfoPtr_intensityMultiplier = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, "intensityMultiplier");
			NoiseAndGrain.NativeFieldInfoPtr_generalIntensity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, "generalIntensity");
			NoiseAndGrain.NativeFieldInfoPtr_blackIntensity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, "blackIntensity");
			NoiseAndGrain.NativeFieldInfoPtr_whiteIntensity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, "whiteIntensity");
			NoiseAndGrain.NativeFieldInfoPtr_midGrey = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, "midGrey");
			NoiseAndGrain.NativeFieldInfoPtr_dx11Grain = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, "dx11Grain");
			NoiseAndGrain.NativeFieldInfoPtr_softness = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, "softness");
			NoiseAndGrain.NativeFieldInfoPtr_monochrome = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, "monochrome");
			NoiseAndGrain.NativeFieldInfoPtr_intensities = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, "intensities");
			NoiseAndGrain.NativeFieldInfoPtr_tiling = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, "tiling");
			NoiseAndGrain.NativeFieldInfoPtr_monochromeTiling = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, "monochromeTiling");
			NoiseAndGrain.NativeFieldInfoPtr_filterMode = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, "filterMode");
			NoiseAndGrain.NativeFieldInfoPtr_noiseTexture = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, "noiseTexture");
			NoiseAndGrain.NativeFieldInfoPtr_noiseShader = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, "noiseShader");
			NoiseAndGrain.NativeFieldInfoPtr_noiseMaterial = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, "noiseMaterial");
			NoiseAndGrain.NativeFieldInfoPtr_dx11NoiseShader = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, "dx11NoiseShader");
			NoiseAndGrain.NativeFieldInfoPtr_dx11NoiseMaterial = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, "dx11NoiseMaterial");
			NoiseAndGrain.NativeFieldInfoPtr_TILE_AMOUNT = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, "TILE_AMOUNT");
			NoiseAndGrain.NativeMethodInfoPtr_CheckResources_Public_Virtual_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, 100676072);
			NoiseAndGrain.NativeMethodInfoPtr_OnRenderImage_Private_Void_RenderTexture_RenderTexture_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, 100676073);
			NoiseAndGrain.NativeMethodInfoPtr_DrawNoiseQuadGrid_Private_Static_Void_RenderTexture_RenderTexture_Material_Texture2D_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, 100676074);
			NoiseAndGrain.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, 100676075);
		}

		// Token: 0x0600A4AE RID: 42158 RVA: 0x00298C00 File Offset: 0x00296E00
		public NoiseAndGrain(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170037AD RID: 14253
		// (get) Token: 0x0600A4AF RID: 42159 RVA: 0x002A3F30 File Offset: 0x002A2130
		// (set) Token: 0x0600A4B0 RID: 42160 RVA: 0x002A3F58 File Offset: 0x002A2158
		public unsafe float intensityMultiplier
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_intensityMultiplier);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_intensityMultiplier)) = value;
			}
		}

		// Token: 0x170037AE RID: 14254
		// (get) Token: 0x0600A4B1 RID: 42161 RVA: 0x002A3F7C File Offset: 0x002A217C
		// (set) Token: 0x0600A4B2 RID: 42162 RVA: 0x002A3FA4 File Offset: 0x002A21A4
		public unsafe float generalIntensity
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_generalIntensity);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_generalIntensity)) = value;
			}
		}

		// Token: 0x170037AF RID: 14255
		// (get) Token: 0x0600A4B3 RID: 42163 RVA: 0x002A3FC8 File Offset: 0x002A21C8
		// (set) Token: 0x0600A4B4 RID: 42164 RVA: 0x002A3FF0 File Offset: 0x002A21F0
		public unsafe float blackIntensity
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_blackIntensity);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_blackIntensity)) = value;
			}
		}

		// Token: 0x170037B0 RID: 14256
		// (get) Token: 0x0600A4B5 RID: 42165 RVA: 0x002A4014 File Offset: 0x002A2214
		// (set) Token: 0x0600A4B6 RID: 42166 RVA: 0x002A403C File Offset: 0x002A223C
		public unsafe float whiteIntensity
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_whiteIntensity);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_whiteIntensity)) = value;
			}
		}

		// Token: 0x170037B1 RID: 14257
		// (get) Token: 0x0600A4B7 RID: 42167 RVA: 0x002A4060 File Offset: 0x002A2260
		// (set) Token: 0x0600A4B8 RID: 42168 RVA: 0x002A4088 File Offset: 0x002A2288
		public unsafe float midGrey
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_midGrey);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_midGrey)) = value;
			}
		}

		// Token: 0x170037B2 RID: 14258
		// (get) Token: 0x0600A4B9 RID: 42169 RVA: 0x002A40AC File Offset: 0x002A22AC
		// (set) Token: 0x0600A4BA RID: 42170 RVA: 0x002A40D4 File Offset: 0x002A22D4
		public unsafe bool dx11Grain
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_dx11Grain);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_dx11Grain)) = value;
			}
		}

		// Token: 0x170037B3 RID: 14259
		// (get) Token: 0x0600A4BB RID: 42171 RVA: 0x002A40F8 File Offset: 0x002A22F8
		// (set) Token: 0x0600A4BC RID: 42172 RVA: 0x002A4120 File Offset: 0x002A2320
		public unsafe float softness
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_softness);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_softness)) = value;
			}
		}

		// Token: 0x170037B4 RID: 14260
		// (get) Token: 0x0600A4BD RID: 42173 RVA: 0x002A4144 File Offset: 0x002A2344
		// (set) Token: 0x0600A4BE RID: 42174 RVA: 0x002A416C File Offset: 0x002A236C
		public unsafe bool monochrome
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_monochrome);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_monochrome)) = value;
			}
		}

		// Token: 0x170037B5 RID: 14261
		// (get) Token: 0x0600A4BF RID: 42175 RVA: 0x002A4190 File Offset: 0x002A2390
		// (set) Token: 0x0600A4C0 RID: 42176 RVA: 0x002A41B8 File Offset: 0x002A23B8
		public unsafe Vector3 intensities
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_intensities);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_intensities)) = value;
			}
		}

		// Token: 0x170037B6 RID: 14262
		// (get) Token: 0x0600A4C1 RID: 42177 RVA: 0x002A41DC File Offset: 0x002A23DC
		// (set) Token: 0x0600A4C2 RID: 42178 RVA: 0x002A4204 File Offset: 0x002A2404
		public unsafe Vector3 tiling
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_tiling);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_tiling)) = value;
			}
		}

		// Token: 0x170037B7 RID: 14263
		// (get) Token: 0x0600A4C3 RID: 42179 RVA: 0x002A4228 File Offset: 0x002A2428
		// (set) Token: 0x0600A4C4 RID: 42180 RVA: 0x002A4250 File Offset: 0x002A2450
		public unsafe float monochromeTiling
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_monochromeTiling);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_monochromeTiling)) = value;
			}
		}

		// Token: 0x170037B8 RID: 14264
		// (get) Token: 0x0600A4C5 RID: 42181 RVA: 0x002A4274 File Offset: 0x002A2474
		// (set) Token: 0x0600A4C6 RID: 42182 RVA: 0x002A429C File Offset: 0x002A249C
		public unsafe FilterMode filterMode
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_filterMode);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_filterMode)) = value;
			}
		}

		// Token: 0x170037B9 RID: 14265
		// (get) Token: 0x0600A4C7 RID: 42183 RVA: 0x002A42C0 File Offset: 0x002A24C0
		// (set) Token: 0x0600A4C8 RID: 42184 RVA: 0x002A42F4 File Offset: 0x002A24F4
		public unsafe Texture2D noiseTexture
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_noiseTexture);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Texture2D(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_noiseTexture), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170037BA RID: 14266
		// (get) Token: 0x0600A4C9 RID: 42185 RVA: 0x002A431C File Offset: 0x002A251C
		// (set) Token: 0x0600A4CA RID: 42186 RVA: 0x002A4350 File Offset: 0x002A2550
		public unsafe Shader noiseShader
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_noiseShader);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Shader(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_noiseShader), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170037BB RID: 14267
		// (get) Token: 0x0600A4CB RID: 42187 RVA: 0x002A4378 File Offset: 0x002A2578
		// (set) Token: 0x0600A4CC RID: 42188 RVA: 0x002A43AC File Offset: 0x002A25AC
		public unsafe Material noiseMaterial
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_noiseMaterial);
				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(NoiseAndGrain.NativeFieldInfoPtr_noiseMaterial), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170037BC RID: 14268
		// (get) Token: 0x0600A4CD RID: 42189 RVA: 0x002A43D4 File Offset: 0x002A25D4
		// (set) Token: 0x0600A4CE RID: 42190 RVA: 0x002A4408 File Offset: 0x002A2608
		public unsafe Shader dx11NoiseShader
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_dx11NoiseShader);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Shader(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_dx11NoiseShader), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170037BD RID: 14269
		// (get) Token: 0x0600A4CF RID: 42191 RVA: 0x002A4430 File Offset: 0x002A2630
		// (set) Token: 0x0600A4D0 RID: 42192 RVA: 0x002A4464 File Offset: 0x002A2664
		public unsafe Material dx11NoiseMaterial
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NoiseAndGrain.NativeFieldInfoPtr_dx11NoiseMaterial);
				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(NoiseAndGrain.NativeFieldInfoPtr_dx11NoiseMaterial), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170037BE RID: 14270
		// (get) Token: 0x0600A4D1 RID: 42193 RVA: 0x002A448C File Offset: 0x002A268C
		// (set) Token: 0x0600A4D2 RID: 42194 RVA: 0x002A44AA File Offset: 0x002A26AA
		public unsafe static float TILE_AMOUNT
		{
			get
			{
				float num;
				IL2CPP.il2cpp_field_static_get_value(NoiseAndGrain.NativeFieldInfoPtr_TILE_AMOUNT, (void*)(&num));
				return num;
			}
			set
			{
				IL2CPP.il2cpp_field_static_set_value(NoiseAndGrain.NativeFieldInfoPtr_TILE_AMOUNT, (void*)(&value));
			}
		}

		// Token: 0x04006E73 RID: 28275
		private static readonly IntPtr NativeFieldInfoPtr_intensityMultiplier;

		// Token: 0x04006E74 RID: 28276
		private static readonly IntPtr NativeFieldInfoPtr_generalIntensity;

		// Token: 0x04006E75 RID: 28277
		private static readonly IntPtr NativeFieldInfoPtr_blackIntensity;

		// Token: 0x04006E76 RID: 28278
		private static readonly IntPtr NativeFieldInfoPtr_whiteIntensity;

		// Token: 0x04006E77 RID: 28279
		private static readonly IntPtr NativeFieldInfoPtr_midGrey;

		// Token: 0x04006E78 RID: 28280
		private static readonly IntPtr NativeFieldInfoPtr_dx11Grain;

		// Token: 0x04006E79 RID: 28281
		private static readonly IntPtr NativeFieldInfoPtr_softness;

		// Token: 0x04006E7A RID: 28282
		private static readonly IntPtr NativeFieldInfoPtr_monochrome;

		// Token: 0x04006E7B RID: 28283
		private static readonly IntPtr NativeFieldInfoPtr_intensities;

		// Token: 0x04006E7C RID: 28284
		private static readonly IntPtr NativeFieldInfoPtr_tiling;

		// Token: 0x04006E7D RID: 28285
		private static readonly IntPtr NativeFieldInfoPtr_monochromeTiling;

		// Token: 0x04006E7E RID: 28286
		private static readonly IntPtr NativeFieldInfoPtr_filterMode;

		// Token: 0x04006E7F RID: 28287
		private static readonly IntPtr NativeFieldInfoPtr_noiseTexture;

		// Token: 0x04006E80 RID: 28288
		private static readonly IntPtr NativeFieldInfoPtr_noiseShader;

		// Token: 0x04006E81 RID: 28289
		private static readonly IntPtr NativeFieldInfoPtr_noiseMaterial;

		// Token: 0x04006E82 RID: 28290
		private static readonly IntPtr NativeFieldInfoPtr_dx11NoiseShader;

		// Token: 0x04006E83 RID: 28291
		private static readonly IntPtr NativeFieldInfoPtr_dx11NoiseMaterial;

		// Token: 0x04006E84 RID: 28292
		private static readonly IntPtr NativeFieldInfoPtr_TILE_AMOUNT;

		// Token: 0x04006E85 RID: 28293
		private static readonly IntPtr NativeMethodInfoPtr_CheckResources_Public_Virtual_Boolean_0;

		// Token: 0x04006E86 RID: 28294
		private static readonly IntPtr NativeMethodInfoPtr_OnRenderImage_Private_Void_RenderTexture_RenderTexture_0;

		// Token: 0x04006E87 RID: 28295
		private static readonly IntPtr NativeMethodInfoPtr_DrawNoiseQuadGrid_Private_Static_Void_RenderTexture_RenderTexture_Material_Texture2D_Int32_0;

		// Token: 0x04006E88 RID: 28296
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
