150 lines
8.1 KiB
C#
150 lines
8.1 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using Il2CppSystem;
|
|
|
|
namespace UnityEngine.PostProcessing
|
|
{
|
|
// Token: 0x02000590 RID: 1424
|
|
public class PostProcessingComponentBase : Object
|
|
{
|
|
// Token: 0x060097F9 RID: 38905 RVA: 0x0027000C File Offset: 0x0026E20C
|
|
[CallerCount(28)]
|
|
[CachedScanResults(RefRangeStart = 16328, RefRangeEnd = 16356, XrefRangeStart = 16328, XrefRangeEnd = 16356, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe virtual DepthTextureMode GetCameraFlags()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), PostProcessingComponentBase.NativeMethodInfoPtr_GetCameraFlags_Public_Virtual_New_DepthTextureMode_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
|
|
// Token: 0x1700336A RID: 13162
|
|
// (get) Token: 0x060097FA RID: 38906 RVA: 0x00270068 File Offset: 0x0026E268
|
|
public unsafe virtual bool active
|
|
{
|
|
[CallerCount(0)]
|
|
get
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), PostProcessingComponentBase.NativeMethodInfoPtr_get_active_Public_Abstract_Virtual_New_get_Boolean_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060097FB RID: 38907 RVA: 0x002700C4 File Offset: 0x0026E2C4
|
|
[CallerCount(5802)]
|
|
[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5826, XrefRangeStart = 24, XrefRangeEnd = 5826, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe virtual void OnEnable()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), PostProcessingComponentBase.NativeMethodInfoPtr_OnEnable_Public_Virtual_New_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x060097FC RID: 38908 RVA: 0x00270114 File Offset: 0x0026E314
|
|
[CallerCount(5802)]
|
|
[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5826, XrefRangeStart = 24, XrefRangeEnd = 5826, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe virtual void OnDisable()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), PostProcessingComponentBase.NativeMethodInfoPtr_OnDisable_Public_Virtual_New_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x060097FD RID: 38909 RVA: 0x00270164 File Offset: 0x0026E364
|
|
[CallerCount(0)]
|
|
public unsafe virtual PostProcessingModel GetModel()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), PostProcessingComponentBase.NativeMethodInfoPtr_GetModel_Public_Abstract_Virtual_New_PostProcessingModel_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
IntPtr intPtr3 = intPtr;
|
|
return (intPtr3 != 0) ? new PostProcessingModel(intPtr3) : null;
|
|
}
|
|
|
|
// Token: 0x060097FE RID: 38910 RVA: 0x002701C8 File Offset: 0x0026E3C8
|
|
[CallerCount(1659)]
|
|
[CachedScanResults(RefRangeStart = 7639, RefRangeEnd = 9298, XrefRangeStart = 7639, XrefRangeEnd = 9298, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe PostProcessingComponentBase()
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<PostProcessingComponentBase>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PostProcessingComponentBase.NativeMethodInfoPtr__ctor_Protected_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x060097FF RID: 38911 RVA: 0x00270214 File Offset: 0x0026E414
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static PostProcessingComponentBase()
|
|
{
|
|
Il2CppClassPointerStore<PostProcessingComponentBase>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "UnityEngine.PostProcessing", "PostProcessingComponentBase");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<PostProcessingComponentBase>.NativeClassPtr);
|
|
PostProcessingComponentBase.NativeFieldInfoPtr_context = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PostProcessingComponentBase>.NativeClassPtr, "context");
|
|
PostProcessingComponentBase.NativeMethodInfoPtr_GetCameraFlags_Public_Virtual_New_DepthTextureMode_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentBase>.NativeClassPtr, 100675109);
|
|
PostProcessingComponentBase.NativeMethodInfoPtr_get_active_Public_Abstract_Virtual_New_get_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentBase>.NativeClassPtr, 100675110);
|
|
PostProcessingComponentBase.NativeMethodInfoPtr_OnEnable_Public_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentBase>.NativeClassPtr, 100675111);
|
|
PostProcessingComponentBase.NativeMethodInfoPtr_OnDisable_Public_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentBase>.NativeClassPtr, 100675112);
|
|
PostProcessingComponentBase.NativeMethodInfoPtr_GetModel_Public_Abstract_Virtual_New_PostProcessingModel_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentBase>.NativeClassPtr, 100675113);
|
|
PostProcessingComponentBase.NativeMethodInfoPtr__ctor_Protected_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentBase>.NativeClassPtr, 100675114);
|
|
}
|
|
|
|
// Token: 0x06009800 RID: 38912 RVA: 0x0000A74C File Offset: 0x0000894C
|
|
public PostProcessingComponentBase(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17003369 RID: 13161
|
|
// (get) Token: 0x06009801 RID: 38913 RVA: 0x002702D0 File Offset: 0x0026E4D0
|
|
// (set) Token: 0x06009802 RID: 38914 RVA: 0x00270304 File Offset: 0x0026E504
|
|
public unsafe PostProcessingContext context
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PostProcessingComponentBase.NativeFieldInfoPtr_context);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new PostProcessingContext(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(PostProcessingComponentBase.NativeFieldInfoPtr_context), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x04006601 RID: 26113
|
|
private static readonly IntPtr NativeFieldInfoPtr_context;
|
|
|
|
// Token: 0x04006602 RID: 26114
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetCameraFlags_Public_Virtual_New_DepthTextureMode_0;
|
|
|
|
// Token: 0x04006603 RID: 26115
|
|
private static readonly IntPtr NativeMethodInfoPtr_get_active_Public_Abstract_Virtual_New_get_Boolean_0;
|
|
|
|
// Token: 0x04006604 RID: 26116
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnEnable_Public_Virtual_New_Void_0;
|
|
|
|
// Token: 0x04006605 RID: 26117
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnDisable_Public_Virtual_New_Void_0;
|
|
|
|
// Token: 0x04006606 RID: 26118
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetModel_Public_Abstract_Virtual_New_PostProcessingModel_0;
|
|
|
|
// Token: 0x04006607 RID: 26119
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Protected_Void_0;
|
|
}
|
|
}
|