Files
NobetaSource/Interop/Assembly-CSharp/UnityEngine/PostProcessing/BuiltinDebugViewsModel.cs
2023-09-06 22:09:22 +02:00

383 lines
18 KiB
C#

using System;
using System.Runtime.InteropServices;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppSystem;
namespace UnityEngine.PostProcessing
{
// Token: 0x0200055D RID: 1373
[Serializable]
public class BuiltinDebugViewsModel : PostProcessingModel
{
// Token: 0x170032FC RID: 13052
// (get) Token: 0x060096B3 RID: 38579 RVA: 0x0026AC54 File Offset: 0x00268E54
// (set) Token: 0x060096B4 RID: 38580 RVA: 0x0026ACA4 File Offset: 0x00268EA4
public unsafe BuiltinDebugViewsModel.Settings settings
{
[CallerCount(0)]
get
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(BuiltinDebugViewsModel.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(BuiltinDebugViewsModel.NativeMethodInfoPtr_set_settings_Public_set_Void_Settings_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
}
}
// Token: 0x170032FD RID: 13053
// (get) Token: 0x060096B5 RID: 38581 RVA: 0x0026ACF8 File Offset: 0x00268EF8
public unsafe bool willInterrupt
{
[CallerCount(2)]
[CachedScanResults(RefRangeStart = 634137, RefRangeEnd = 634139, XrefRangeStart = 634137, XrefRangeEnd = 634137, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
get
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(BuiltinDebugViewsModel.NativeMethodInfoPtr_get_willInterrupt_Public_get_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
return *IL2CPP.il2cpp_object_unbox(intPtr);
}
}
// Token: 0x060096B6 RID: 38582 RVA: 0x0026AD48 File Offset: 0x00268F48
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 634139, XrefRangeEnd = 634140, 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), BuiltinDebugViewsModel.NativeMethodInfoPtr_Reset_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x060096B7 RID: 38583 RVA: 0x0026AD98 File Offset: 0x00268F98
[CallerCount(6)]
[CachedScanResults(RefRangeStart = 634140, RefRangeEnd = 634146, XrefRangeStart = 634140, XrefRangeEnd = 634140, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe bool IsModeActive(BuiltinDebugViewsModel.Mode mode)
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
checked
{
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
*ptr = ref mode;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(BuiltinDebugViewsModel.NativeMethodInfoPtr_IsModeActive_Public_Boolean_Mode_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
return *IL2CPP.il2cpp_object_unbox(intPtr);
}
}
// Token: 0x060096B8 RID: 38584 RVA: 0x0026ADFC File Offset: 0x00268FFC
[CallerCount(1)]
[CachedScanResults(RefRangeStart = 634148, RefRangeEnd = 634149, XrefRangeStart = 634146, XrefRangeEnd = 634148, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe BuiltinDebugViewsModel()
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<BuiltinDebugViewsModel>.NativeClassPtr))
{
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(BuiltinDebugViewsModel.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x060096B9 RID: 38585 RVA: 0x0026AE48 File Offset: 0x00269048
// Note: this type is marked as 'beforefieldinit'.
static BuiltinDebugViewsModel()
{
Il2CppClassPointerStore<BuiltinDebugViewsModel>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "UnityEngine.PostProcessing", "BuiltinDebugViewsModel");
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<BuiltinDebugViewsModel>.NativeClassPtr);
BuiltinDebugViewsModel.NativeFieldInfoPtr_m_Settings = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BuiltinDebugViewsModel>.NativeClassPtr, "m_Settings");
BuiltinDebugViewsModel.NativeMethodInfoPtr_get_settings_Public_get_Settings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BuiltinDebugViewsModel>.NativeClassPtr, 100675016);
BuiltinDebugViewsModel.NativeMethodInfoPtr_set_settings_Public_set_Void_Settings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BuiltinDebugViewsModel>.NativeClassPtr, 100675017);
BuiltinDebugViewsModel.NativeMethodInfoPtr_get_willInterrupt_Public_get_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BuiltinDebugViewsModel>.NativeClassPtr, 100675018);
BuiltinDebugViewsModel.NativeMethodInfoPtr_Reset_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BuiltinDebugViewsModel>.NativeClassPtr, 100675019);
BuiltinDebugViewsModel.NativeMethodInfoPtr_IsModeActive_Public_Boolean_Mode_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BuiltinDebugViewsModel>.NativeClassPtr, 100675020);
BuiltinDebugViewsModel.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BuiltinDebugViewsModel>.NativeClassPtr, 100675021);
}
// Token: 0x060096BA RID: 38586 RVA: 0x00269DA4 File Offset: 0x00267FA4
public BuiltinDebugViewsModel(IntPtr pointer)
: base(pointer)
{
}
// Token: 0x170032FB RID: 13051
// (get) Token: 0x060096BB RID: 38587 RVA: 0x0026AF04 File Offset: 0x00269104
// (set) Token: 0x060096BC RID: 38588 RVA: 0x0026AF2C File Offset: 0x0026912C
public unsafe BuiltinDebugViewsModel.Settings m_Settings
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BuiltinDebugViewsModel.NativeFieldInfoPtr_m_Settings);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BuiltinDebugViewsModel.NativeFieldInfoPtr_m_Settings)) = value;
}
}
// Token: 0x04006499 RID: 25753
private static readonly IntPtr NativeFieldInfoPtr_m_Settings;
// Token: 0x0400649A RID: 25754
private static readonly IntPtr NativeMethodInfoPtr_get_settings_Public_get_Settings_0;
// Token: 0x0400649B RID: 25755
private static readonly IntPtr NativeMethodInfoPtr_set_settings_Public_set_Void_Settings_0;
// Token: 0x0400649C RID: 25756
private static readonly IntPtr NativeMethodInfoPtr_get_willInterrupt_Public_get_Boolean_0;
// Token: 0x0400649D RID: 25757
private static readonly IntPtr NativeMethodInfoPtr_Reset_Public_Virtual_Void_0;
// Token: 0x0400649E RID: 25758
private static readonly IntPtr NativeMethodInfoPtr_IsModeActive_Public_Boolean_Mode_0;
// Token: 0x0400649F RID: 25759
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
// Token: 0x0200055E RID: 1374
[Serializable]
[StructLayout(LayoutKind.Explicit)]
public struct DepthSettings
{
// Token: 0x170032FE RID: 13054
// (get) Token: 0x060096BD RID: 38589 RVA: 0x0026AF50 File Offset: 0x00269150
public unsafe static BuiltinDebugViewsModel.DepthSettings defaultSettings
{
[CallerCount(0)]
get
{
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(BuiltinDebugViewsModel.DepthSettings.NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_DepthSettings_0, 0, (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
return *IL2CPP.il2cpp_object_unbox(intPtr);
}
}
// Token: 0x060096BE RID: 38590 RVA: 0x0026AF94 File Offset: 0x00269194
// Note: this type is marked as 'beforefieldinit'.
static DepthSettings()
{
Il2CppClassPointerStore<BuiltinDebugViewsModel.DepthSettings>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<BuiltinDebugViewsModel>.NativeClassPtr, "DepthSettings");
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<BuiltinDebugViewsModel.DepthSettings>.NativeClassPtr);
BuiltinDebugViewsModel.DepthSettings.NativeFieldInfoPtr_scale = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BuiltinDebugViewsModel.DepthSettings>.NativeClassPtr, "scale");
BuiltinDebugViewsModel.DepthSettings.NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_DepthSettings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BuiltinDebugViewsModel.DepthSettings>.NativeClassPtr, 100675022);
}
// Token: 0x060096BF RID: 38591 RVA: 0x0026AFE7 File Offset: 0x002691E7
public Object BoxIl2CppObject()
{
return new Object(IL2CPP.il2cpp_value_box(Il2CppClassPointerStore<BuiltinDebugViewsModel.DepthSettings>.NativeClassPtr, ref this));
}
// Token: 0x040064A0 RID: 25760
private static readonly IntPtr NativeFieldInfoPtr_scale;
// Token: 0x040064A1 RID: 25761
private static readonly IntPtr NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_DepthSettings_0;
// Token: 0x040064A2 RID: 25762
[FieldOffset(0)]
public float scale;
}
// Token: 0x0200055F RID: 1375
[Serializable]
[StructLayout(LayoutKind.Explicit)]
public struct MotionVectorsSettings
{
// Token: 0x170032FF RID: 13055
// (get) Token: 0x060096C0 RID: 38592 RVA: 0x0026AFFC File Offset: 0x002691FC
public unsafe static BuiltinDebugViewsModel.MotionVectorsSettings defaultSettings
{
[CallerCount(0)]
get
{
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(BuiltinDebugViewsModel.MotionVectorsSettings.NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_MotionVectorsSettings_0, 0, (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
return *IL2CPP.il2cpp_object_unbox(intPtr);
}
}
// Token: 0x060096C1 RID: 38593 RVA: 0x0026B040 File Offset: 0x00269240
// Note: this type is marked as 'beforefieldinit'.
static MotionVectorsSettings()
{
Il2CppClassPointerStore<BuiltinDebugViewsModel.MotionVectorsSettings>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<BuiltinDebugViewsModel>.NativeClassPtr, "MotionVectorsSettings");
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<BuiltinDebugViewsModel.MotionVectorsSettings>.NativeClassPtr);
BuiltinDebugViewsModel.MotionVectorsSettings.NativeFieldInfoPtr_sourceOpacity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BuiltinDebugViewsModel.MotionVectorsSettings>.NativeClassPtr, "sourceOpacity");
BuiltinDebugViewsModel.MotionVectorsSettings.NativeFieldInfoPtr_motionImageOpacity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BuiltinDebugViewsModel.MotionVectorsSettings>.NativeClassPtr, "motionImageOpacity");
BuiltinDebugViewsModel.MotionVectorsSettings.NativeFieldInfoPtr_motionImageAmplitude = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BuiltinDebugViewsModel.MotionVectorsSettings>.NativeClassPtr, "motionImageAmplitude");
BuiltinDebugViewsModel.MotionVectorsSettings.NativeFieldInfoPtr_motionVectorsOpacity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BuiltinDebugViewsModel.MotionVectorsSettings>.NativeClassPtr, "motionVectorsOpacity");
BuiltinDebugViewsModel.MotionVectorsSettings.NativeFieldInfoPtr_motionVectorsResolution = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BuiltinDebugViewsModel.MotionVectorsSettings>.NativeClassPtr, "motionVectorsResolution");
BuiltinDebugViewsModel.MotionVectorsSettings.NativeFieldInfoPtr_motionVectorsAmplitude = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BuiltinDebugViewsModel.MotionVectorsSettings>.NativeClassPtr, "motionVectorsAmplitude");
BuiltinDebugViewsModel.MotionVectorsSettings.NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_MotionVectorsSettings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BuiltinDebugViewsModel.MotionVectorsSettings>.NativeClassPtr, 100675023);
}
// Token: 0x060096C2 RID: 38594 RVA: 0x0026B0F7 File Offset: 0x002692F7
public Object BoxIl2CppObject()
{
return new Object(IL2CPP.il2cpp_value_box(Il2CppClassPointerStore<BuiltinDebugViewsModel.MotionVectorsSettings>.NativeClassPtr, ref this));
}
// Token: 0x040064A3 RID: 25763
private static readonly IntPtr NativeFieldInfoPtr_sourceOpacity;
// Token: 0x040064A4 RID: 25764
private static readonly IntPtr NativeFieldInfoPtr_motionImageOpacity;
// Token: 0x040064A5 RID: 25765
private static readonly IntPtr NativeFieldInfoPtr_motionImageAmplitude;
// Token: 0x040064A6 RID: 25766
private static readonly IntPtr NativeFieldInfoPtr_motionVectorsOpacity;
// Token: 0x040064A7 RID: 25767
private static readonly IntPtr NativeFieldInfoPtr_motionVectorsResolution;
// Token: 0x040064A8 RID: 25768
private static readonly IntPtr NativeFieldInfoPtr_motionVectorsAmplitude;
// Token: 0x040064A9 RID: 25769
private static readonly IntPtr NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_MotionVectorsSettings_0;
// Token: 0x040064AA RID: 25770
[FieldOffset(0)]
public float sourceOpacity;
// Token: 0x040064AB RID: 25771
[FieldOffset(4)]
public float motionImageOpacity;
// Token: 0x040064AC RID: 25772
[FieldOffset(8)]
public float motionImageAmplitude;
// Token: 0x040064AD RID: 25773
[FieldOffset(12)]
public float motionVectorsOpacity;
// Token: 0x040064AE RID: 25774
[FieldOffset(16)]
public int motionVectorsResolution;
// Token: 0x040064AF RID: 25775
[FieldOffset(20)]
public float motionVectorsAmplitude;
}
// Token: 0x02000560 RID: 1376
public enum Mode
{
// Token: 0x040064B1 RID: 25777
None,
// Token: 0x040064B2 RID: 25778
Depth,
// Token: 0x040064B3 RID: 25779
Normals,
// Token: 0x040064B4 RID: 25780
MotionVectors,
// Token: 0x040064B5 RID: 25781
AmbientOcclusion,
// Token: 0x040064B6 RID: 25782
EyeAdaptation,
// Token: 0x040064B7 RID: 25783
FocusPlane,
// Token: 0x040064B8 RID: 25784
PreGradingLog,
// Token: 0x040064B9 RID: 25785
LogLut,
// Token: 0x040064BA RID: 25786
UserLut
}
// Token: 0x02000561 RID: 1377
[Serializable]
[StructLayout(LayoutKind.Explicit)]
public struct Settings
{
// Token: 0x17003300 RID: 13056
// (get) Token: 0x060096C3 RID: 38595 RVA: 0x0026B10C File Offset: 0x0026930C
public unsafe static BuiltinDebugViewsModel.Settings defaultSettings
{
[CallerCount(2)]
[CachedScanResults(RefRangeStart = 634135, RefRangeEnd = 634137, XrefRangeStart = 634135, XrefRangeEnd = 634135, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
get
{
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(BuiltinDebugViewsModel.Settings.NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_Settings_0, 0, (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
return *IL2CPP.il2cpp_object_unbox(intPtr);
}
}
// Token: 0x060096C4 RID: 38596 RVA: 0x0026B150 File Offset: 0x00269350
// Note: this type is marked as 'beforefieldinit'.
static Settings()
{
Il2CppClassPointerStore<BuiltinDebugViewsModel.Settings>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<BuiltinDebugViewsModel>.NativeClassPtr, "Settings");
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<BuiltinDebugViewsModel.Settings>.NativeClassPtr);
BuiltinDebugViewsModel.Settings.NativeFieldInfoPtr_mode = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BuiltinDebugViewsModel.Settings>.NativeClassPtr, "mode");
BuiltinDebugViewsModel.Settings.NativeFieldInfoPtr_depth = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BuiltinDebugViewsModel.Settings>.NativeClassPtr, "depth");
BuiltinDebugViewsModel.Settings.NativeFieldInfoPtr_motionVectors = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BuiltinDebugViewsModel.Settings>.NativeClassPtr, "motionVectors");
BuiltinDebugViewsModel.Settings.NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_Settings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BuiltinDebugViewsModel.Settings>.NativeClassPtr, 100675024);
}
// Token: 0x060096C5 RID: 38597 RVA: 0x0026B1CB File Offset: 0x002693CB
public Object BoxIl2CppObject()
{
return new Object(IL2CPP.il2cpp_value_box(Il2CppClassPointerStore<BuiltinDebugViewsModel.Settings>.NativeClassPtr, ref this));
}
// Token: 0x040064BB RID: 25787
private static readonly IntPtr NativeFieldInfoPtr_mode;
// Token: 0x040064BC RID: 25788
private static readonly IntPtr NativeFieldInfoPtr_depth;
// Token: 0x040064BD RID: 25789
private static readonly IntPtr NativeFieldInfoPtr_motionVectors;
// Token: 0x040064BE RID: 25790
private static readonly IntPtr NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_Settings_0;
// Token: 0x040064BF RID: 25791
[FieldOffset(0)]
public BuiltinDebugViewsModel.Mode mode;
// Token: 0x040064C0 RID: 25792
[FieldOffset(4)]
public BuiltinDebugViewsModel.DepthSettings depth;
// Token: 0x040064C1 RID: 25793
[FieldOffset(8)]
public BuiltinDebugViewsModel.MotionVectorsSettings motionVectors;
}
}
}