95 lines
5.5 KiB
C#
95 lines
5.5 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using Il2CppInterop.Runtime.InteropTypes.Arrays;
|
|
using Il2CppSystem;
|
|
using UnityEngine.Rendering;
|
|
|
|
namespace UnityEngine.PostProcessing
|
|
{
|
|
// Token: 0x020005E1 RID: 1505
|
|
public class PostProcessingComponentCommandBuffer<T> : PostProcessingComponent<T> where T : PostProcessingModel
|
|
{
|
|
// Token: 0x06009FAF RID: 40879 RVA: 0x002908B4 File Offset: 0x0028EAB4
|
|
[CallerCount(0)]
|
|
public unsafe virtual CameraEvent GetCameraEvent()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), PostProcessingComponentCommandBuffer<T>.NativeMethodInfoPtr_GetCameraEvent_Public_Abstract_Virtual_New_CameraEvent_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
|
|
// Token: 0x06009FB0 RID: 40880 RVA: 0x00290910 File Offset: 0x0028EB10
|
|
[CallerCount(0)]
|
|
public unsafe virtual string GetName()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), PostProcessingComponentCommandBuffer<T>.NativeMethodInfoPtr_GetName_Public_Abstract_Virtual_New_String_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return IL2CPP.Il2CppStringToManaged(intPtr);
|
|
}
|
|
|
|
// Token: 0x06009FB1 RID: 40881 RVA: 0x00290968 File Offset: 0x0028EB68
|
|
[CallerCount(0)]
|
|
public unsafe virtual void PopulateCommandBuffer(CommandBuffer cb)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = IL2CPP.Il2CppObjectBaseToPtr(cb);
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), PostProcessingComponentCommandBuffer<T>.NativeMethodInfoPtr_PopulateCommandBuffer_Public_Abstract_Virtual_New_Void_CommandBuffer_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06009FB2 RID: 40882 RVA: 0x002909CC File Offset: 0x0028EBCC
|
|
[CallerCount(18)]
|
|
[CachedScanResults(RefRangeStart = 379185, RefRangeEnd = 379203, XrefRangeStart = 379185, XrefRangeEnd = 379203, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe PostProcessingComponentCommandBuffer()
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<PostProcessingComponentCommandBuffer<T>>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PostProcessingComponentCommandBuffer<T>.NativeMethodInfoPtr__ctor_Protected_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06009FB3 RID: 40883 RVA: 0x00290A18 File Offset: 0x0028EC18
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static PostProcessingComponentCommandBuffer()
|
|
{
|
|
Il2CppClassPointerStore<PostProcessingComponentCommandBuffer<T>>.NativeClassPtr = IL2CPP.il2cpp_class_from_type(Type.internal_from_handle(IL2CPP.il2cpp_class_get_type(IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "UnityEngine.PostProcessing", "PostProcessingComponentCommandBuffer`1"))).MakeGenericType(new Il2CppReferenceArray<Type>(new Type[] { Type.internal_from_handle(IL2CPP.il2cpp_class_get_type(Il2CppClassPointerStore<T>.NativeClassPtr)) })).TypeHandle.value);
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<PostProcessingComponentCommandBuffer<T>>.NativeClassPtr);
|
|
PostProcessingComponentCommandBuffer<T>.NativeMethodInfoPtr_GetCameraEvent_Public_Abstract_Virtual_New_CameraEvent_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentCommandBuffer<T>>.NativeClassPtr, 100675783);
|
|
PostProcessingComponentCommandBuffer<T>.NativeMethodInfoPtr_GetName_Public_Abstract_Virtual_New_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentCommandBuffer<T>>.NativeClassPtr, 100675784);
|
|
PostProcessingComponentCommandBuffer<T>.NativeMethodInfoPtr_PopulateCommandBuffer_Public_Abstract_Virtual_New_Void_CommandBuffer_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentCommandBuffer<T>>.NativeClassPtr, 100675785);
|
|
PostProcessingComponentCommandBuffer<T>.NativeMethodInfoPtr__ctor_Protected_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentCommandBuffer<T>>.NativeClassPtr, 100675786);
|
|
}
|
|
|
|
// Token: 0x06009FB4 RID: 40884 RVA: 0x00290AD3 File Offset: 0x0028ECD3
|
|
public PostProcessingComponentCommandBuffer(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04006B43 RID: 27459
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetCameraEvent_Public_Abstract_Virtual_New_CameraEvent_0;
|
|
|
|
// Token: 0x04006B44 RID: 27460
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetName_Public_Abstract_Virtual_New_String_0;
|
|
|
|
// Token: 0x04006B45 RID: 27461
|
|
private static readonly IntPtr NativeMethodInfoPtr_PopulateCommandBuffer_Public_Abstract_Virtual_New_Void_CommandBuffer_0;
|
|
|
|
// Token: 0x04006B46 RID: 27462
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Protected_Void_0;
|
|
}
|
|
}
|