548 lines
25 KiB
C#
548 lines
25 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using Il2CppInterop.Runtime.InteropTypes.Arrays;
|
|
using Il2CppSystem;
|
|
|
|
namespace UnityEngine.PostProcessing
|
|
{
|
|
// Token: 0x02000586 RID: 1414
|
|
public sealed class EyeAdaptationComponent : PostProcessingComponentRenderTexture<EyeAdaptationModel>
|
|
{
|
|
// Token: 0x170034CF RID: 13519
|
|
// (get) Token: 0x06009CA0 RID: 40096 RVA: 0x00285300 File Offset: 0x00283500
|
|
public unsafe override bool active
|
|
{
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 647641, XrefRangeEnd = 647643, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
get
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EyeAdaptationComponent.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: 0x06009CA1 RID: 40097 RVA: 0x00285350 File Offset: 0x00283550
|
|
[CallerCount(1)]
|
|
[CachedScanResults(RefRangeStart = 352892, RefRangeEnd = 352893, XrefRangeStart = 352892, XrefRangeEnd = 352893, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void ResetHistory()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EyeAdaptationComponent.NativeMethodInfoPtr_ResetHistory_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06009CA2 RID: 40098 RVA: 0x00285394 File Offset: 0x00283594
|
|
[CallerCount(1)]
|
|
[CachedScanResults(RefRangeStart = 352892, RefRangeEnd = 352893, XrefRangeStart = 352892, XrefRangeEnd = 352893, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override void OnEnable()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EyeAdaptationComponent.NativeMethodInfoPtr_OnEnable_Public_Virtual_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06009CA3 RID: 40099 RVA: 0x002853D8 File Offset: 0x002835D8
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 647643, XrefRangeEnd = 647656, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override void OnDisable()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EyeAdaptationComponent.NativeMethodInfoPtr_OnDisable_Public_Virtual_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06009CA4 RID: 40100 RVA: 0x0028541C File Offset: 0x0028361C
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 647656, XrefRangeEnd = 647662, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe Vector4 GetHistogramScaleOffsetRes()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EyeAdaptationComponent.NativeMethodInfoPtr_GetHistogramScaleOffsetRes_Private_Vector4_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
|
|
// Token: 0x06009CA5 RID: 40101 RVA: 0x0028546C File Offset: 0x0028366C
|
|
[CallerCount(1)]
|
|
[CachedScanResults(RefRangeStart = 647791, RefRangeEnd = 647792, XrefRangeStart = 647662, XrefRangeEnd = 647791, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe Texture Prepare(RenderTexture source, Material uberMaterial)
|
|
{
|
|
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(uberMaterial);
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EyeAdaptationComponent.NativeMethodInfoPtr_Prepare_Public_Texture_RenderTexture_Material_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
IntPtr intPtr3 = intPtr;
|
|
return (intPtr3 != 0) ? new Texture(intPtr3) : null;
|
|
}
|
|
|
|
// Token: 0x06009CA6 RID: 40102 RVA: 0x002854F4 File Offset: 0x002836F4
|
|
[CallerCount(1)]
|
|
[CachedScanResults(RefRangeStart = 647805, RefRangeEnd = 647806, XrefRangeStart = 647792, XrefRangeEnd = 647805, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void OnGUI()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EyeAdaptationComponent.NativeMethodInfoPtr_OnGUI_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06009CA7 RID: 40103 RVA: 0x00285538 File Offset: 0x00283738
|
|
[CallerCount(1)]
|
|
[CachedScanResults(RefRangeStart = 647813, RefRangeEnd = 647814, XrefRangeStart = 647806, XrefRangeEnd = 647813, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe EyeAdaptationComponent()
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EyeAdaptationComponent.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06009CA8 RID: 40104 RVA: 0x00285584 File Offset: 0x00283784
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static EyeAdaptationComponent()
|
|
{
|
|
Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "UnityEngine.PostProcessing", "EyeAdaptationComponent");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr);
|
|
EyeAdaptationComponent.NativeFieldInfoPtr_m_EyeCompute = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr, "m_EyeCompute");
|
|
EyeAdaptationComponent.NativeFieldInfoPtr_m_HistogramBuffer = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr, "m_HistogramBuffer");
|
|
EyeAdaptationComponent.NativeFieldInfoPtr_m_AutoExposurePool = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr, "m_AutoExposurePool");
|
|
EyeAdaptationComponent.NativeFieldInfoPtr_m_AutoExposurePingPing = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr, "m_AutoExposurePingPing");
|
|
EyeAdaptationComponent.NativeFieldInfoPtr_m_CurrentAutoExposure = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr, "m_CurrentAutoExposure");
|
|
EyeAdaptationComponent.NativeFieldInfoPtr_m_DebugHistogram = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr, "m_DebugHistogram");
|
|
EyeAdaptationComponent.NativeFieldInfoPtr_s_EmptyHistogramBuffer = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr, "s_EmptyHistogramBuffer");
|
|
EyeAdaptationComponent.NativeFieldInfoPtr_m_FirstFrame = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr, "m_FirstFrame");
|
|
EyeAdaptationComponent.NativeFieldInfoPtr_k_HistogramBins = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr, "k_HistogramBins");
|
|
EyeAdaptationComponent.NativeFieldInfoPtr_k_HistogramThreadX = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr, "k_HistogramThreadX");
|
|
EyeAdaptationComponent.NativeFieldInfoPtr_k_HistogramThreadY = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr, "k_HistogramThreadY");
|
|
EyeAdaptationComponent.NativeMethodInfoPtr_get_active_Public_Virtual_get_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr, 100675573);
|
|
EyeAdaptationComponent.NativeMethodInfoPtr_ResetHistory_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr, 100675574);
|
|
EyeAdaptationComponent.NativeMethodInfoPtr_OnEnable_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr, 100675575);
|
|
EyeAdaptationComponent.NativeMethodInfoPtr_OnDisable_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr, 100675576);
|
|
EyeAdaptationComponent.NativeMethodInfoPtr_GetHistogramScaleOffsetRes_Private_Vector4_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr, 100675577);
|
|
EyeAdaptationComponent.NativeMethodInfoPtr_Prepare_Public_Texture_RenderTexture_Material_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr, 100675578);
|
|
EyeAdaptationComponent.NativeMethodInfoPtr_OnGUI_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr, 100675579);
|
|
EyeAdaptationComponent.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr, 100675580);
|
|
}
|
|
|
|
// Token: 0x06009CA9 RID: 40105 RVA: 0x00285730 File Offset: 0x00283930
|
|
public EyeAdaptationComponent(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x170034C4 RID: 13508
|
|
// (get) Token: 0x06009CAA RID: 40106 RVA: 0x0028573C File Offset: 0x0028393C
|
|
// (set) Token: 0x06009CAB RID: 40107 RVA: 0x00285770 File Offset: 0x00283970
|
|
public unsafe ComputeShader m_EyeCompute
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EyeAdaptationComponent.NativeFieldInfoPtr_m_EyeCompute);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new ComputeShader(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(EyeAdaptationComponent.NativeFieldInfoPtr_m_EyeCompute), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x170034C5 RID: 13509
|
|
// (get) Token: 0x06009CAC RID: 40108 RVA: 0x00285798 File Offset: 0x00283998
|
|
// (set) Token: 0x06009CAD RID: 40109 RVA: 0x002857CC File Offset: 0x002839CC
|
|
public unsafe ComputeBuffer m_HistogramBuffer
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EyeAdaptationComponent.NativeFieldInfoPtr_m_HistogramBuffer);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new ComputeBuffer(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(EyeAdaptationComponent.NativeFieldInfoPtr_m_HistogramBuffer), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x170034C6 RID: 13510
|
|
// (get) Token: 0x06009CAE RID: 40110 RVA: 0x002857F4 File Offset: 0x002839F4
|
|
// (set) Token: 0x06009CAF RID: 40111 RVA: 0x00285828 File Offset: 0x00283A28
|
|
public unsafe Il2CppReferenceArray<RenderTexture> m_AutoExposurePool
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EyeAdaptationComponent.NativeFieldInfoPtr_m_AutoExposurePool);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new Il2CppReferenceArray<RenderTexture>(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(EyeAdaptationComponent.NativeFieldInfoPtr_m_AutoExposurePool), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x170034C7 RID: 13511
|
|
// (get) Token: 0x06009CB0 RID: 40112 RVA: 0x00285850 File Offset: 0x00283A50
|
|
// (set) Token: 0x06009CB1 RID: 40113 RVA: 0x00285878 File Offset: 0x00283A78
|
|
public unsafe int m_AutoExposurePingPing
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EyeAdaptationComponent.NativeFieldInfoPtr_m_AutoExposurePingPing);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EyeAdaptationComponent.NativeFieldInfoPtr_m_AutoExposurePingPing)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170034C8 RID: 13512
|
|
// (get) Token: 0x06009CB2 RID: 40114 RVA: 0x0028589C File Offset: 0x00283A9C
|
|
// (set) Token: 0x06009CB3 RID: 40115 RVA: 0x002858D0 File Offset: 0x00283AD0
|
|
public unsafe RenderTexture m_CurrentAutoExposure
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EyeAdaptationComponent.NativeFieldInfoPtr_m_CurrentAutoExposure);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new RenderTexture(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(EyeAdaptationComponent.NativeFieldInfoPtr_m_CurrentAutoExposure), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x170034C9 RID: 13513
|
|
// (get) Token: 0x06009CB4 RID: 40116 RVA: 0x002858F8 File Offset: 0x00283AF8
|
|
// (set) Token: 0x06009CB5 RID: 40117 RVA: 0x0028592C File Offset: 0x00283B2C
|
|
public unsafe RenderTexture m_DebugHistogram
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EyeAdaptationComponent.NativeFieldInfoPtr_m_DebugHistogram);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new RenderTexture(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(EyeAdaptationComponent.NativeFieldInfoPtr_m_DebugHistogram), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x170034CA RID: 13514
|
|
// (get) Token: 0x06009CB6 RID: 40118 RVA: 0x00285954 File Offset: 0x00283B54
|
|
// (set) Token: 0x06009CB7 RID: 40119 RVA: 0x0028597F File Offset: 0x00283B7F
|
|
public unsafe static Il2CppStructArray<uint> s_EmptyHistogramBuffer
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr;
|
|
IL2CPP.il2cpp_field_static_get_value(EyeAdaptationComponent.NativeFieldInfoPtr_s_EmptyHistogramBuffer, (void*)(&intPtr));
|
|
IntPtr intPtr2 = intPtr;
|
|
return (intPtr2 != 0) ? new Il2CppStructArray<uint>(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IL2CPP.il2cpp_field_static_set_value(EyeAdaptationComponent.NativeFieldInfoPtr_s_EmptyHistogramBuffer, IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x170034CB RID: 13515
|
|
// (get) Token: 0x06009CB8 RID: 40120 RVA: 0x00285994 File Offset: 0x00283B94
|
|
// (set) Token: 0x06009CB9 RID: 40121 RVA: 0x002859BC File Offset: 0x00283BBC
|
|
public unsafe bool m_FirstFrame
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EyeAdaptationComponent.NativeFieldInfoPtr_m_FirstFrame);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EyeAdaptationComponent.NativeFieldInfoPtr_m_FirstFrame)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170034CC RID: 13516
|
|
// (get) Token: 0x06009CBA RID: 40122 RVA: 0x002859E0 File Offset: 0x00283BE0
|
|
// (set) Token: 0x06009CBB RID: 40123 RVA: 0x002859FE File Offset: 0x00283BFE
|
|
public unsafe static int k_HistogramBins
|
|
{
|
|
get
|
|
{
|
|
int num;
|
|
IL2CPP.il2cpp_field_static_get_value(EyeAdaptationComponent.NativeFieldInfoPtr_k_HistogramBins, (void*)(&num));
|
|
return num;
|
|
}
|
|
set
|
|
{
|
|
IL2CPP.il2cpp_field_static_set_value(EyeAdaptationComponent.NativeFieldInfoPtr_k_HistogramBins, (void*)(&value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x170034CD RID: 13517
|
|
// (get) Token: 0x06009CBC RID: 40124 RVA: 0x00285A10 File Offset: 0x00283C10
|
|
// (set) Token: 0x06009CBD RID: 40125 RVA: 0x00285A2E File Offset: 0x00283C2E
|
|
public unsafe static int k_HistogramThreadX
|
|
{
|
|
get
|
|
{
|
|
int num;
|
|
IL2CPP.il2cpp_field_static_get_value(EyeAdaptationComponent.NativeFieldInfoPtr_k_HistogramThreadX, (void*)(&num));
|
|
return num;
|
|
}
|
|
set
|
|
{
|
|
IL2CPP.il2cpp_field_static_set_value(EyeAdaptationComponent.NativeFieldInfoPtr_k_HistogramThreadX, (void*)(&value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x170034CE RID: 13518
|
|
// (get) Token: 0x06009CBE RID: 40126 RVA: 0x00285A40 File Offset: 0x00283C40
|
|
// (set) Token: 0x06009CBF RID: 40127 RVA: 0x00285A5E File Offset: 0x00283C5E
|
|
public unsafe static int k_HistogramThreadY
|
|
{
|
|
get
|
|
{
|
|
int num;
|
|
IL2CPP.il2cpp_field_static_get_value(EyeAdaptationComponent.NativeFieldInfoPtr_k_HistogramThreadY, (void*)(&num));
|
|
return num;
|
|
}
|
|
set
|
|
{
|
|
IL2CPP.il2cpp_field_static_set_value(EyeAdaptationComponent.NativeFieldInfoPtr_k_HistogramThreadY, (void*)(&value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400688E RID: 26766
|
|
private static readonly IntPtr NativeFieldInfoPtr_m_EyeCompute;
|
|
|
|
// Token: 0x0400688F RID: 26767
|
|
private static readonly IntPtr NativeFieldInfoPtr_m_HistogramBuffer;
|
|
|
|
// Token: 0x04006890 RID: 26768
|
|
private static readonly IntPtr NativeFieldInfoPtr_m_AutoExposurePool;
|
|
|
|
// Token: 0x04006891 RID: 26769
|
|
private static readonly IntPtr NativeFieldInfoPtr_m_AutoExposurePingPing;
|
|
|
|
// Token: 0x04006892 RID: 26770
|
|
private static readonly IntPtr NativeFieldInfoPtr_m_CurrentAutoExposure;
|
|
|
|
// Token: 0x04006893 RID: 26771
|
|
private static readonly IntPtr NativeFieldInfoPtr_m_DebugHistogram;
|
|
|
|
// Token: 0x04006894 RID: 26772
|
|
private static readonly IntPtr NativeFieldInfoPtr_s_EmptyHistogramBuffer;
|
|
|
|
// Token: 0x04006895 RID: 26773
|
|
private static readonly IntPtr NativeFieldInfoPtr_m_FirstFrame;
|
|
|
|
// Token: 0x04006896 RID: 26774
|
|
private static readonly IntPtr NativeFieldInfoPtr_k_HistogramBins;
|
|
|
|
// Token: 0x04006897 RID: 26775
|
|
private static readonly IntPtr NativeFieldInfoPtr_k_HistogramThreadX;
|
|
|
|
// Token: 0x04006898 RID: 26776
|
|
private static readonly IntPtr NativeFieldInfoPtr_k_HistogramThreadY;
|
|
|
|
// Token: 0x04006899 RID: 26777
|
|
private static readonly IntPtr NativeMethodInfoPtr_get_active_Public_Virtual_get_Boolean_0;
|
|
|
|
// Token: 0x0400689A RID: 26778
|
|
private static readonly IntPtr NativeMethodInfoPtr_ResetHistory_Public_Void_0;
|
|
|
|
// Token: 0x0400689B RID: 26779
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnEnable_Public_Virtual_Void_0;
|
|
|
|
// Token: 0x0400689C RID: 26780
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnDisable_Public_Virtual_Void_0;
|
|
|
|
// Token: 0x0400689D RID: 26781
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetHistogramScaleOffsetRes_Private_Vector4_0;
|
|
|
|
// Token: 0x0400689E RID: 26782
|
|
private static readonly IntPtr NativeMethodInfoPtr_Prepare_Public_Texture_RenderTexture_Material_0;
|
|
|
|
// Token: 0x0400689F RID: 26783
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Public_Void_0;
|
|
|
|
// Token: 0x040068A0 RID: 26784
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
|
|
|
|
// Token: 0x02000587 RID: 1415
|
|
public static class Uniforms : Object
|
|
{
|
|
// Token: 0x06009CC0 RID: 40128 RVA: 0x00285A70 File Offset: 0x00283C70
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static Uniforms()
|
|
{
|
|
Il2CppClassPointerStore<EyeAdaptationComponent.Uniforms>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<EyeAdaptationComponent>.NativeClassPtr, "Uniforms");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<EyeAdaptationComponent.Uniforms>.NativeClassPtr);
|
|
EyeAdaptationComponent.Uniforms.NativeFieldInfoPtr__Params = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EyeAdaptationComponent.Uniforms>.NativeClassPtr, "_Params");
|
|
EyeAdaptationComponent.Uniforms.NativeFieldInfoPtr__Speed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EyeAdaptationComponent.Uniforms>.NativeClassPtr, "_Speed");
|
|
EyeAdaptationComponent.Uniforms.NativeFieldInfoPtr__ScaleOffsetRes = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EyeAdaptationComponent.Uniforms>.NativeClassPtr, "_ScaleOffsetRes");
|
|
EyeAdaptationComponent.Uniforms.NativeFieldInfoPtr__ExposureCompensation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EyeAdaptationComponent.Uniforms>.NativeClassPtr, "_ExposureCompensation");
|
|
EyeAdaptationComponent.Uniforms.NativeFieldInfoPtr__AutoExposure = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EyeAdaptationComponent.Uniforms>.NativeClassPtr, "_AutoExposure");
|
|
EyeAdaptationComponent.Uniforms.NativeFieldInfoPtr__DebugWidth = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EyeAdaptationComponent.Uniforms>.NativeClassPtr, "_DebugWidth");
|
|
}
|
|
|
|
// Token: 0x06009CC1 RID: 40129 RVA: 0x0000A74C File Offset: 0x0000894C
|
|
public Uniforms(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x170034D0 RID: 13520
|
|
// (get) Token: 0x06009CC2 RID: 40130 RVA: 0x00285B14 File Offset: 0x00283D14
|
|
// (set) Token: 0x06009CC3 RID: 40131 RVA: 0x00285B32 File Offset: 0x00283D32
|
|
public unsafe static int _Params
|
|
{
|
|
get
|
|
{
|
|
int num;
|
|
IL2CPP.il2cpp_field_static_get_value(EyeAdaptationComponent.Uniforms.NativeFieldInfoPtr__Params, (void*)(&num));
|
|
return num;
|
|
}
|
|
set
|
|
{
|
|
IL2CPP.il2cpp_field_static_set_value(EyeAdaptationComponent.Uniforms.NativeFieldInfoPtr__Params, (void*)(&value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x170034D1 RID: 13521
|
|
// (get) Token: 0x06009CC4 RID: 40132 RVA: 0x00285B44 File Offset: 0x00283D44
|
|
// (set) Token: 0x06009CC5 RID: 40133 RVA: 0x00285B62 File Offset: 0x00283D62
|
|
public unsafe static int _Speed
|
|
{
|
|
get
|
|
{
|
|
int num;
|
|
IL2CPP.il2cpp_field_static_get_value(EyeAdaptationComponent.Uniforms.NativeFieldInfoPtr__Speed, (void*)(&num));
|
|
return num;
|
|
}
|
|
set
|
|
{
|
|
IL2CPP.il2cpp_field_static_set_value(EyeAdaptationComponent.Uniforms.NativeFieldInfoPtr__Speed, (void*)(&value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x170034D2 RID: 13522
|
|
// (get) Token: 0x06009CC6 RID: 40134 RVA: 0x00285B74 File Offset: 0x00283D74
|
|
// (set) Token: 0x06009CC7 RID: 40135 RVA: 0x00285B92 File Offset: 0x00283D92
|
|
public unsafe static int _ScaleOffsetRes
|
|
{
|
|
get
|
|
{
|
|
int num;
|
|
IL2CPP.il2cpp_field_static_get_value(EyeAdaptationComponent.Uniforms.NativeFieldInfoPtr__ScaleOffsetRes, (void*)(&num));
|
|
return num;
|
|
}
|
|
set
|
|
{
|
|
IL2CPP.il2cpp_field_static_set_value(EyeAdaptationComponent.Uniforms.NativeFieldInfoPtr__ScaleOffsetRes, (void*)(&value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x170034D3 RID: 13523
|
|
// (get) Token: 0x06009CC8 RID: 40136 RVA: 0x00285BA4 File Offset: 0x00283DA4
|
|
// (set) Token: 0x06009CC9 RID: 40137 RVA: 0x00285BC2 File Offset: 0x00283DC2
|
|
public unsafe static int _ExposureCompensation
|
|
{
|
|
get
|
|
{
|
|
int num;
|
|
IL2CPP.il2cpp_field_static_get_value(EyeAdaptationComponent.Uniforms.NativeFieldInfoPtr__ExposureCompensation, (void*)(&num));
|
|
return num;
|
|
}
|
|
set
|
|
{
|
|
IL2CPP.il2cpp_field_static_set_value(EyeAdaptationComponent.Uniforms.NativeFieldInfoPtr__ExposureCompensation, (void*)(&value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x170034D4 RID: 13524
|
|
// (get) Token: 0x06009CCA RID: 40138 RVA: 0x00285BD4 File Offset: 0x00283DD4
|
|
// (set) Token: 0x06009CCB RID: 40139 RVA: 0x00285BF2 File Offset: 0x00283DF2
|
|
public unsafe static int _AutoExposure
|
|
{
|
|
get
|
|
{
|
|
int num;
|
|
IL2CPP.il2cpp_field_static_get_value(EyeAdaptationComponent.Uniforms.NativeFieldInfoPtr__AutoExposure, (void*)(&num));
|
|
return num;
|
|
}
|
|
set
|
|
{
|
|
IL2CPP.il2cpp_field_static_set_value(EyeAdaptationComponent.Uniforms.NativeFieldInfoPtr__AutoExposure, (void*)(&value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x170034D5 RID: 13525
|
|
// (get) Token: 0x06009CCC RID: 40140 RVA: 0x00285C04 File Offset: 0x00283E04
|
|
// (set) Token: 0x06009CCD RID: 40141 RVA: 0x00285C22 File Offset: 0x00283E22
|
|
public unsafe static int _DebugWidth
|
|
{
|
|
get
|
|
{
|
|
int num;
|
|
IL2CPP.il2cpp_field_static_get_value(EyeAdaptationComponent.Uniforms.NativeFieldInfoPtr__DebugWidth, (void*)(&num));
|
|
return num;
|
|
}
|
|
set
|
|
{
|
|
IL2CPP.il2cpp_field_static_set_value(EyeAdaptationComponent.Uniforms.NativeFieldInfoPtr__DebugWidth, (void*)(&value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x040068A1 RID: 26785
|
|
private static readonly IntPtr NativeFieldInfoPtr__Params;
|
|
|
|
// Token: 0x040068A2 RID: 26786
|
|
private static readonly IntPtr NativeFieldInfoPtr__Speed;
|
|
|
|
// Token: 0x040068A3 RID: 26787
|
|
private static readonly IntPtr NativeFieldInfoPtr__ScaleOffsetRes;
|
|
|
|
// Token: 0x040068A4 RID: 26788
|
|
private static readonly IntPtr NativeFieldInfoPtr__ExposureCompensation;
|
|
|
|
// Token: 0x040068A5 RID: 26789
|
|
private static readonly IntPtr NativeFieldInfoPtr__AutoExposure;
|
|
|
|
// Token: 0x040068A6 RID: 26790
|
|
private static readonly IntPtr NativeFieldInfoPtr__DebugWidth;
|
|
}
|
|
}
|
|
}
|