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

// Token: 0x020002C7 RID: 711
[Serializable]
public class UIDistortionEffect : Il2CppSystem.Object
{
	// Token: 0x06005DDA RID: 24026 RVA: 0x0017AFBC File Offset: 0x001791BC
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 568107, RefRangeEnd = 568108, XrefRangeStart = 568101, XrefRangeEnd = 568107, 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: 0x06005DDB RID: 24027 RVA: 0x0017B000 File Offset: 0x00179200
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 568121, RefRangeEnd = 568123, XrefRangeStart = 568108, XrefRangeEnd = 568121, 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: 0x06005DDC RID: 24028 RVA: 0x0017B044 File Offset: 0x00179244
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 568141, RefRangeEnd = 568143, XrefRangeStart = 568123, XrefRangeEnd = 568141, 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: 0x06005DDD RID: 24029 RVA: 0x0017B088 File Offset: 0x00179288
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 568144, RefRangeEnd = 568145, XrefRangeStart = 568143, XrefRangeEnd = 568144, 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: 0x06005DDE RID: 24030 RVA: 0x0017B0CC File Offset: 0x001792CC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 568145, XrefRangeEnd = 568149, 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: 0x06005DDF RID: 24031 RVA: 0x0017B118 File Offset: 0x00179318
	[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: 0x06005DE0 RID: 24032 RVA: 0x0017B15C File Offset: 0x0017935C
	// 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, 100670010);
		UIDistortionEffect.NativeMethodInfoPtr_AppearGlassEffect_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIDistortionEffect>.NativeClassPtr, 100670011);
		UIDistortionEffect.NativeMethodInfoPtr_HideGlassEffect_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIDistortionEffect>.NativeClassPtr, 100670012);
		UIDistortionEffect.NativeMethodInfoPtr_Dispose_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIDistortionEffect>.NativeClassPtr, 100670013);
		UIDistortionEffect.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIDistortionEffect>.NativeClassPtr, 100670014);
		UIDistortionEffect.NativeMethodInfoPtr__HideGlassEffect_b__6_0_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIDistortionEffect>.NativeClassPtr, 100670015);
	}

	// Token: 0x06005DE1 RID: 24033 RVA: 0x0000A688 File Offset: 0x00008888
	public UIDistortionEffect(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17002097 RID: 8343
	// (get) Token: 0x06005DE2 RID: 24034 RVA: 0x0017B254 File Offset: 0x00179454
	// (set) Token: 0x06005DE3 RID: 24035 RVA: 0x0017B288 File Offset: 0x00179488
	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: 0x17002098 RID: 8344
	// (get) Token: 0x06005DE4 RID: 24036 RVA: 0x0017B2B0 File Offset: 0x001794B0
	// (set) Token: 0x06005DE5 RID: 24037 RVA: 0x0017B2E4 File Offset: 0x001794E4
	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: 0x17002099 RID: 8345
	// (get) Token: 0x06005DE6 RID: 24038 RVA: 0x0017B30C File Offset: 0x0017950C
	// (set) Token: 0x06005DE7 RID: 24039 RVA: 0x0017B334 File Offset: 0x00179534
	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: 0x1700209A RID: 8346
	// (get) Token: 0x06005DE8 RID: 24040 RVA: 0x0017B358 File Offset: 0x00179558
	// (set) Token: 0x06005DE9 RID: 24041 RVA: 0x0017B38C File Offset: 0x0017958C
	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: 0x04003E27 RID: 15911
	private static readonly IntPtr NativeFieldInfoPtr_distortionMaterial;

	// Token: 0x04003E28 RID: 15912
	private static readonly IntPtr NativeFieldInfoPtr_urpCameraData;

	// Token: 0x04003E29 RID: 15913
	private static readonly IntPtr NativeFieldInfoPtr_intensity;

	// Token: 0x04003E2A RID: 15914
	private static readonly IntPtr NativeFieldInfoPtr_materialProcessor;

	// Token: 0x04003E2B RID: 15915
	private static readonly IntPtr NativeMethodInfoPtr_Init_Public_Void_0;

	// Token: 0x04003E2C RID: 15916
	private static readonly IntPtr NativeMethodInfoPtr_AppearGlassEffect_Public_Void_0;

	// Token: 0x04003E2D RID: 15917
	private static readonly IntPtr NativeMethodInfoPtr_HideGlassEffect_Public_Void_0;

	// Token: 0x04003E2E RID: 15918
	private static readonly IntPtr NativeMethodInfoPtr_Dispose_Public_Void_0;

	// Token: 0x04003E2F RID: 15919
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

	// Token: 0x04003E30 RID: 15920
	private static readonly IntPtr NativeMethodInfoPtr__HideGlassEffect_b__6_0_Private_Void_0;
}
