This commit is contained in:
niko
2026-04-11 22:19:20 +02:00
parent 45b857ff11
commit 8fc35183db
17034 changed files with 2863552 additions and 0 deletions
@@ -0,0 +1,55 @@
using System;
using Cpp2IlInjected;
namespace UnityEngine.Rendering.PostProcessing
{
// Token: 0x02000029 RID: 41
[Token(Token = "0x2000024")]
[PostProcess(typeof(GrainRenderer), "Unity/Grain", true)]
[Serializable]
public sealed class Grain : PostProcessEffectSettings
{
// Token: 0x0600004D RID: 77 RVA: 0x000021D8 File Offset: 0x000003D8
[Token(Token = "0x600004D")]
[Address(RVA = "0x2068330", Offset = "0x2067130", VA = "0x182068330", Slot = "4")]
public override bool IsEnabledAndSupported(PostProcessRenderContext context)
{
return default(bool);
}
// Token: 0x0600004E RID: 78 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600004E")]
[Address(RVA = "0x2070F30", Offset = "0x206FD30", VA = "0x182070F30")]
public Grain()
{
}
// Token: 0x040000AB RID: 171
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x400008B")]
[Tooltip("Enable the use of colored grain.")]
public BoolParameter colored;
// Token: 0x040000AC RID: 172
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x400008C")]
[Range(0f, 1f)]
[Tooltip("Grain strength. Higher values mean more visible grain.")]
public FloatParameter intensity;
// Token: 0x040000AD RID: 173
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x400008D")]
[Range(0.3f, 3f)]
[Tooltip("Grain particle size.")]
public FloatParameter size;
// Token: 0x040000AE RID: 174
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x400008E")]
[Range(0f, 1f)]
[DisplayName("Luminance Contribution")]
[Tooltip("Controls the noise response curve based on scene luminance. Lower values mean less noise in dark areas.")]
public FloatParameter lumContrib;
}
}