using UnityEngine.Serialization;
namespace UnityEngine.Rendering
{
///
/// The available options for range reduction/tonemapping when outputting to an HDR device.
///
[GenerateHLSL]
public enum HDRRangeReduction
{
///
/// No range reduction.
///
None,
///
/// Reinhard tonemapping.
///
Reinhard,
///
/// BT2390 Hermite spline EETF range reduction.
///
BT2390,
///
/// ACES tonemapping preset for 1000 nits displays.
///
ACES1000Nits,
///
/// ACES tonemapping preset for 2000 nits displays.
///
ACES2000Nits,
///
/// ACES tonemapping preset for 4000 nits displays.
///
ACES4000Nits
}
///
/// The available options for colorspace when outputting to an HDR device.
///
[GenerateHLSL]
public enum HDRColorspace
{
///
/// Rec709 color primaries with D65 white point.
///
Rec709,
///
/// Rec2020 color primaries with D65 white point.
///
Rec2020,
///
/// P3 color primaries with D65 white point.
///
P3D65
}
///
/// The available options for color encoding when outputting to an HDR device.
///
[GenerateHLSL]
public enum HDREncoding
{
///
/// Linear OETF.
///
Linear = TransferFunction.Linear,
///
/// ST 2084 PQ OETF
///
PQ = TransferFunction.PQ,
///
/// Gamma 2.2 OETF.
///
Gamma22 = TransferFunction.Gamma22,
///
/// sRGB curve OETF.
///
sRGB = TransferFunction.sRGB
}
}