Skip to content

Commit e1e6911

Browse files
FrancescoC-unityalelievr
authored andcommitted
Update HDR docs (#6191)
1 parent f9d99b9 commit e1e6911

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

com.unity.render-pipelines.high-definition/Runtime/PostProcessing/Components/Tonemapping.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ public enum FallbackHDRTonemap
9090
ACES
9191
}
9292

93+
/// <summary>
94+
/// A <see cref="VolumeParameter"/> that holds a <see cref="NeutralRangeReductionMode"/> value.
95+
/// </summary>
9396
[Serializable]
9497
public sealed class NeutralRangeReductionModeParameter : VolumeParameter<NeutralRangeReductionMode>
9598
{
@@ -101,6 +104,9 @@ public sealed class NeutralRangeReductionModeParameter : VolumeParameter<Neutral
101104
public NeutralRangeReductionModeParameter(NeutralRangeReductionMode value, bool overrideState = false) : base(value, overrideState) { }
102105
}
103106

107+
/// <summary>
108+
/// A <see cref="VolumeParameter"/> that holds a <see cref="HDRACESPreset"/> value.
109+
/// </summary>
104110
[Serializable]
105111
public sealed class HDRACESPresetParameter : VolumeParameter<HDRACESPreset>
106112
{
@@ -112,6 +118,9 @@ public sealed class HDRACESPresetParameter : VolumeParameter<HDRACESPreset>
112118
public HDRACESPresetParameter(HDRACESPreset value, bool overrideState = false) : base(value, overrideState) { }
113119
}
114120

121+
/// <summary>
122+
/// A <see cref="VolumeParameter"/> that holds a <see cref="FallbackHDRTonemap"/> value.
123+
/// </summary>
115124
[Serializable]
116125
public sealed class FallbackHDRTonemapParameter : VolumeParameter<FallbackHDRTonemap>
117126
{

com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.PostProcess.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4098,7 +4098,7 @@ static Vector3 GetColorBalanceCoeffs(float temperature, float tint)
40984098
return new Vector3(w1.x / w2.x, w1.y / w2.y, w1.z / w2.z);
40994099
}
41004100

4101-
public static void GetHDROutputParameters(Tonemapping tonemappingComponent, out Vector4 hdrOutputParameters1, out Vector4 hdrOutputParameters2)
4101+
static void GetHDROutputParameters(Tonemapping tonemappingComponent, out Vector4 hdrOutputParameters1, out Vector4 hdrOutputParameters2)
41024102
{
41034103
var minNits = HDROutputSettings.main.minToneMapLuminance;
41044104
var maxNits = HDROutputSettings.main.maxToneMapLuminance;

0 commit comments

Comments
 (0)