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

279 lines
8.9 KiB
C#

using System;
using Cpp2IlInjected;
namespace UnityEngine.PostProcessing
{
// Token: 0x0200053E RID: 1342
[Token(Token = "0x200053E")]
[Serializable]
public class AntialiasingModel : PostProcessingModel
{
// Token: 0x17000333 RID: 819
// (get) Token: 0x06002DB6 RID: 11702 RVA: 0x000020D3 File Offset: 0x000002D3
// (set) Token: 0x06002DB7 RID: 11703 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x17000333")]
public AntialiasingModel.Settings settings
{
[Token(Token = "0x6002DB6")]
[Address(RVA = "0x522830", Offset = "0x521030", VA = "0x180522830")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
[Token(Token = "0x6002DB7")]
[Address(RVA = "0xB66100", Offset = "0xB64900", VA = "0x180B66100")]
set
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x06002DB8 RID: 11704 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002DB8")]
[Address(RVA = "0xB66090", Offset = "0xB64890", VA = "0x180B66090", Slot = "4")]
public override void Reset()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002DB9 RID: 11705 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002DB9")]
[Address(RVA = "0xB660C0", Offset = "0xB648C0", VA = "0x180B660C0")]
public AntialiasingModel()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x04003649 RID: 13897
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4003649")]
[SerializeField]
private AntialiasingModel.Settings m_Settings;
// Token: 0x0200053F RID: 1343
[Token(Token = "0x200053F")]
public enum Method
{
// Token: 0x0400364B RID: 13899
[Token(Token = "0x400364B")]
Fxaa,
// Token: 0x0400364C RID: 13900
[Token(Token = "0x400364C")]
Taa
}
// Token: 0x02000540 RID: 1344
[Token(Token = "0x2000540")]
public enum FxaaPreset
{
// Token: 0x0400364E RID: 13902
[Token(Token = "0x400364E")]
ExtremePerformance,
// Token: 0x0400364F RID: 13903
[Token(Token = "0x400364F")]
Performance,
// Token: 0x04003650 RID: 13904
[Token(Token = "0x4003650")]
Default,
// Token: 0x04003651 RID: 13905
[Token(Token = "0x4003651")]
Quality,
// Token: 0x04003652 RID: 13906
[Token(Token = "0x4003652")]
ExtremeQuality
}
// Token: 0x02000541 RID: 1345
[Token(Token = "0x2000541")]
[Serializable]
public struct FxaaQualitySettings
{
// Token: 0x06002DBA RID: 11706 RVA: 0x000020D3 File Offset: 0x000002D3
// Note: this type is marked as 'beforefieldinit'.
[Token(Token = "0x6002DBA")]
[Address(RVA = "0x66D650", Offset = "0x66BE50", VA = "0x18066D650")]
static FxaaQualitySettings()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x04003653 RID: 13907
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4003653")]
[Range(0f, 1f)]
[Tooltip("The amount of desired sub-pixel aliasing removal. Effects the sharpeness of the output.")]
public float subpixelAliasingRemovalAmount;
// Token: 0x04003654 RID: 13908
[FieldOffset(Offset = "0x4")]
[Token(Token = "0x4003654")]
[Tooltip("The minimum amount of local contrast required to qualify a region as containing an edge.")]
[Range(0.063f, 0.333f)]
public float edgeDetectionThreshold;
// Token: 0x04003655 RID: 13909
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x4003655")]
[Tooltip("Local contrast adaptation value to disallow the algorithm from executing on the darker regions.")]
[Range(0f, 0.0833f)]
public float minimumRequiredLuminance;
// Token: 0x04003656 RID: 13910
[Token(Token = "0x4003656")]
public static AntialiasingModel.FxaaQualitySettings[] presets;
}
// Token: 0x02000542 RID: 1346
[Token(Token = "0x2000542")]
[Serializable]
public struct FxaaConsoleSettings
{
// Token: 0x06002DBB RID: 11707 RVA: 0x000020D3 File Offset: 0x000002D3
// Note: this type is marked as 'beforefieldinit'.
[Token(Token = "0x6002DBB")]
[Address(RVA = "0x66D540", Offset = "0x66BD40", VA = "0x18066D540")]
static FxaaConsoleSettings()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x04003657 RID: 13911
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4003657")]
[Tooltip("The amount of spread applied to the sampling coordinates while sampling for subpixel information.")]
[Range(0.33f, 0.5f)]
public float subpixelSpreadAmount;
// Token: 0x04003658 RID: 13912
[FieldOffset(Offset = "0x4")]
[Token(Token = "0x4003658")]
[Tooltip("This value dictates how sharp the edges in the image are kept; a higher value implies sharper edges.")]
[Attribute(Name = "RangeAttribute", RVA = "0xDE990", Offset = "0xDDD90")]
public float edgeSharpnessAmount;
// Token: 0x04003659 RID: 13913
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x4003659")]
[Tooltip("The minimum amount of local contrast required to qualify a region as containing an edge.")]
[Range(0.125f, 0.25f)]
public float edgeDetectionThreshold;
// Token: 0x0400365A RID: 13914
[FieldOffset(Offset = "0xC")]
[Token(Token = "0x400365A")]
[Range(0.04f, 0.06f)]
[Tooltip("Local contrast adaptation value to disallow the algorithm from executing on the darker regions.")]
public float minimumRequiredLuminance;
// Token: 0x0400365B RID: 13915
[Token(Token = "0x400365B")]
public static AntialiasingModel.FxaaConsoleSettings[] presets;
}
// Token: 0x02000543 RID: 1347
[Token(Token = "0x2000543")]
[Serializable]
public struct FxaaSettings
{
// Token: 0x17000334 RID: 820
// (get) Token: 0x06002DBC RID: 11708 RVA: 0x0006234C File Offset: 0x0006054C
[Token(Token = "0x17000334")]
public static AntialiasingModel.FxaaSettings defaultSettings
{
[Token(Token = "0x6002DBC")]
[Address(RVA = "0x54B9B0", Offset = "0x54A1B0", VA = "0x18054B9B0")]
get
{
return (uint)2;
}
}
// Token: 0x0400365C RID: 13916
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400365C")]
public AntialiasingModel.FxaaPreset preset;
}
// Token: 0x02000544 RID: 1348
[Token(Token = "0x2000544")]
[Serializable]
public struct TaaSettings
{
// Token: 0x17000335 RID: 821
// (get) Token: 0x06002DBD RID: 11709 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x17000335")]
public static AntialiasingModel.TaaSettings defaultSettings
{
[Token(Token = "0x6002DBD")]
[Address(RVA = "0x670630", Offset = "0x66EE30", VA = "0x180670630")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x0400365D RID: 13917
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400365D")]
[Tooltip("The diameter (in texels) inside which jitter samples are spread. Smaller values result in crisper but more aliased output, while larger values result in more stable but blurrier output.")]
[Range(0.1f, 1f)]
public float jitterSpread;
// Token: 0x0400365E RID: 13918
[FieldOffset(Offset = "0x4")]
[Token(Token = "0x400365E")]
[Range(0f, 3f)]
[Tooltip("Controls the amount of sharpening applied to the color buffer.")]
public float sharpen;
// Token: 0x0400365F RID: 13919
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x400365F")]
[Range(0f, 0.99f)]
[Tooltip("The blend coefficient for a stationary fragment. Controls the percentage of history sample blended into the final color.")]
public float stationaryBlending;
// Token: 0x04003660 RID: 13920
[FieldOffset(Offset = "0xC")]
[Token(Token = "0x4003660")]
[Range(0f, 0.99f)]
[Tooltip("The blend coefficient for a fragment with significant motion. Controls the percentage of history sample blended into the final color.")]
public float motionBlending;
}
// Token: 0x02000545 RID: 1349
[Token(Token = "0x2000545")]
[Serializable]
public struct Settings
{
// Token: 0x17000336 RID: 822
// (get) Token: 0x06002DBE RID: 11710 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x17000336")]
public static AntialiasingModel.Settings defaultSettings
{
[Token(Token = "0x6002DBE")]
[Address(RVA = "0x670280", Offset = "0x66EA80", VA = "0x180670280")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x04003661 RID: 13921
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4003661")]
public AntialiasingModel.Method method;
// Token: 0x04003662 RID: 13922
[FieldOffset(Offset = "0x4")]
[Token(Token = "0x4003662")]
public AntialiasingModel.FxaaSettings fxaaSettings;
// Token: 0x04003663 RID: 13923
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x4003663")]
public AntialiasingModel.TaaSettings taaSettings;
}
}
}