Files
2023-09-06 22:19:13 +02:00

189 lines
5.7 KiB
C#

using System;
using Cpp2IlInjected;
namespace UnityEngine.PostProcessing
{
// Token: 0x02000595 RID: 1429
[Token(Token = "0x2000595")]
[Serializable]
public class BloomModel : PostProcessingModel
{
// Token: 0x17000362 RID: 866
// (get) Token: 0x06003056 RID: 12374 RVA: 0x000020D3 File Offset: 0x000002D3
// (set) Token: 0x06003057 RID: 12375 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x17000362")]
public BloomModel.Settings settings
{
[Token(Token = "0x6003056")]
[Address(RVA = "0x7B02E0", Offset = "0x7AF2E0", VA = "0x1807B02E0")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
[Token(Token = "0x6003057")]
[Address(RVA = "0x7B0300", Offset = "0x7AF300", VA = "0x1807B0300")]
set
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x06003058 RID: 12376 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6003058")]
[Address(RVA = "0x7B0250", Offset = "0x7AF250", VA = "0x1807B0250", Slot = "4")]
public override void Reset()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06003059 RID: 12377 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6003059")]
[Address(RVA = "0x7B0290", Offset = "0x7AF290", VA = "0x1807B0290")]
public BloomModel()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0400390C RID: 14604
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400390C")]
[SerializeField]
private BloomModel.Settings m_Settings;
// Token: 0x02000596 RID: 1430
[Token(Token = "0x2000596")]
[Serializable]
public struct BloomSettings
{
// Token: 0x17000363 RID: 867
// (get) Token: 0x0600305B RID: 12379 RVA: 0x0006944C File Offset: 0x0006764C
// (set) Token: 0x0600305A RID: 12378 RVA: 0x00069430 File Offset: 0x00067630
[Token(Token = "0x17000363")]
public float thresholdLinear
{
[Token(Token = "0x600305B")]
[Address(RVA = "0x19BBD70", Offset = "0x19BAD70", VA = "0x1819BBD70")]
get
{
return Mathf.GammaToLinearSpace(this.threshold);
}
[Token(Token = "0x600305A")]
[Address(RVA = "0x19BBD80", Offset = "0x19BAD80", VA = "0x1819BBD80")]
set
{
float num = Mathf.LinearToGammaSpace(value);
this.threshold = num;
}
}
// Token: 0x17000364 RID: 868
// (get) Token: 0x0600305C RID: 12380 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x17000364")]
public static BloomModel.BloomSettings defaultSettings
{
[Token(Token = "0x600305C")]
[Address(RVA = "0x19BBD40", Offset = "0x19BAD40", VA = "0x1819BBD40")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x0400390D RID: 14605
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400390D")]
[Min(0f)]
[Tooltip("Strength of the bloom filter.")]
public float intensity;
// Token: 0x0400390E RID: 14606
[FieldOffset(Offset = "0x4")]
[Token(Token = "0x400390E")]
[Min(0f)]
[Tooltip("Filters out pixels under this level of brightness.")]
public float threshold;
// Token: 0x0400390F RID: 14607
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x400390F")]
[Range(0f, 1f)]
[Tooltip("Makes transition between under/over-threshold gradual (0 = hard threshold, 1 = soft threshold).")]
public float softKnee;
// Token: 0x04003910 RID: 14608
[FieldOffset(Offset = "0xC")]
[Token(Token = "0x4003910")]
[Tooltip("Changes extent of veiling effects in a screen resolution-independent fashion.")]
[Range(1f, 7f)]
public float radius;
// Token: 0x04003911 RID: 14609
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4003911")]
[Tooltip("Reduces flashing noise with an additional filter.")]
public bool antiFlicker;
}
// Token: 0x02000597 RID: 1431
[Token(Token = "0x2000597")]
[Serializable]
public struct LensDirtSettings
{
// Token: 0x17000365 RID: 869
// (get) Token: 0x0600305D RID: 12381 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x17000365")]
public static BloomModel.LensDirtSettings defaultSettings
{
[Token(Token = "0x600305D")]
[Address(RVA = "0x19BD630", Offset = "0x19BC630", VA = "0x1819BD630")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x04003912 RID: 14610
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4003912")]
[Tooltip("Dirtiness texture to add smudges or dust to the lens.")]
public Texture texture;
// Token: 0x04003913 RID: 14611
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x4003913")]
[Min(0f)]
[Tooltip("Amount of lens dirtiness.")]
public float intensity;
}
// Token: 0x02000598 RID: 1432
[Token(Token = "0x2000598")]
[Serializable]
public struct Settings
{
// Token: 0x17000366 RID: 870
// (get) Token: 0x0600305E RID: 12382 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x17000366")]
public static BloomModel.Settings defaultSettings
{
[Token(Token = "0x600305E")]
[Address(RVA = "0x19BDEA0", Offset = "0x19BCEA0", VA = "0x1819BDEA0")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x04003914 RID: 14612
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4003914")]
public BloomModel.BloomSettings bloom;
// Token: 0x04003915 RID: 14613
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4003915")]
public BloomModel.LensDirtSettings lensDirt;
}
}
}