using System;
namespace XPostProcessing
{
///
/// Use this attribute to draw a ColorWheel in the inspector.
///
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
public sealed class ColorWheelAttribute : Attribute
{
///
/// ColorWheel modes. These are used to compute and display pre-filtered ColorWheel vales in
/// the inspector.
///
public enum Mode
{
///
/// Don't display pre-filtered values.
///
None,
///
/// Display pre-filtered lift values.
///
Lift,
///
/// Display pre-filtered gamma values.
///
Gamma,
///
/// Display pre-filtered grain values.
///
Gain,
Contrast
}
///
/// The mode used to display pre-filtered values in the inspector.
///
public readonly Mode mode;
///
/// Creates a new attribute.
///
/// A mode used to display pre-filtered values in the inspector
public ColorWheelAttribute(Mode mode)
{
this.mode = mode;
}
}
}