using System; using System.Runtime.InteropServices; using Il2CppInterop.Common.Attributes; using Il2CppInterop.Runtime; using Il2CppSystem; namespace UnityEngine.PostProcessing { // Token: 0x02000569 RID: 1385 [Serializable] public class DitheringModel : PostProcessingModel { // Token: 0x170032F8 RID: 13048 // (get) Token: 0x06009680 RID: 38528 RVA: 0x0026A024 File Offset: 0x00268224 // (set) Token: 0x06009681 RID: 38529 RVA: 0x0026A074 File Offset: 0x00268274 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: 0x06009682 RID: 38530 RVA: 0x0026A0C8 File Offset: 0x002682C8 [CallerCount(0)] [CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616537, XrefRangeEnd = 616538, 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: 0x06009683 RID: 38531 RVA: 0x0026A118 File Offset: 0x00268318 [CallerCount(1)] [CachedScanResults(RefRangeStart = 616540, RefRangeEnd = 616541, XrefRangeStart = 616538, XrefRangeEnd = 616540, 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: 0x06009684 RID: 38532 RVA: 0x0026A164 File Offset: 0x00268364 // 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, 100675002); DitheringModel.NativeMethodInfoPtr_set_settings_Public_set_Void_Settings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675003); DitheringModel.NativeMethodInfoPtr_Reset_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675004); DitheringModel.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675005); } // Token: 0x06009685 RID: 38533 RVA: 0x002671A0 File Offset: 0x002653A0 public DitheringModel(IntPtr pointer) : base(pointer) { } // Token: 0x170032F7 RID: 13047 // (get) Token: 0x06009686 RID: 38534 RVA: 0x0026A1F8 File Offset: 0x002683F8 // (set) Token: 0x06009687 RID: 38535 RVA: 0x0026A220 File Offset: 0x00268420 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: 0x040064CC RID: 25804 private static readonly IntPtr NativeFieldInfoPtr_m_Settings; // Token: 0x040064CD RID: 25805 private static readonly IntPtr NativeMethodInfoPtr_get_settings_Public_get_Settings_0; // Token: 0x040064CE RID: 25806 private static readonly IntPtr NativeMethodInfoPtr_set_settings_Public_set_Void_Settings_0; // Token: 0x040064CF RID: 25807 private static readonly IntPtr NativeMethodInfoPtr_Reset_Public_Virtual_Void_0; // Token: 0x040064D0 RID: 25808 private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0; // Token: 0x0200056A RID: 1386 [Serializable] [StructLayout(LayoutKind.Explicit)] public struct Settings { // Token: 0x170032F9 RID: 13049 // (get) Token: 0x06009688 RID: 38536 RVA: 0x0026A244 File Offset: 0x00268444 public unsafe static DitheringModel.Settings defaultSettings { [CallerCount(87)] [CachedScanResults(RefRangeStart = 20818, RefRangeEnd = 20905, XrefRangeStart = 20818, XrefRangeEnd = 20905, 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: 0x06009689 RID: 38537 RVA: 0x0026A285 File Offset: 0x00268485 // 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, 100675006); } // Token: 0x0600968A RID: 38538 RVA: 0x0026A2B9 File Offset: 0x002684B9 public Object BoxIl2CppObject() { return new Object(IL2CPP.il2cpp_value_box(Il2CppClassPointerStore.NativeClassPtr, ref this)); } // Token: 0x040064D1 RID: 25809 private static readonly IntPtr NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_Settings_0; } } }