using System;
using DG.Tweening;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppSystem;
using UnityEngine;
using UnityEngine.Rendering.Universal;

// Token: 0x02000314 RID: 788
[Serializable]
public class UIDistortionEffect : Il2CppSystem.Object
{
	// Token: 0x060064B2 RID: 25778 RVA: 0x00197624 File Offset: 0x00195824
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 598655, RefRangeEnd = 598656, XrefRangeStart = 598649, XrefRangeEnd = 598655, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Init()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIDistortionEffect.NativeMethodInfoPtr_Init_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060064B3 RID: 25779 RVA: 0x00197668 File Offset: 0x00195868
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 598669, RefRangeEnd = 598671, XrefRangeStart = 598656, XrefRangeEnd = 598669, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void AppearGlassEffect()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIDistortionEffect.NativeMethodInfoPtr_AppearGlassEffect_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060064B4 RID: 25780 RVA: 0x001976AC File Offset: 0x001958AC
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 598689, RefRangeEnd = 598691, XrefRangeStart = 598671, XrefRangeEnd = 598689, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void HideGlassEffect()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIDistortionEffect.NativeMethodInfoPtr_HideGlassEffect_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060064B5 RID: 25781 RVA: 0x001976F0 File Offset: 0x001958F0
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 598692, RefRangeEnd = 598693, XrefRangeStart = 598691, XrefRangeEnd = 598692, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Dispose()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIDistortionEffect.NativeMethodInfoPtr_Dispose_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060064B6 RID: 25782 RVA: 0x00197734 File Offset: 0x00195934
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 598693, XrefRangeEnd = 598697, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe UIDistortionEffect()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<UIDistortionEffect>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIDistortionEffect.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060064B7 RID: 25783 RVA: 0x00197780 File Offset: 0x00195980
	[CallerCount(0)]
	public unsafe void _HideGlassEffect_b__6_0()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIDistortionEffect.NativeMethodInfoPtr__HideGlassEffect_b__6_0_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060064B8 RID: 25784 RVA: 0x001977C4 File Offset: 0x001959C4
	// Note: this type is marked as 'beforefieldinit'.
	static UIDistortionEffect()
	{
		Il2CppClassPointerStore<UIDistortionEffect>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "UIDistortionEffect");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<UIDistortionEffect>.NativeClassPtr);
		UIDistortionEffect.NativeFieldInfoPtr_distortionMaterial = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIDistortionEffect>.NativeClassPtr, "distortionMaterial");
		UIDistortionEffect.NativeFieldInfoPtr_urpCameraData = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIDistortionEffect>.NativeClassPtr, "urpCameraData");
		UIDistortionEffect.NativeFieldInfoPtr_intensity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIDistortionEffect>.NativeClassPtr, "intensity");
		UIDistortionEffect.NativeFieldInfoPtr_materialProcessor = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIDistortionEffect>.NativeClassPtr, "materialProcessor");
		UIDistortionEffect.NativeMethodInfoPtr_Init_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIDistortionEffect>.NativeClassPtr, 100670586);
		UIDistortionEffect.NativeMethodInfoPtr_AppearGlassEffect_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIDistortionEffect>.NativeClassPtr, 100670587);
		UIDistortionEffect.NativeMethodInfoPtr_HideGlassEffect_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIDistortionEffect>.NativeClassPtr, 100670588);
		UIDistortionEffect.NativeMethodInfoPtr_Dispose_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIDistortionEffect>.NativeClassPtr, 100670589);
		UIDistortionEffect.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIDistortionEffect>.NativeClassPtr, 100670590);
		UIDistortionEffect.NativeMethodInfoPtr__HideGlassEffect_b__6_0_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIDistortionEffect>.NativeClassPtr, 100670591);
	}

	// Token: 0x060064B9 RID: 25785 RVA: 0x0000A74C File Offset: 0x0000894C
	public UIDistortionEffect(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170022B1 RID: 8881
	// (get) Token: 0x060064BA RID: 25786 RVA: 0x001978BC File Offset: 0x00195ABC
	// (set) Token: 0x060064BB RID: 25787 RVA: 0x001978F0 File Offset: 0x00195AF0
	public unsafe Material distortionMaterial
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIDistortionEffect.NativeFieldInfoPtr_distortionMaterial);
			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(UIDistortionEffect.NativeFieldInfoPtr_distortionMaterial), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x170022B2 RID: 8882
	// (get) Token: 0x060064BC RID: 25788 RVA: 0x00197918 File Offset: 0x00195B18
	// (set) Token: 0x060064BD RID: 25789 RVA: 0x0019794C File Offset: 0x00195B4C
	public unsafe UniversalAdditionalCameraData urpCameraData
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIDistortionEffect.NativeFieldInfoPtr_urpCameraData);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new UniversalAdditionalCameraData(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIDistortionEffect.NativeFieldInfoPtr_urpCameraData), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x170022B3 RID: 8883
	// (get) Token: 0x060064BE RID: 25790 RVA: 0x00197974 File Offset: 0x00195B74
	// (set) Token: 0x060064BF RID: 25791 RVA: 0x0019799C File Offset: 0x00195B9C
	public unsafe int intensity
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIDistortionEffect.NativeFieldInfoPtr_intensity);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIDistortionEffect.NativeFieldInfoPtr_intensity)) = value;
		}
	}

	// Token: 0x170022B4 RID: 8884
	// (get) Token: 0x060064C0 RID: 25792 RVA: 0x001979C0 File Offset: 0x00195BC0
	// (set) Token: 0x060064C1 RID: 25793 RVA: 0x001979F4 File Offset: 0x00195BF4
	public unsafe Tweener materialProcessor
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIDistortionEffect.NativeFieldInfoPtr_materialProcessor);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Tweener(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIDistortionEffect.NativeFieldInfoPtr_materialProcessor), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x040042D5 RID: 17109
	private static readonly IntPtr NativeFieldInfoPtr_distortionMaterial;

	// Token: 0x040042D6 RID: 17110
	private static readonly IntPtr NativeFieldInfoPtr_urpCameraData;

	// Token: 0x040042D7 RID: 17111
	private static readonly IntPtr NativeFieldInfoPtr_intensity;

	// Token: 0x040042D8 RID: 17112
	private static readonly IntPtr NativeFieldInfoPtr_materialProcessor;

	// Token: 0x040042D9 RID: 17113
	private static readonly IntPtr NativeMethodInfoPtr_Init_Public_Void_0;

	// Token: 0x040042DA RID: 17114
	private static readonly IntPtr NativeMethodInfoPtr_AppearGlassEffect_Public_Void_0;

	// Token: 0x040042DB RID: 17115
	private static readonly IntPtr NativeMethodInfoPtr_HideGlassEffect_Public_Void_0;

	// Token: 0x040042DC RID: 17116
	private static readonly IntPtr NativeMethodInfoPtr_Dispose_Public_Void_0;

	// Token: 0x040042DD RID: 17117
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

	// Token: 0x040042DE RID: 17118
	private static readonly IntPtr NativeMethodInfoPtr__HideGlassEffect_b__6_0_Private_Void_0;
}
