145 lines
6.3 KiB
C#
145 lines
6.3 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using Il2CppSystem;
|
|
|
|
namespace UnityEngine.PostProcessing
|
|
{
|
|
// Token: 0x0200053B RID: 1339
|
|
public sealed class FxaaComponent : PostProcessingComponentRenderTexture<AntialiasingModel>
|
|
{
|
|
// Token: 0x17003274 RID: 12916
|
|
// (get) Token: 0x06009541 RID: 38209 RVA: 0x00265F60 File Offset: 0x00264160
|
|
public unsafe override bool active
|
|
{
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 633297, XrefRangeEnd = 633298, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
get
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FxaaComponent.NativeMethodInfoPtr_get_active_Public_Virtual_get_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06009542 RID: 38210 RVA: 0x00265FB0 File Offset: 0x002641B0
|
|
[CallerCount(1)]
|
|
[CachedScanResults(RefRangeStart = 633323, RefRangeEnd = 633324, XrefRangeStart = 633298, XrefRangeEnd = 633323, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void Render(RenderTexture source, RenderTexture destination)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr;
|
|
checked
|
|
{
|
|
ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = IL2CPP.Il2CppObjectBaseToPtr(source);
|
|
}
|
|
ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(destination);
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FxaaComponent.NativeMethodInfoPtr_Render_Public_Void_RenderTexture_RenderTexture_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06009543 RID: 38211 RVA: 0x00266024 File Offset: 0x00264224
|
|
[CallerCount(1)]
|
|
[CachedScanResults(RefRangeStart = 633327, RefRangeEnd = 633328, XrefRangeStart = 633324, XrefRangeEnd = 633327, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe FxaaComponent()
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<FxaaComponent>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FxaaComponent.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06009544 RID: 38212 RVA: 0x00266070 File Offset: 0x00264270
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static FxaaComponent()
|
|
{
|
|
Il2CppClassPointerStore<FxaaComponent>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "UnityEngine.PostProcessing", "FxaaComponent");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<FxaaComponent>.NativeClassPtr);
|
|
FxaaComponent.NativeMethodInfoPtr_get_active_Public_Virtual_get_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FxaaComponent>.NativeClassPtr, 100674926);
|
|
FxaaComponent.NativeMethodInfoPtr_Render_Public_Void_RenderTexture_RenderTexture_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FxaaComponent>.NativeClassPtr, 100674927);
|
|
FxaaComponent.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FxaaComponent>.NativeClassPtr, 100674928);
|
|
}
|
|
|
|
// Token: 0x06009545 RID: 38213 RVA: 0x002660DC File Offset: 0x002642DC
|
|
public FxaaComponent(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400637E RID: 25470
|
|
private static readonly IntPtr NativeMethodInfoPtr_get_active_Public_Virtual_get_Boolean_0;
|
|
|
|
// Token: 0x0400637F RID: 25471
|
|
private static readonly IntPtr NativeMethodInfoPtr_Render_Public_Void_RenderTexture_RenderTexture_0;
|
|
|
|
// Token: 0x04006380 RID: 25472
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
|
|
|
|
// Token: 0x0200053C RID: 1340
|
|
public static class Uniforms : Object
|
|
{
|
|
// Token: 0x06009546 RID: 38214 RVA: 0x002660E8 File Offset: 0x002642E8
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static Uniforms()
|
|
{
|
|
Il2CppClassPointerStore<FxaaComponent.Uniforms>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<FxaaComponent>.NativeClassPtr, "Uniforms");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<FxaaComponent.Uniforms>.NativeClassPtr);
|
|
FxaaComponent.Uniforms.NativeFieldInfoPtr__QualitySettings = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FxaaComponent.Uniforms>.NativeClassPtr, "_QualitySettings");
|
|
FxaaComponent.Uniforms.NativeFieldInfoPtr__ConsoleSettings = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FxaaComponent.Uniforms>.NativeClassPtr, "_ConsoleSettings");
|
|
}
|
|
|
|
// Token: 0x06009547 RID: 38215 RVA: 0x0000A74C File Offset: 0x0000894C
|
|
public Uniforms(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17003275 RID: 12917
|
|
// (get) Token: 0x06009548 RID: 38216 RVA: 0x0026613C File Offset: 0x0026433C
|
|
// (set) Token: 0x06009549 RID: 38217 RVA: 0x0026615A File Offset: 0x0026435A
|
|
public unsafe static int _QualitySettings
|
|
{
|
|
get
|
|
{
|
|
int num;
|
|
IL2CPP.il2cpp_field_static_get_value(FxaaComponent.Uniforms.NativeFieldInfoPtr__QualitySettings, (void*)(&num));
|
|
return num;
|
|
}
|
|
set
|
|
{
|
|
IL2CPP.il2cpp_field_static_set_value(FxaaComponent.Uniforms.NativeFieldInfoPtr__QualitySettings, (void*)(&value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003276 RID: 12918
|
|
// (get) Token: 0x0600954A RID: 38218 RVA: 0x0026616C File Offset: 0x0026436C
|
|
// (set) Token: 0x0600954B RID: 38219 RVA: 0x0026618A File Offset: 0x0026438A
|
|
public unsafe static int _ConsoleSettings
|
|
{
|
|
get
|
|
{
|
|
int num;
|
|
IL2CPP.il2cpp_field_static_get_value(FxaaComponent.Uniforms.NativeFieldInfoPtr__ConsoleSettings, (void*)(&num));
|
|
return num;
|
|
}
|
|
set
|
|
{
|
|
IL2CPP.il2cpp_field_static_set_value(FxaaComponent.Uniforms.NativeFieldInfoPtr__ConsoleSettings, (void*)(&value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x04006381 RID: 25473
|
|
private static readonly IntPtr NativeFieldInfoPtr__QualitySettings;
|
|
|
|
// Token: 0x04006382 RID: 25474
|
|
private static readonly IntPtr NativeFieldInfoPtr__ConsoleSettings;
|
|
}
|
|
}
|
|
}
|