You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix strange entry in the FrameSettings and add comments for better readability
* Update CHANGELOG.md
Co-authored-by: JulienIgnace-Unity <[email protected]>
/// <param name="overrideable">Override the method used to say if it will be overrideable or not. If not, the left checkbox will not be drawn.</param>
108
+
/// <param name="ignoreDependencies">Ignore the dependencies when checking if this is overrideable. (Normally, only work if dependency is enabled).</param>
109
+
/// <param name="customGetter">Custom method to get the value. Usefull for non boolean FrameSettings.</param>
110
+
/// <param name="customSetter">Custom method to set the value. Usefull for non boolean FrameSettings.</param>
111
+
/// <param name="overridedDefaultValue">Modify the default value displayed when override is disabled.</param>
112
+
/// <param name="labelOverride">Override the given label with this new one.</param>
113
+
/// <param name="hasMixedValues">Override the miltiple different state manually. Usefull when using customGetter and customSetter. This is static on the Editor run. But Editor is reconstructed if selection change so it should be ok.</param>
114
+
/// <param name="hideInUI">/!\ WARNING: Use with caution. Should not be used with current UX flow. Only usage should be really special cases.</param>
Copy file name to clipboardExpand all lines: com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Settings/FrameSettings.cs
+10-9Lines changed: 10 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -106,7 +106,7 @@ public enum FrameSettingsField
106
106
/// <summary>No Frame Settings.</summary>
107
107
None=-1,
108
108
109
-
//rendering settings from 0 to 19
109
+
//rendering settings (group 0)
110
110
/// <summary>Specifies the Lit Shader Mode for Cameras using these Frame Settings use to render the Scene.</summary>
111
111
[FrameSettingsField(0,autoName:LitShaderMode,type:FrameSettingsFieldAttribute.DisplayType.BoolAsEnumPopup,targetType:typeof(LitShaderMode),customOrderInGroup:0,tooltip:"Specifies the Lit Shader Mode for Cameras using these Frame Settings use to render the Scene (Depends on \"Lit Shader Mode\" in current HDRP Asset).")]
112
112
LitShaderMode=0,
@@ -258,7 +258,7 @@ public enum FrameSettingsField
258
258
[FrameSettingsField(0,autoName:MaterialQualityLevel,type:FrameSettingsFieldAttribute.DisplayType.Others,tooltip:"The material quality level to use.")]
259
259
MaterialQualityLevel=66,
260
260
261
-
//lighting settings: 20-39, 46-49
261
+
//lighting settings (group 1)
262
262
/// <summary>When enabled, Cameras using these Frame Settings render shadows.</summary>
263
263
[FrameSettingsField(1,autoName:ShadowMaps,customOrderInGroup:1,tooltip:"When enabled, Cameras using these Frame Settings render shadows.")]
264
264
ShadowMaps=20,
@@ -337,7 +337,13 @@ public enum FrameSettingsField
337
337
[FrameSettingsField(1,autoName:DirectSpecularLighting,tooltip:"When enabled, Cameras that use these Frame Settings render Direct Specular lighting. This is a useful Frame Setting to use for baked Reflection Probes to remove view dependent lighting.")]
338
338
DirectSpecularLighting=38,
339
339
340
-
//async settings from 40 to 59
340
+
/// <summary>When enabled, HDRP uses probe volumes for baked lighting.</summary>
341
+
[FrameSettingsField(1,customOrderInGroup:3,autoName:ProbeVolume,tooltip:"Enable to debug and make HDRP process Probe Volumes. Enabling this feature causes HDRP to process Probe Volumes for this Camera/Reflection Probe.")]
/// <summary>When enabled, HDRP executes certain Compute Shader commands in parallel. This only has an effect if the target platform supports async compute.</summary>
342
348
[FrameSettingsField(2,displayedName:"Asynchronous Execution",tooltip:"When enabled, HDRP executes certain Compute Shader commands in parallel. This only has an effect if the target platform supports async compute.")]
343
349
AsyncCompute=40,
@@ -357,7 +363,7 @@ public enum FrameSettingsField
/// <summary>When enabled, HDRP uses FPTL for forward opaque.</summary>
362
368
[FrameSettingsField(3,autoName:FPTLForForwardOpaque,tooltip:"When enabled, HDRP uses FPTL for forward opaque.")]
363
369
FPTLForForwardOpaque=120,
@@ -376,11 +382,6 @@ public enum FrameSettingsField
376
382
/// <summary>When enabled, HDRP uses material variant classification to compute lighting.</summary>
377
383
[FrameSettingsField(3,autoName:ComputeMaterialVariants,positiveDependencies:new[]{DeferredTile},tooltip:"When enabled, HDRP uses material variant classification to compute lighting.")]
378
384
ComputeMaterialVariants=125,
379
-
/// <summary>When enabled, HDRP uses probe volumes for baked lighting.</summary>
380
-
[FrameSettingsField(1,customOrderInGroup:3,autoName:ProbeVolume,tooltip:"Enable to debug and make HDRP process Probe Volumes. Enabling this feature causes HDRP to process Probe Volumes for this Camera/Reflection Probe.")]
0 commit comments