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