forked from BilalY/Rasagar
55 lines
1.7 KiB
C#
55 lines
1.7 KiB
C#
|
using System;
|
||
|
|
||
|
namespace UnityEngine.Rendering.Universal
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Settings used for Post Processing.
|
||
|
/// </summary>
|
||
|
public class UniversalPostProcessingData : ContextItem
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// True if post-processing effect is enabled while rendering the camera stack.
|
||
|
/// </summary>
|
||
|
public bool isEnabled;
|
||
|
|
||
|
/// <summary>
|
||
|
/// The <c>ColorGradingMode</c> to use.
|
||
|
/// </summary>
|
||
|
/// <seealso cref="ColorGradingMode"/>
|
||
|
public ColorGradingMode gradingMode;
|
||
|
|
||
|
/// <summary>
|
||
|
/// The size of the Look Up Table (LUT)
|
||
|
/// </summary>
|
||
|
public int lutSize;
|
||
|
|
||
|
/// <summary>
|
||
|
/// True if fast approximation functions are used when converting between the sRGB and Linear color spaces, false otherwise.
|
||
|
/// </summary>
|
||
|
public bool useFastSRGBLinearConversion;
|
||
|
|
||
|
/// <summary>
|
||
|
/// Returns true if Screen Space Lens Flare are supported by this asset, false otherwise.
|
||
|
/// </summary>
|
||
|
public bool supportScreenSpaceLensFlare;
|
||
|
|
||
|
/// <summary>
|
||
|
/// Returns true if Data Driven Lens Flare are supported by this asset, false otherwise.
|
||
|
/// </summary>
|
||
|
public bool supportDataDrivenLensFlare;
|
||
|
|
||
|
/// <summary>
|
||
|
/// Empty function added for the IDisposable interface.
|
||
|
/// </summary>
|
||
|
public override void Reset()
|
||
|
{
|
||
|
isEnabled = default;
|
||
|
gradingMode = ColorGradingMode.LowDynamicRange;
|
||
|
lutSize = 0;
|
||
|
useFastSRGBLinearConversion = false;
|
||
|
supportScreenSpaceLensFlare = false;
|
||
|
supportDataDrivenLensFlare = false;
|
||
|
}
|
||
|
}
|
||
|
}
|