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: 0x020005DF RID: 1503
|
|
public class PostProcessingComponentBase : Object
|
|
{
|
|
// Token: 0x06009F9C RID: 40860 RVA: 0x00290144 File Offset: 0x0028E344
|
|
[CallerCount(28)]
|
|
[CachedScanResults(RefRangeStart = 16479, RefRangeEnd = 16507, XrefRangeStart = 16479, XrefRangeEnd = 16507, 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: 0x170035D3 RID: 13779
|
|
// (get) Token: 0x06009F9D RID: 40861 RVA: 0x002901A0 File Offset: 0x0028E3A0
|
|
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: 0x06009F9E RID: 40862 RVA: 0x002901FC File Offset: 0x0028E3FC
|
|
[CallerCount(5874)]
|
|
[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, 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: 0x06009F9F RID: 40863 RVA: 0x0029024C File Offset: 0x0028E44C
|
|
[CallerCount(5874)]
|
|
[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, 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: 0x06009FA0 RID: 40864 RVA: 0x0029029C File Offset: 0x0028E49C
|
|
[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: 0x06009FA1 RID: 40865 RVA: 0x00290300 File Offset: 0x0028E500
|
|
[CallerCount(1664)]
|
|
[CachedScanResults(RefRangeStart = 7711, RefRangeEnd = 9375, XrefRangeStart = 7711, XrefRangeEnd = 9375, 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: 0x06009FA2 RID: 40866 RVA: 0x0029034C File Offset: 0x0028E54C
|
|
// 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, 100675772);
|
|
PostProcessingComponentBase.NativeMethodInfoPtr_get_active_Public_Abstract_Virtual_New_get_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentBase>.NativeClassPtr, 100675773);
|
|
PostProcessingComponentBase.NativeMethodInfoPtr_OnEnable_Public_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentBase>.NativeClassPtr, 100675774);
|
|
PostProcessingComponentBase.NativeMethodInfoPtr_OnDisable_Public_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentBase>.NativeClassPtr, 100675775);
|
|
PostProcessingComponentBase.NativeMethodInfoPtr_GetModel_Public_Abstract_Virtual_New_PostProcessingModel_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentBase>.NativeClassPtr, 100675776);
|
|
PostProcessingComponentBase.NativeMethodInfoPtr__ctor_Protected_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentBase>.NativeClassPtr, 100675777);
|
|
}
|
|
|
|
// Token: 0x06009FA3 RID: 40867 RVA: 0x0000A74C File Offset: 0x0000894C
|
|
public PostProcessingComponentBase(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x170035D2 RID: 13778
|
|
// (get) Token: 0x06009FA4 RID: 40868 RVA: 0x00290408 File Offset: 0x0028E608
|
|
// (set) Token: 0x06009FA5 RID: 40869 RVA: 0x0029043C File Offset: 0x0028E63C
|
|
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: 0x04006B36 RID: 27446
|
|
private static readonly IntPtr NativeFieldInfoPtr_context;
|
|
|
|
// Token: 0x04006B37 RID: 27447
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetCameraFlags_Public_Virtual_New_DepthTextureMode_0;
|
|
|
|
// Token: 0x04006B38 RID: 27448
|
|
private static readonly IntPtr NativeMethodInfoPtr_get_active_Public_Abstract_Virtual_New_get_Boolean_0;
|
|
|
|
// Token: 0x04006B39 RID: 27449
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnEnable_Public_Virtual_New_Void_0;
|
|
|
|
// Token: 0x04006B3A RID: 27450
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnDisable_Public_Virtual_New_Void_0;
|
|
|
|
// Token: 0x04006B3B RID: 27451
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetModel_Public_Abstract_Virtual_New_PostProcessingModel_0;
|
|
|
|
// Token: 0x04006B3C RID: 27452
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Protected_Void_0;
|
|
}
|
|
}
|