using System; using System.Runtime.InteropServices; using Il2CppInterop.Common.Attributes; using Il2CppInterop.Runtime; using Il2CppSystem; namespace UnityEngine.PostProcessing { // Token: 0x0200056F RID: 1391 [Serializable] public class DepthOfFieldModel : PostProcessingModel { // Token: 0x17003327 RID: 13095 // (get) Token: 0x06009725 RID: 38693 RVA: 0x0026C90C File Offset: 0x0026AB0C // (set) Token: 0x06009726 RID: 38694 RVA: 0x0026C95C File Offset: 0x0026AB5C public unsafe DepthOfFieldModel.Settings settings { [CallerCount(0)] get { IL2CPP.Il2CppObjectBaseToPtrNotNull(this); IntPtr* ptr = null; IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DepthOfFieldModel.NativeMethodInfoPtr_get_settings_Public_get_Settings_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); return *IL2CPP.il2cpp_object_unbox(intPtr); } [CallerCount(0)] set { IL2CPP.Il2CppObjectBaseToPtrNotNull(this); checked { IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)]; *ptr = ref value; IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DepthOfFieldModel.NativeMethodInfoPtr_set_settings_Public_set_Void_Settings_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); } } } // Token: 0x06009727 RID: 38695 RVA: 0x0026C9B0 File Offset: 0x0026ABB0 [CallerCount(0)] [CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 634264, XrefRangeEnd = 634265, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] public unsafe override void Reset() { IL2CPP.Il2CppObjectBaseToPtrNotNull(this); IntPtr* ptr = null; IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), DepthOfFieldModel.NativeMethodInfoPtr_Reset_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); } // Token: 0x06009728 RID: 38696 RVA: 0x0026CA00 File Offset: 0x0026AC00 [CallerCount(1)] [CachedScanResults(RefRangeStart = 634267, RefRangeEnd = 634268, XrefRangeStart = 634265, XrefRangeEnd = 634267, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] public unsafe DepthOfFieldModel() : this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore.NativeClassPtr)) { IntPtr* ptr = null; IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DepthOfFieldModel.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); } // Token: 0x06009729 RID: 38697 RVA: 0x0026CA4C File Offset: 0x0026AC4C // Note: this type is marked as 'beforefieldinit'. static DepthOfFieldModel() { Il2CppClassPointerStore.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "UnityEngine.PostProcessing", "DepthOfFieldModel"); IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore.NativeClassPtr); DepthOfFieldModel.NativeFieldInfoPtr_m_Settings = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "m_Settings"); DepthOfFieldModel.NativeMethodInfoPtr_get_settings_Public_get_Settings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675047); DepthOfFieldModel.NativeMethodInfoPtr_set_settings_Public_set_Void_Settings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675048); DepthOfFieldModel.NativeMethodInfoPtr_Reset_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675049); DepthOfFieldModel.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675050); } // Token: 0x0600972A RID: 38698 RVA: 0x00269DA4 File Offset: 0x00267FA4 public DepthOfFieldModel(IntPtr pointer) : base(pointer) { } // Token: 0x17003326 RID: 13094 // (get) Token: 0x0600972B RID: 38699 RVA: 0x0026CAE0 File Offset: 0x0026ACE0 // (set) Token: 0x0600972C RID: 38700 RVA: 0x0026CB08 File Offset: 0x0026AD08 public unsafe DepthOfFieldModel.Settings m_Settings { get { IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfFieldModel.NativeFieldInfoPtr_m_Settings); return *intPtr; } set { *(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DepthOfFieldModel.NativeFieldInfoPtr_m_Settings)) = value; } } // Token: 0x0400652B RID: 25899 private static readonly IntPtr NativeFieldInfoPtr_m_Settings; // Token: 0x0400652C RID: 25900 private static readonly IntPtr NativeMethodInfoPtr_get_settings_Public_get_Settings_0; // Token: 0x0400652D RID: 25901 private static readonly IntPtr NativeMethodInfoPtr_set_settings_Public_set_Void_Settings_0; // Token: 0x0400652E RID: 25902 private static readonly IntPtr NativeMethodInfoPtr_Reset_Public_Virtual_Void_0; // Token: 0x0400652F RID: 25903 private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0; // Token: 0x02000570 RID: 1392 public enum KernelSize { // Token: 0x04006531 RID: 25905 Small, // Token: 0x04006532 RID: 25906 Medium, // Token: 0x04006533 RID: 25907 Large, // Token: 0x04006534 RID: 25908 VeryLarge } // Token: 0x02000571 RID: 1393 [Serializable] [StructLayout(LayoutKind.Explicit)] public struct Settings { // Token: 0x17003328 RID: 13096 // (get) Token: 0x0600972D RID: 38701 RVA: 0x0026CB2C File Offset: 0x0026AD2C public unsafe static DepthOfFieldModel.Settings defaultSettings { [CallerCount(2)] [CachedScanResults(RefRangeStart = 634262, RefRangeEnd = 634264, XrefRangeStart = 634262, XrefRangeEnd = 634262, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] get { IntPtr* ptr = null; IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DepthOfFieldModel.Settings.NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_Settings_0, 0, (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); return *IL2CPP.il2cpp_object_unbox(intPtr); } } // Token: 0x0600972E RID: 38702 RVA: 0x0026CB70 File Offset: 0x0026AD70 // Note: this type is marked as 'beforefieldinit'. static Settings() { Il2CppClassPointerStore.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore.NativeClassPtr, "Settings"); IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore.NativeClassPtr); DepthOfFieldModel.Settings.NativeFieldInfoPtr_focusDistance = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "focusDistance"); DepthOfFieldModel.Settings.NativeFieldInfoPtr_aperture = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "aperture"); DepthOfFieldModel.Settings.NativeFieldInfoPtr_focalLength = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "focalLength"); DepthOfFieldModel.Settings.NativeFieldInfoPtr_useCameraFov = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "useCameraFov"); DepthOfFieldModel.Settings.NativeFieldInfoPtr_kernelSize = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "kernelSize"); DepthOfFieldModel.Settings.NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_Settings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675051); } // Token: 0x0600972F RID: 38703 RVA: 0x0026CC13 File Offset: 0x0026AE13 public Object BoxIl2CppObject() { return new Object(IL2CPP.il2cpp_value_box(Il2CppClassPointerStore.NativeClassPtr, ref this)); } // Token: 0x04006535 RID: 25909 private static readonly IntPtr NativeFieldInfoPtr_focusDistance; // Token: 0x04006536 RID: 25910 private static readonly IntPtr NativeFieldInfoPtr_aperture; // Token: 0x04006537 RID: 25911 private static readonly IntPtr NativeFieldInfoPtr_focalLength; // Token: 0x04006538 RID: 25912 private static readonly IntPtr NativeFieldInfoPtr_useCameraFov; // Token: 0x04006539 RID: 25913 private static readonly IntPtr NativeFieldInfoPtr_kernelSize; // Token: 0x0400653A RID: 25914 private static readonly IntPtr NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_Settings_0; // Token: 0x0400653B RID: 25915 [FieldOffset(0)] public float focusDistance; // Token: 0x0400653C RID: 25916 [FieldOffset(4)] public float aperture; // Token: 0x0400653D RID: 25917 [FieldOffset(8)] public float focalLength; // Token: 0x0400653E RID: 25918 [FieldOffset(12)] [MarshalAs(UnmanagedType.U1)] public bool useCameraFov; // Token: 0x0400653F RID: 25919 [FieldOffset(16)] public DepthOfFieldModel.KernelSize kernelSize; } } }