Files
NobetaSource/Interop/Assembly-CSharp/UnityEngine/PostProcessing/PostProcessingComponentCommandBuffer.cs
2023-09-06 22:09:22 +02:00

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: 0x02000592 RID: 1426
public class PostProcessingComponentCommandBuffer<T> : PostProcessingComponent<T> where T : PostProcessingModel
{
// Token: 0x0600980C RID: 38924 RVA: 0x0027077C File Offset: 0x0026E97C
[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: 0x0600980D RID: 38925 RVA: 0x002707D8 File Offset: 0x0026E9D8
[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: 0x0600980E RID: 38926 RVA: 0x00270830 File Offset: 0x0026EA30
[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: 0x0600980F RID: 38927 RVA: 0x00270894 File Offset: 0x0026EA94
[CallerCount(17)]
[CachedScanResults(RefRangeStart = 376262, RefRangeEnd = 376279, XrefRangeStart = 376262, XrefRangeEnd = 376279, 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: 0x06009810 RID: 38928 RVA: 0x002708E0 File Offset: 0x0026EAE0
// 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, 100675120);
PostProcessingComponentCommandBuffer<T>.NativeMethodInfoPtr_GetName_Public_Abstract_Virtual_New_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentCommandBuffer<T>>.NativeClassPtr, 100675121);
PostProcessingComponentCommandBuffer<T>.NativeMethodInfoPtr_PopulateCommandBuffer_Public_Abstract_Virtual_New_Void_CommandBuffer_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentCommandBuffer<T>>.NativeClassPtr, 100675122);
PostProcessingComponentCommandBuffer<T>.NativeMethodInfoPtr__ctor_Protected_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PostProcessingComponentCommandBuffer<T>>.NativeClassPtr, 100675123);
}
// Token: 0x06009811 RID: 38929 RVA: 0x0027099B File Offset: 0x0026EB9B
public PostProcessingComponentCommandBuffer(IntPtr pointer)
: base(pointer)
{
}
// Token: 0x0400660E RID: 26126
private static readonly IntPtr NativeMethodInfoPtr_GetCameraEvent_Public_Abstract_Virtual_New_CameraEvent_0;
// Token: 0x0400660F RID: 26127
private static readonly IntPtr NativeMethodInfoPtr_GetName_Public_Abstract_Virtual_New_String_0;
// Token: 0x04006610 RID: 26128
private static readonly IntPtr NativeMethodInfoPtr_PopulateCommandBuffer_Public_Abstract_Virtual_New_Void_CommandBuffer_0;
// Token: 0x04006611 RID: 26129
private static readonly IntPtr NativeMethodInfoPtr__ctor_Protected_Void_0;
}
}