using System; using System.Runtime.InteropServices; using Il2CppInterop.Common.Attributes; using Il2CppInterop.Runtime; using Il2CppSystem; namespace UnityEngine.PostProcessing { // Token: 0x02000572 RID: 1394 [Serializable] public class DitheringModel : PostProcessingModel { // Token: 0x1700332A RID: 13098 // (get) Token: 0x06009730 RID: 38704 RVA: 0x0026CC28 File Offset: 0x0026AE28 // (set) Token: 0x06009731 RID: 38705 RVA: 0x0026CC78 File Offset: 0x0026AE78 public unsafe DitheringModel.Settings settings { [CallerCount(0)] get { IL2CPP.Il2CppObjectBaseToPtrNotNull(this); IntPtr* ptr = null; IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DitheringModel.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(DitheringModel.NativeMethodInfoPtr_set_settings_Public_set_Void_Settings_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); } } } // Token: 0x06009732 RID: 38706 RVA: 0x0026CCCC File Offset: 0x0026AECC [CallerCount(0)] [CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 634268, XrefRangeEnd = 634269, 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), DitheringModel.NativeMethodInfoPtr_Reset_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); } // Token: 0x06009733 RID: 38707 RVA: 0x0026CD1C File Offset: 0x0026AF1C [CallerCount(1)] [CachedScanResults(RefRangeStart = 634271, RefRangeEnd = 634272, XrefRangeStart = 634269, XrefRangeEnd = 634271, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] public unsafe DitheringModel() : this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore.NativeClassPtr)) { IntPtr* ptr = null; IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DitheringModel.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); } // Token: 0x06009734 RID: 38708 RVA: 0x0026CD68 File Offset: 0x0026AF68 // Note: this type is marked as 'beforefieldinit'. static DitheringModel() { Il2CppClassPointerStore.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "UnityEngine.PostProcessing", "DitheringModel"); IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore.NativeClassPtr); DitheringModel.NativeFieldInfoPtr_m_Settings = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "m_Settings"); DitheringModel.NativeMethodInfoPtr_get_settings_Public_get_Settings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675052); DitheringModel.NativeMethodInfoPtr_set_settings_Public_set_Void_Settings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675053); DitheringModel.NativeMethodInfoPtr_Reset_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675054); DitheringModel.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675055); } // Token: 0x06009735 RID: 38709 RVA: 0x00269DA4 File Offset: 0x00267FA4 public DitheringModel(IntPtr pointer) : base(pointer) { } // Token: 0x17003329 RID: 13097 // (get) Token: 0x06009736 RID: 38710 RVA: 0x0026CDFC File Offset: 0x0026AFFC // (set) Token: 0x06009737 RID: 38711 RVA: 0x0026CE24 File Offset: 0x0026B024 public unsafe DitheringModel.Settings m_Settings { get { IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DitheringModel.NativeFieldInfoPtr_m_Settings); return *intPtr; } set { *(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DitheringModel.NativeFieldInfoPtr_m_Settings)) = value; } } // Token: 0x04006540 RID: 25920 private static readonly IntPtr NativeFieldInfoPtr_m_Settings; // Token: 0x04006541 RID: 25921 private static readonly IntPtr NativeMethodInfoPtr_get_settings_Public_get_Settings_0; // Token: 0x04006542 RID: 25922 private static readonly IntPtr NativeMethodInfoPtr_set_settings_Public_set_Void_Settings_0; // Token: 0x04006543 RID: 25923 private static readonly IntPtr NativeMethodInfoPtr_Reset_Public_Virtual_Void_0; // Token: 0x04006544 RID: 25924 private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0; // Token: 0x02000573 RID: 1395 [Serializable] [StructLayout(LayoutKind.Explicit)] public struct Settings { // Token: 0x1700332B RID: 13099 // (get) Token: 0x06009738 RID: 38712 RVA: 0x0026CE48 File Offset: 0x0026B048 public unsafe static DitheringModel.Settings defaultSettings { [CallerCount(87)] [CachedScanResults(RefRangeStart = 20575, RefRangeEnd = 20662, XrefRangeStart = 20575, XrefRangeEnd = 20662, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] get { IntPtr* ptr = null; IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DitheringModel.Settings.NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_Settings_0, 0, (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); return *IL2CPP.il2cpp_object_unbox(intPtr); } } // Token: 0x06009739 RID: 38713 RVA: 0x0026CE89 File Offset: 0x0026B089 // Note: this type is marked as 'beforefieldinit'. static Settings() { Il2CppClassPointerStore.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore.NativeClassPtr, "Settings"); IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore.NativeClassPtr); DitheringModel.Settings.NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_Settings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675056); } // Token: 0x0600973A RID: 38714 RVA: 0x0026CEBD File Offset: 0x0026B0BD public Object BoxIl2CppObject() { return new Object(IL2CPP.il2cpp_value_box(Il2CppClassPointerStore.NativeClassPtr, ref this)); } // Token: 0x04006545 RID: 25925 private static readonly IntPtr NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_Settings_0; } } }