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

namespace UnityStandardAssets.ImageEffects
{
	// Token: 0x020005D6 RID: 1494
	public class NoiseAndGrain : PostEffectsBase
	{
		// Token: 0x06009C56 RID: 40022 RVA: 0x00280E48 File Offset: 0x0027F048
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 620879, XrefRangeEnd = 620885, 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: 0x06009C57 RID: 40023 RVA: 0x00280EA4 File Offset: 0x0027F0A4
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 620885, XrefRangeEnd = 620932, 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: 0x06009C58 RID: 40024 RVA: 0x00280F18 File Offset: 0x0027F118
		[CallerCount(2)]
		[CachedScanResults(RefRangeStart = 620963, RefRangeEnd = 620965, XrefRangeStart = 620932, XrefRangeEnd = 620963, 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: 0x06009C59 RID: 40025 RVA: 0x00280FC0 File Offset: 0x0027F1C0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 620965, XrefRangeEnd = 620966, 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: 0x06009C5A RID: 40026 RVA: 0x0028100C File Offset: 0x0027F20C
		// 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, 100675359);
			NoiseAndGrain.NativeMethodInfoPtr_OnRenderImage_Private_Void_RenderTexture_RenderTexture_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, 100675360);
			NoiseAndGrain.NativeMethodInfoPtr_DrawNoiseQuadGrid_Private_Static_Void_RenderTexture_RenderTexture_Material_Texture2D_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, 100675361);
			NoiseAndGrain.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NoiseAndGrain>.NativeClassPtr, 100675362);
		}

		// Token: 0x06009C5B RID: 40027 RVA: 0x00275EC4 File Offset: 0x002740C4
		public NoiseAndGrain(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17003512 RID: 13586
		// (get) Token: 0x06009C5C RID: 40028 RVA: 0x002811F4 File Offset: 0x0027F3F4
		// (set) Token: 0x06009C5D RID: 40029 RVA: 0x0028121C File Offset: 0x0027F41C
		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: 0x17003513 RID: 13587
		// (get) Token: 0x06009C5E RID: 40030 RVA: 0x00281240 File Offset: 0x0027F440
		// (set) Token: 0x06009C5F RID: 40031 RVA: 0x00281268 File Offset: 0x0027F468
		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: 0x17003514 RID: 13588
		// (get) Token: 0x06009C60 RID: 40032 RVA: 0x0028128C File Offset: 0x0027F48C
		// (set) Token: 0x06009C61 RID: 40033 RVA: 0x002812B4 File Offset: 0x0027F4B4
		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: 0x17003515 RID: 13589
		// (get) Token: 0x06009C62 RID: 40034 RVA: 0x002812D8 File Offset: 0x0027F4D8
		// (set) Token: 0x06009C63 RID: 40035 RVA: 0x00281300 File Offset: 0x0027F500
		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: 0x17003516 RID: 13590
		// (get) Token: 0x06009C64 RID: 40036 RVA: 0x00281324 File Offset: 0x0027F524
		// (set) Token: 0x06009C65 RID: 40037 RVA: 0x0028134C File Offset: 0x0027F54C
		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: 0x17003517 RID: 13591
		// (get) Token: 0x06009C66 RID: 40038 RVA: 0x00281370 File Offset: 0x0027F570
		// (set) Token: 0x06009C67 RID: 40039 RVA: 0x00281398 File Offset: 0x0027F598
		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: 0x17003518 RID: 13592
		// (get) Token: 0x06009C68 RID: 40040 RVA: 0x002813BC File Offset: 0x0027F5BC
		// (set) Token: 0x06009C69 RID: 40041 RVA: 0x002813E4 File Offset: 0x0027F5E4
		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: 0x17003519 RID: 13593
		// (get) Token: 0x06009C6A RID: 40042 RVA: 0x00281408 File Offset: 0x0027F608
		// (set) Token: 0x06009C6B RID: 40043 RVA: 0x00281430 File Offset: 0x0027F630
		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: 0x1700351A RID: 13594
		// (get) Token: 0x06009C6C RID: 40044 RVA: 0x00281454 File Offset: 0x0027F654
		// (set) Token: 0x06009C6D RID: 40045 RVA: 0x0028147C File Offset: 0x0027F67C
		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: 0x1700351B RID: 13595
		// (get) Token: 0x06009C6E RID: 40046 RVA: 0x002814A0 File Offset: 0x0027F6A0
		// (set) Token: 0x06009C6F RID: 40047 RVA: 0x002814C8 File Offset: 0x0027F6C8
		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: 0x1700351C RID: 13596
		// (get) Token: 0x06009C70 RID: 40048 RVA: 0x002814EC File Offset: 0x0027F6EC
		// (set) Token: 0x06009C71 RID: 40049 RVA: 0x00281514 File Offset: 0x0027F714
		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: 0x1700351D RID: 13597
		// (get) Token: 0x06009C72 RID: 40050 RVA: 0x00281538 File Offset: 0x0027F738
		// (set) Token: 0x06009C73 RID: 40051 RVA: 0x00281560 File Offset: 0x0027F760
		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: 0x1700351E RID: 13598
		// (get) Token: 0x06009C74 RID: 40052 RVA: 0x00281584 File Offset: 0x0027F784
		// (set) Token: 0x06009C75 RID: 40053 RVA: 0x002815B8 File Offset: 0x0027F7B8
		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: 0x1700351F RID: 13599
		// (get) Token: 0x06009C76 RID: 40054 RVA: 0x002815E0 File Offset: 0x0027F7E0
		// (set) Token: 0x06009C77 RID: 40055 RVA: 0x00281614 File Offset: 0x0027F814
		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: 0x17003520 RID: 13600
		// (get) Token: 0x06009C78 RID: 40056 RVA: 0x0028163C File Offset: 0x0027F83C
		// (set) Token: 0x06009C79 RID: 40057 RVA: 0x00281670 File Offset: 0x0027F870
		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: 0x17003521 RID: 13601
		// (get) Token: 0x06009C7A RID: 40058 RVA: 0x00281698 File Offset: 0x0027F898
		// (set) Token: 0x06009C7B RID: 40059 RVA: 0x002816CC File Offset: 0x0027F8CC
		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: 0x17003522 RID: 13602
		// (get) Token: 0x06009C7C RID: 40060 RVA: 0x002816F4 File Offset: 0x0027F8F4
		// (set) Token: 0x06009C7D RID: 40061 RVA: 0x00281728 File Offset: 0x0027F928
		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: 0x17003523 RID: 13603
		// (get) Token: 0x06009C7E RID: 40062 RVA: 0x00281750 File Offset: 0x0027F950
		// (set) Token: 0x06009C7F RID: 40063 RVA: 0x0028176E File Offset: 0x0027F96E
		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: 0x040068CA RID: 26826
		private static readonly IntPtr NativeFieldInfoPtr_intensityMultiplier;

		// Token: 0x040068CB RID: 26827
		private static readonly IntPtr NativeFieldInfoPtr_generalIntensity;

		// Token: 0x040068CC RID: 26828
		private static readonly IntPtr NativeFieldInfoPtr_blackIntensity;

		// Token: 0x040068CD RID: 26829
		private static readonly IntPtr NativeFieldInfoPtr_whiteIntensity;

		// Token: 0x040068CE RID: 26830
		private static readonly IntPtr NativeFieldInfoPtr_midGrey;

		// Token: 0x040068CF RID: 26831
		private static readonly IntPtr NativeFieldInfoPtr_dx11Grain;

		// Token: 0x040068D0 RID: 26832
		private static readonly IntPtr NativeFieldInfoPtr_softness;

		// Token: 0x040068D1 RID: 26833
		private static readonly IntPtr NativeFieldInfoPtr_monochrome;

		// Token: 0x040068D2 RID: 26834
		private static readonly IntPtr NativeFieldInfoPtr_intensities;

		// Token: 0x040068D3 RID: 26835
		private static readonly IntPtr NativeFieldInfoPtr_tiling;

		// Token: 0x040068D4 RID: 26836
		private static readonly IntPtr NativeFieldInfoPtr_monochromeTiling;

		// Token: 0x040068D5 RID: 26837
		private static readonly IntPtr NativeFieldInfoPtr_filterMode;

		// Token: 0x040068D6 RID: 26838
		private static readonly IntPtr NativeFieldInfoPtr_noiseTexture;

		// Token: 0x040068D7 RID: 26839
		private static readonly IntPtr NativeFieldInfoPtr_noiseShader;

		// Token: 0x040068D8 RID: 26840
		private static readonly IntPtr NativeFieldInfoPtr_noiseMaterial;

		// Token: 0x040068D9 RID: 26841
		private static readonly IntPtr NativeFieldInfoPtr_dx11NoiseShader;

		// Token: 0x040068DA RID: 26842
		private static readonly IntPtr NativeFieldInfoPtr_dx11NoiseMaterial;

		// Token: 0x040068DB RID: 26843
		private static readonly IntPtr NativeFieldInfoPtr_TILE_AMOUNT;

		// Token: 0x040068DC RID: 26844
		private static readonly IntPtr NativeMethodInfoPtr_CheckResources_Public_Virtual_Boolean_0;

		// Token: 0x040068DD RID: 26845
		private static readonly IntPtr NativeMethodInfoPtr_OnRenderImage_Private_Void_RenderTexture_RenderTexture_0;

		// Token: 0x040068DE RID: 26846
		private static readonly IntPtr NativeMethodInfoPtr_DrawNoiseQuadGrid_Private_Static_Void_RenderTexture_RenderTexture_Material_Texture2D_Int32_0;

		// Token: 0x040068DF RID: 26847
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
