495 lines
19 KiB
C#
495 lines
19 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine.Rendering;
|
|
|
|
namespace UnityEngine.PostProcessing
|
|
{
|
|
// Token: 0x0200052C RID: 1324
|
|
[Token(Token = "0x200052C")]
|
|
public sealed class MotionBlurComponent : PostProcessingComponentCommandBuffer<MotionBlurModel>
|
|
{
|
|
// Token: 0x17000329 RID: 809
|
|
// (get) Token: 0x06002D77 RID: 11639 RVA: 0x00061B84 File Offset: 0x0005FD84
|
|
[Token(Token = "0x17000329")]
|
|
public MotionBlurComponent.ReconstructionFilter reconstructionFilter
|
|
{
|
|
[Token(Token = "0x6002D77")]
|
|
[Address(RVA = "0xCC1190", Offset = "0xCBF990", VA = "0x180CC1190")]
|
|
get
|
|
{
|
|
MotionBlurComponent.ReconstructionFilter reconstructionFilter = this.m_ReconstructionFilter;
|
|
if (reconstructionFilter == 0)
|
|
{
|
|
MotionBlurComponent.ReconstructionFilter reconstructionFilter2 = new MotionBlurComponent.ReconstructionFilter();
|
|
this.m_ReconstructionFilter = reconstructionFilter2;
|
|
}
|
|
return reconstructionFilter;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700032A RID: 810
|
|
// (get) Token: 0x06002D78 RID: 11640 RVA: 0x00061BAC File Offset: 0x0005FDAC
|
|
[Token(Token = "0x1700032A")]
|
|
public MotionBlurComponent.FrameBlendingFilter frameBlendingFilter
|
|
{
|
|
[Token(Token = "0x6002D78")]
|
|
[Address(RVA = "0xCC1120", Offset = "0xCBF920", VA = "0x180CC1120")]
|
|
get
|
|
{
|
|
MotionBlurComponent.FrameBlendingFilter frameBlendingFilter = this.m_FrameBlendingFilter;
|
|
if (frameBlendingFilter == 0)
|
|
{
|
|
MotionBlurComponent.FrameBlendingFilter frameBlendingFilter2 = new MotionBlurComponent.FrameBlendingFilter();
|
|
this.m_FrameBlendingFilter = frameBlendingFilter2;
|
|
}
|
|
return frameBlendingFilter;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700032B RID: 811
|
|
// (get) Token: 0x06002D79 RID: 11641 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x1700032B")]
|
|
public override bool active
|
|
{
|
|
[Token(Token = "0x6002D79")]
|
|
[Address(RVA = "0xCC1060", Offset = "0xCBF860", VA = "0x180CC1060", Slot = "5")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002D7A RID: 11642 RVA: 0x00061BD4 File Offset: 0x0005FDD4
|
|
[Token(Token = "0x6002D7A")]
|
|
[Address(RVA = "0xCC0820", Offset = "0xCBF020", VA = "0x180CC0820", Slot = "11")]
|
|
public override string GetName()
|
|
{
|
|
return "Motion Blur";
|
|
}
|
|
|
|
// Token: 0x06002D7B RID: 11643 RVA: 0x00061BE8 File Offset: 0x0005FDE8
|
|
[Token(Token = "0x6002D7B")]
|
|
[Address(RVA = "0xCC0FF0", Offset = "0xCBF7F0", VA = "0x180CC0FF0")]
|
|
public void ResetHistory()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06002D7B)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void UnityEngine.PostProcessing.MotionBlurComponent::ResetHistory()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{; Block_0:; call:void(FrameBlendingFilter::Dispose, ldloc:FrameBlendingFilter(var_0_06)); };
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06002D7C RID: 11644 RVA: 0x00061C08 File Offset: 0x0005FE08
|
|
[Token(Token = "0x6002D7C")]
|
|
[Address(RVA = "0x54BDF0", Offset = "0x54A5F0", VA = "0x18054BDF0", Slot = "4")]
|
|
public override DepthTextureMode GetCameraFlags()
|
|
{
|
|
return DepthTextureMode.Depth | DepthTextureMode.MotionVectors;
|
|
}
|
|
|
|
// Token: 0x06002D7D RID: 11645 RVA: 0x00061C18 File Offset: 0x0005FE18
|
|
[Token(Token = "0x6002D7D")]
|
|
[Address(RVA = "0xAE0F10", Offset = "0xADF710", VA = "0x180AE0F10", Slot = "10")]
|
|
public override CameraEvent GetCameraEvent()
|
|
{
|
|
return CameraEvent.BeforeImageEffects;
|
|
}
|
|
|
|
// Token: 0x06002D7E RID: 11646 RVA: 0x00061C28 File Offset: 0x0005FE28
|
|
[Token(Token = "0x6002D7E")]
|
|
[Address(RVA = "0x477920", Offset = "0x476120", VA = "0x180477920", Slot = "6")]
|
|
public override void OnEnable()
|
|
{
|
|
this.m_FirstFrame = true;
|
|
}
|
|
|
|
// Token: 0x06002D7F RID: 11647 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002D7F")]
|
|
[Address(RVA = "0xCC0870", Offset = "0xCBF070", VA = "0x180CC0870", Slot = "12")]
|
|
public override void PopulateCommandBuffer(CommandBuffer cb)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002D80 RID: 11648 RVA: 0x00061C3C File Offset: 0x0005FE3C
|
|
[Token(Token = "0x6002D80")]
|
|
[Address(RVA = "0xCC0850", Offset = "0xCBF050", VA = "0x180CC0850", Slot = "7")]
|
|
public override void OnDisable()
|
|
{
|
|
MotionBlurComponent.FrameBlendingFilter frameBlendingFilter = this.m_FrameBlendingFilter;
|
|
if (frameBlendingFilter != 0)
|
|
{
|
|
frameBlendingFilter.Dispose();
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002D81 RID: 11649 RVA: 0x00061C5C File Offset: 0x0005FE5C
|
|
[Token(Token = "0x6002D81")]
|
|
[Address(RVA = "0xCC1020", Offset = "0xCBF820", VA = "0x180CC1020")]
|
|
public MotionBlurComponent()
|
|
{
|
|
}
|
|
|
|
// Token: 0x040035C6 RID: 13766
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40035C6")]
|
|
private MotionBlurComponent.ReconstructionFilter m_ReconstructionFilter;
|
|
|
|
// Token: 0x040035C7 RID: 13767
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40035C7")]
|
|
private MotionBlurComponent.FrameBlendingFilter m_FrameBlendingFilter;
|
|
|
|
// Token: 0x040035C8 RID: 13768
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40035C8")]
|
|
private bool m_FirstFrame = true;
|
|
|
|
// Token: 0x0200052D RID: 1325
|
|
[Token(Token = "0x200052D")]
|
|
private static class Uniforms
|
|
{
|
|
// Token: 0x040035C9 RID: 13769
|
|
[Token(Token = "0x40035C9")]
|
|
internal static readonly int _VelocityScale = Shader.PropertyToID("_VelocityScale");
|
|
|
|
// Token: 0x040035CA RID: 13770
|
|
[Token(Token = "0x40035CA")]
|
|
internal static readonly int _MaxBlurRadius = Shader.PropertyToID("_MaxBlurRadius");
|
|
|
|
// Token: 0x040035CB RID: 13771
|
|
[Token(Token = "0x40035CB")]
|
|
internal static readonly int _RcpMaxBlurRadius = Shader.PropertyToID("_RcpMaxBlurRadius");
|
|
|
|
// Token: 0x040035CC RID: 13772
|
|
[Token(Token = "0x40035CC")]
|
|
internal static readonly int _VelocityTex = Shader.PropertyToID("_VelocityTex");
|
|
|
|
// Token: 0x040035CD RID: 13773
|
|
[Token(Token = "0x40035CD")]
|
|
internal static readonly int _MainTex = Shader.PropertyToID("_MainTex");
|
|
|
|
// Token: 0x040035CE RID: 13774
|
|
[Token(Token = "0x40035CE")]
|
|
internal static readonly int _Tile2RT = Shader.PropertyToID("_Tile2RT");
|
|
|
|
// Token: 0x040035CF RID: 13775
|
|
[Token(Token = "0x40035CF")]
|
|
internal static readonly int _Tile4RT = Shader.PropertyToID("_Tile4RT");
|
|
|
|
// Token: 0x040035D0 RID: 13776
|
|
[Token(Token = "0x40035D0")]
|
|
internal static readonly int _Tile8RT = Shader.PropertyToID("_Tile8RT");
|
|
|
|
// Token: 0x040035D1 RID: 13777
|
|
[Token(Token = "0x40035D1")]
|
|
internal static readonly int _TileMaxOffs = Shader.PropertyToID("_TileMaxOffs");
|
|
|
|
// Token: 0x040035D2 RID: 13778
|
|
[Token(Token = "0x40035D2")]
|
|
internal static readonly int _TileMaxLoop = Shader.PropertyToID("_TileMaxLoop");
|
|
|
|
// Token: 0x040035D3 RID: 13779
|
|
[Token(Token = "0x40035D3")]
|
|
internal static readonly int _TileVRT = Shader.PropertyToID("_TileVRT");
|
|
|
|
// Token: 0x040035D4 RID: 13780
|
|
[Token(Token = "0x40035D4")]
|
|
internal static readonly int _NeighborMaxTex = Shader.PropertyToID("_NeighborMaxTex");
|
|
|
|
// Token: 0x040035D5 RID: 13781
|
|
[Token(Token = "0x40035D5")]
|
|
internal static readonly int _LoopCount = Shader.PropertyToID("_LoopCount");
|
|
|
|
// Token: 0x040035D6 RID: 13782
|
|
[Token(Token = "0x40035D6")]
|
|
internal static readonly int _TempRT = Shader.PropertyToID("_TempRT");
|
|
|
|
// Token: 0x040035D7 RID: 13783
|
|
[Token(Token = "0x40035D7")]
|
|
internal static readonly int _History1LumaTex = Shader.PropertyToID("_History1LumaTex");
|
|
|
|
// Token: 0x040035D8 RID: 13784
|
|
[Token(Token = "0x40035D8")]
|
|
internal static readonly int _History2LumaTex = Shader.PropertyToID("_History2LumaTex");
|
|
|
|
// Token: 0x040035D9 RID: 13785
|
|
[Token(Token = "0x40035D9")]
|
|
internal static readonly int _History3LumaTex = Shader.PropertyToID("_History3LumaTex");
|
|
|
|
// Token: 0x040035DA RID: 13786
|
|
[Token(Token = "0x40035DA")]
|
|
internal static readonly int _History4LumaTex = Shader.PropertyToID("_History4LumaTex");
|
|
|
|
// Token: 0x040035DB RID: 13787
|
|
[Token(Token = "0x40035DB")]
|
|
internal static readonly int _History1ChromaTex = Shader.PropertyToID("_History1ChromaTex");
|
|
|
|
// Token: 0x040035DC RID: 13788
|
|
[Token(Token = "0x40035DC")]
|
|
internal static readonly int _History2ChromaTex = Shader.PropertyToID("_History2ChromaTex");
|
|
|
|
// Token: 0x040035DD RID: 13789
|
|
[Token(Token = "0x40035DD")]
|
|
internal static readonly int _History3ChromaTex = Shader.PropertyToID("_History3ChromaTex");
|
|
|
|
// Token: 0x040035DE RID: 13790
|
|
[Token(Token = "0x40035DE")]
|
|
internal static readonly int _History4ChromaTex = Shader.PropertyToID("_History4ChromaTex");
|
|
|
|
// Token: 0x040035DF RID: 13791
|
|
[Token(Token = "0x40035DF")]
|
|
internal static readonly int _History1Weight = Shader.PropertyToID("_History1Weight");
|
|
|
|
// Token: 0x040035E0 RID: 13792
|
|
[Token(Token = "0x40035E0")]
|
|
internal static readonly int _History2Weight = Shader.PropertyToID("_History2Weight");
|
|
|
|
// Token: 0x040035E1 RID: 13793
|
|
[Token(Token = "0x40035E1")]
|
|
internal static readonly int _History3Weight = Shader.PropertyToID("_History3Weight");
|
|
|
|
// Token: 0x040035E2 RID: 13794
|
|
[Token(Token = "0x40035E2")]
|
|
internal static readonly int _History4Weight = Shader.PropertyToID("_History4Weight");
|
|
}
|
|
|
|
// Token: 0x0200052E RID: 1326
|
|
[Token(Token = "0x200052E")]
|
|
private enum Pass
|
|
{
|
|
// Token: 0x040035E4 RID: 13796
|
|
[Token(Token = "0x40035E4")]
|
|
VelocitySetup,
|
|
// Token: 0x040035E5 RID: 13797
|
|
[Token(Token = "0x40035E5")]
|
|
TileMax1,
|
|
// Token: 0x040035E6 RID: 13798
|
|
[Token(Token = "0x40035E6")]
|
|
TileMax2,
|
|
// Token: 0x040035E7 RID: 13799
|
|
[Token(Token = "0x40035E7")]
|
|
TileMaxV,
|
|
// Token: 0x040035E8 RID: 13800
|
|
[Token(Token = "0x40035E8")]
|
|
NeighborMax,
|
|
// Token: 0x040035E9 RID: 13801
|
|
[Token(Token = "0x40035E9")]
|
|
Reconstruction,
|
|
// Token: 0x040035EA RID: 13802
|
|
[Token(Token = "0x40035EA")]
|
|
FrameCompression,
|
|
// Token: 0x040035EB RID: 13803
|
|
[Token(Token = "0x40035EB")]
|
|
FrameBlendingChroma,
|
|
// Token: 0x040035EC RID: 13804
|
|
[Token(Token = "0x40035EC")]
|
|
FrameBlendingRaw
|
|
}
|
|
|
|
// Token: 0x0200052F RID: 1327
|
|
[Token(Token = "0x200052F")]
|
|
public class ReconstructionFilter
|
|
{
|
|
// Token: 0x06002D83 RID: 11651 RVA: 0x00061E0C File Offset: 0x0006000C
|
|
[Token(Token = "0x6002D83")]
|
|
[Address(RVA = "0x6993A0", Offset = "0x697BA0", VA = "0x1806993A0")]
|
|
public ReconstructionFilter()
|
|
{
|
|
if (!SystemInfo.SupportsRenderTextureFormat(this.m_PackedRTFormat))
|
|
{
|
|
this.m_PackedRTFormat = (RenderTextureFormat)((ulong)0L);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002D84 RID: 11652 RVA: 0x00061E4C File Offset: 0x0006004C
|
|
[Token(Token = "0x6002D84")]
|
|
[Address(RVA = "0x698970", Offset = "0x697170", VA = "0x180698970")]
|
|
private void CheckTextureFormatSupport()
|
|
{
|
|
if (!SystemInfo.SupportsRenderTextureFormat(this.m_PackedRTFormat))
|
|
{
|
|
this.m_PackedRTFormat = (RenderTextureFormat)((ulong)0L);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002D85 RID: 11653 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002D85")]
|
|
[Address(RVA = "0x6989A0", Offset = "0x6971A0", VA = "0x1806989A0")]
|
|
public bool IsSupported()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002D86 RID: 11654 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002D86")]
|
|
[Address(RVA = "0x6989B0", Offset = "0x6971B0", VA = "0x1806989B0")]
|
|
public void ProcessImage(PostProcessingContext context, CommandBuffer cb, ref MotionBlurModel.Settings settings, RenderTargetIdentifier source, RenderTargetIdentifier destination, Material material)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x040035ED RID: 13805
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40035ED")]
|
|
private RenderTextureFormat m_VectorRTFormat = (RenderTextureFormat)((ulong)13L);
|
|
|
|
// Token: 0x040035EE RID: 13806
|
|
[FieldOffset(Offset = "0x14")]
|
|
[Token(Token = "0x40035EE")]
|
|
private RenderTextureFormat m_PackedRTFormat = (RenderTextureFormat)((ulong)8L);
|
|
}
|
|
|
|
// Token: 0x02000530 RID: 1328
|
|
[Token(Token = "0x2000530")]
|
|
public class FrameBlendingFilter
|
|
{
|
|
// Token: 0x06002D87 RID: 11655 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002D87")]
|
|
[Address(RVA = "0x697030", Offset = "0x695830", VA = "0x180697030")]
|
|
public FrameBlendingFilter()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002D88 RID: 11656 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002D88")]
|
|
[Address(RVA = "0x696D20", Offset = "0x695520", VA = "0x180696D20")]
|
|
public void Dispose()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002D89 RID: 11657 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002D89")]
|
|
[Address(RVA = "0x696EF0", Offset = "0x6956F0", VA = "0x180696EF0")]
|
|
public void PushFrame(CommandBuffer cb, RenderTargetIdentifier source, int width, int height, Material material)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002D8A RID: 11658 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002D8A")]
|
|
[Address(RVA = "0x6966E0", Offset = "0x694EE0", VA = "0x1806966E0")]
|
|
public void BlendFrames(CommandBuffer cb, float strength, RenderTargetIdentifier source, RenderTargetIdentifier destination, Material material)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002D8B RID: 11659 RVA: 0x00061E70 File Offset: 0x00060070
|
|
[Token(Token = "0x6002D8B")]
|
|
[Address(RVA = "0x696CF0", Offset = "0x6954F0", VA = "0x180696CF0")]
|
|
private static bool CheckSupportCompression()
|
|
{
|
|
bool flag = SystemInfo.SupportsRenderTextureFormat(RenderTextureFormat.R8);
|
|
if (!flag)
|
|
{
|
|
return flag;
|
|
}
|
|
return SystemInfo.supportedRenderTargetCount > 1;
|
|
}
|
|
|
|
// Token: 0x06002D8C RID: 11660 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002D8C")]
|
|
[Address(RVA = "0x696E20", Offset = "0x695620", VA = "0x180696E20")]
|
|
private static RenderTextureFormat GetPreferredRenderTextureFormat()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002D8D RID: 11661 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002D8D")]
|
|
[Address(RVA = "0x696DA0", Offset = "0x6955A0", VA = "0x180696DA0")]
|
|
private MotionBlurComponent.FrameBlendingFilter.Frame GetFrameRelative(int offset)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x040035EF RID: 13807
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40035EF")]
|
|
private bool m_UseCompression;
|
|
|
|
// Token: 0x040035F0 RID: 13808
|
|
[FieldOffset(Offset = "0x14")]
|
|
[Token(Token = "0x40035F0")]
|
|
private RenderTextureFormat m_RawTextureFormat;
|
|
|
|
// Token: 0x040035F1 RID: 13809
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40035F1")]
|
|
private MotionBlurComponent.FrameBlendingFilter.Frame[] m_FrameList;
|
|
|
|
// Token: 0x040035F2 RID: 13810
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40035F2")]
|
|
private int m_LastFrameCount;
|
|
|
|
// Token: 0x02000531 RID: 1329
|
|
[Token(Token = "0x2000531")]
|
|
private struct Frame
|
|
{
|
|
// Token: 0x06002D8E RID: 11662 RVA: 0x00061E98 File Offset: 0x00060098
|
|
[Token(Token = "0x6002D8E")]
|
|
[Address(RVA = "0x12DC7F0", Offset = "0x12DAFF0", VA = "0x1812DC7F0")]
|
|
public float CalculateWeight(float strength, float currentTime)
|
|
{
|
|
return 0f;
|
|
}
|
|
|
|
// Token: 0x06002D8F RID: 11663 RVA: 0x00038FC3 File Offset: 0x000371C3
|
|
[Token(Token = "0x6002D8F")]
|
|
[Address(RVA = "0x12DCD20", Offset = "0x12DB520", VA = "0x1812DCD20")]
|
|
public void Release()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002D90 RID: 11664 RVA: 0x00038FC3 File Offset: 0x000371C3
|
|
[Token(Token = "0x6002D90")]
|
|
[Address(RVA = "0x12DCA00", Offset = "0x12DB200", VA = "0x1812DCA00")]
|
|
public void MakeRecord(CommandBuffer cb, RenderTargetIdentifier source, int width, int height, Material material)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002D91 RID: 11665 RVA: 0x00038FC3 File Offset: 0x000371C3
|
|
[Token(Token = "0x6002D91")]
|
|
[Address(RVA = "0x12DC870", Offset = "0x12DB070", VA = "0x1812DC870")]
|
|
public void MakeRecordRaw(CommandBuffer cb, RenderTargetIdentifier source, int width, int height, RenderTextureFormat format)
|
|
{
|
|
}
|
|
|
|
// Token: 0x040035F3 RID: 13811
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x40035F3")]
|
|
public RenderTexture lumaTexture;
|
|
|
|
// Token: 0x040035F4 RID: 13812
|
|
[FieldOffset(Offset = "0x8")]
|
|
[Token(Token = "0x40035F4")]
|
|
public RenderTexture chromaTexture;
|
|
|
|
// Token: 0x040035F5 RID: 13813
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40035F5")]
|
|
private float m_Time;
|
|
|
|
// Token: 0x040035F6 RID: 13814
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40035F6")]
|
|
private RenderTargetIdentifier[] m_MRT;
|
|
}
|
|
}
|
|
}
|
|
}
|