191 lines
8.3 KiB
C#
191 lines
8.3 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using Il2CppSystem;
|
|
|
|
namespace UnityEngine.PostProcessing
|
|
{
|
|
// Token: 0x02000579 RID: 1401
|
|
[Serializable]
|
|
public class GrainModel : PostProcessingModel
|
|
{
|
|
// Token: 0x17003333 RID: 13107
|
|
// (get) Token: 0x06009751 RID: 38737 RVA: 0x0026D530 File Offset: 0x0026B730
|
|
// (set) Token: 0x06009752 RID: 38738 RVA: 0x0026D580 File Offset: 0x0026B780
|
|
public unsafe GrainModel.Settings settings
|
|
{
|
|
[CallerCount(0)]
|
|
get
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GrainModel.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(GrainModel.NativeMethodInfoPtr_set_settings_Public_set_Void_Settings_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06009753 RID: 38739 RVA: 0x0026D5D4 File Offset: 0x0026B7D4
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 634284, XrefRangeEnd = 634285, 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), GrainModel.NativeMethodInfoPtr_Reset_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06009754 RID: 38740 RVA: 0x0026D624 File Offset: 0x0026B824
|
|
[CallerCount(1)]
|
|
[CachedScanResults(RefRangeStart = 634287, RefRangeEnd = 634288, XrefRangeStart = 634285, XrefRangeEnd = 634287, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe GrainModel()
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<GrainModel>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GrainModel.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06009755 RID: 38741 RVA: 0x0026D670 File Offset: 0x0026B870
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static GrainModel()
|
|
{
|
|
Il2CppClassPointerStore<GrainModel>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "UnityEngine.PostProcessing", "GrainModel");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<GrainModel>.NativeClassPtr);
|
|
GrainModel.NativeFieldInfoPtr_m_Settings = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GrainModel>.NativeClassPtr, "m_Settings");
|
|
GrainModel.NativeMethodInfoPtr_get_settings_Public_get_Settings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GrainModel>.NativeClassPtr, 100675067);
|
|
GrainModel.NativeMethodInfoPtr_set_settings_Public_set_Void_Settings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GrainModel>.NativeClassPtr, 100675068);
|
|
GrainModel.NativeMethodInfoPtr_Reset_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GrainModel>.NativeClassPtr, 100675069);
|
|
GrainModel.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GrainModel>.NativeClassPtr, 100675070);
|
|
}
|
|
|
|
// Token: 0x06009756 RID: 38742 RVA: 0x00269DA4 File Offset: 0x00267FA4
|
|
public GrainModel(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17003332 RID: 13106
|
|
// (get) Token: 0x06009757 RID: 38743 RVA: 0x0026D704 File Offset: 0x0026B904
|
|
// (set) Token: 0x06009758 RID: 38744 RVA: 0x0026D72C File Offset: 0x0026B92C
|
|
public unsafe GrainModel.Settings m_Settings
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GrainModel.NativeFieldInfoPtr_m_Settings);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GrainModel.NativeFieldInfoPtr_m_Settings)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400656D RID: 25965
|
|
private static readonly IntPtr NativeFieldInfoPtr_m_Settings;
|
|
|
|
// Token: 0x0400656E RID: 25966
|
|
private static readonly IntPtr NativeMethodInfoPtr_get_settings_Public_get_Settings_0;
|
|
|
|
// Token: 0x0400656F RID: 25967
|
|
private static readonly IntPtr NativeMethodInfoPtr_set_settings_Public_set_Void_Settings_0;
|
|
|
|
// Token: 0x04006570 RID: 25968
|
|
private static readonly IntPtr NativeMethodInfoPtr_Reset_Public_Virtual_Void_0;
|
|
|
|
// Token: 0x04006571 RID: 25969
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
|
|
|
|
// Token: 0x0200057A RID: 1402
|
|
[Serializable]
|
|
[StructLayout(LayoutKind.Explicit)]
|
|
public struct Settings
|
|
{
|
|
// Token: 0x17003334 RID: 13108
|
|
// (get) Token: 0x06009759 RID: 38745 RVA: 0x0026D750 File Offset: 0x0026B950
|
|
public unsafe static GrainModel.Settings defaultSettings
|
|
{
|
|
[CallerCount(2)]
|
|
[CachedScanResults(RefRangeStart = 634282, RefRangeEnd = 634284, XrefRangeStart = 634282, XrefRangeEnd = 634282, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
get
|
|
{
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GrainModel.Settings.NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_Settings_0, 0, (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600975A RID: 38746 RVA: 0x0026D794 File Offset: 0x0026B994
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static Settings()
|
|
{
|
|
Il2CppClassPointerStore<GrainModel.Settings>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<GrainModel>.NativeClassPtr, "Settings");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<GrainModel.Settings>.NativeClassPtr);
|
|
GrainModel.Settings.NativeFieldInfoPtr_colored = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GrainModel.Settings>.NativeClassPtr, "colored");
|
|
GrainModel.Settings.NativeFieldInfoPtr_intensity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GrainModel.Settings>.NativeClassPtr, "intensity");
|
|
GrainModel.Settings.NativeFieldInfoPtr_size = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GrainModel.Settings>.NativeClassPtr, "size");
|
|
GrainModel.Settings.NativeFieldInfoPtr_luminanceContribution = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GrainModel.Settings>.NativeClassPtr, "luminanceContribution");
|
|
GrainModel.Settings.NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_Settings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GrainModel.Settings>.NativeClassPtr, 100675071);
|
|
}
|
|
|
|
// Token: 0x0600975B RID: 38747 RVA: 0x0026D823 File Offset: 0x0026BA23
|
|
public Object BoxIl2CppObject()
|
|
{
|
|
return new Object(IL2CPP.il2cpp_value_box(Il2CppClassPointerStore<GrainModel.Settings>.NativeClassPtr, ref this));
|
|
}
|
|
|
|
// Token: 0x04006572 RID: 25970
|
|
private static readonly IntPtr NativeFieldInfoPtr_colored;
|
|
|
|
// Token: 0x04006573 RID: 25971
|
|
private static readonly IntPtr NativeFieldInfoPtr_intensity;
|
|
|
|
// Token: 0x04006574 RID: 25972
|
|
private static readonly IntPtr NativeFieldInfoPtr_size;
|
|
|
|
// Token: 0x04006575 RID: 25973
|
|
private static readonly IntPtr NativeFieldInfoPtr_luminanceContribution;
|
|
|
|
// Token: 0x04006576 RID: 25974
|
|
private static readonly IntPtr NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_Settings_0;
|
|
|
|
// Token: 0x04006577 RID: 25975
|
|
[FieldOffset(0)]
|
|
[MarshalAs(UnmanagedType.U1)]
|
|
public bool colored;
|
|
|
|
// Token: 0x04006578 RID: 25976
|
|
[FieldOffset(4)]
|
|
public float intensity;
|
|
|
|
// Token: 0x04006579 RID: 25977
|
|
[FieldOffset(8)]
|
|
public float size;
|
|
|
|
// Token: 0x0400657A RID: 25978
|
|
[FieldOffset(12)]
|
|
public float luminanceContribution;
|
|
}
|
|
}
|
|
}
|