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: 0x02000587 RID: 1415
|
|
public class PostProcessingComponentBase : Object
|
|
{
|
|
// Token: 0x06009749 RID: 38729 RVA: 0x0026D408 File Offset: 0x0026B608
|
|
[CallerCount(28)]
|
|
[CachedScanResults(RefRangeStart = 16579, RefRangeEnd = 16607, XrefRangeStart = 16579, XrefRangeEnd = 16607, 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: 0x17003338 RID: 13112
|
|
// (get) Token: 0x0600974A RID: 38730 RVA: 0x0026D464 File Offset: 0x0026B664
|
|
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: 0x0600974B RID: 38731 RVA: 0x0026D4C0 File Offset: 0x0026B6C0
|
|
[CallerCount(5585)]
|
|
[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5609, XrefRangeStart = 24, XrefRangeEnd = 5609, 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: 0x0600974C RID: 38732 RVA: 0x0026D510 File Offset: 0x0026B710
|
|
[CallerCount(5585)]
|
|
[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5609, XrefRangeStart = 24, XrefRangeEnd = 5609, 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: 0x0600974D RID: 38733 RVA: 0x0026D560 File Offset: 0x0026B760
|
|
[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: 0x0600974E RID: 38734 RVA: 0x0026D5C4 File Offset: 0x0026B7C4
|
|
[CallerCount(1642)]
|
|
[CachedScanResults(RefRangeStart = 7417, RefRangeEnd = 9059, XrefRangeStart = 7417, XrefRangeEnd = 9059, 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: 0x0600974F RID: 38735 RVA: 0x0026D610 File Offset: 0x0026B810
|
|
// 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, 100675059);
|
|
PostProcessingComponentBase.NativeMethodInfoPtr_get_active_Public_Abstract_Virtual_New_get_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentBase>.NativeClassPtr, 100675060);
|
|
PostProcessingComponentBase.NativeMethodInfoPtr_OnEnable_Public_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentBase>.NativeClassPtr, 100675061);
|
|
PostProcessingComponentBase.NativeMethodInfoPtr_OnDisable_Public_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentBase>.NativeClassPtr, 100675062);
|
|
PostProcessingComponentBase.NativeMethodInfoPtr_GetModel_Public_Abstract_Virtual_New_PostProcessingModel_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentBase>.NativeClassPtr, 100675063);
|
|
PostProcessingComponentBase.NativeMethodInfoPtr__ctor_Protected_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentBase>.NativeClassPtr, 100675064);
|
|
}
|
|
|
|
// Token: 0x06009750 RID: 38736 RVA: 0x0000A688 File Offset: 0x00008888
|
|
public PostProcessingComponentBase(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17003337 RID: 13111
|
|
// (get) Token: 0x06009751 RID: 38737 RVA: 0x0026D6CC File Offset: 0x0026B8CC
|
|
// (set) Token: 0x06009752 RID: 38738 RVA: 0x0026D700 File Offset: 0x0026B900
|
|
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: 0x0400658D RID: 25997
|
|
private static readonly IntPtr NativeFieldInfoPtr_context;
|
|
|
|
// Token: 0x0400658E RID: 25998
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetCameraFlags_Public_Virtual_New_DepthTextureMode_0;
|
|
|
|
// Token: 0x0400658F RID: 25999
|
|
private static readonly IntPtr NativeMethodInfoPtr_get_active_Public_Abstract_Virtual_New_get_Boolean_0;
|
|
|
|
// Token: 0x04006590 RID: 26000
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnEnable_Public_Virtual_New_Void_0;
|
|
|
|
// Token: 0x04006591 RID: 26001
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnDisable_Public_Virtual_New_Void_0;
|
|
|
|
// Token: 0x04006592 RID: 26002
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetModel_Public_Abstract_Virtual_New_PostProcessingModel_0;
|
|
|
|
// Token: 0x04006593 RID: 26003
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Protected_Void_0;
|
|
}
|
|
}
|