From 0f42f31d6739d27e2d2e437742b4e2bc4dee6300 Mon Sep 17 00:00:00 2001 From: FrancescoC-Unity Date: Thu, 17 Sep 2020 16:57:57 +0200 Subject: [PATCH] Mis missing docs --- .../Runtime/Debug/LightingDebug.cs | 1 + .../Runtime/Utilities/HDRenderUtilities.cs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/com.unity.render-pipelines.high-definition/Runtime/Debug/LightingDebug.cs b/com.unity.render-pipelines.high-definition/Runtime/Debug/LightingDebug.cs index 16b871dc027..69077e181b7 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/Debug/LightingDebug.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/Debug/LightingDebug.cs @@ -324,6 +324,7 @@ public bool IsDebugDisplayEnabled() public ExposureDebugMode exposureDebugMode = ExposureDebugMode.None; /// Exposure compensation to apply on current scene exposure. public float debugExposure = 0.0f; + /// Obsolete, please use the lens attenuation mode in HDRP Default Settings. [Obsolete("Please use the lens attenuation mode in HDRP Default Settings", true)] public float debugLensAttenuation = 0.65f; /// Whether to show tonemap curve in the histogram debug view or not. diff --git a/com.unity.render-pipelines.high-definition/Runtime/Utilities/HDRenderUtilities.cs b/com.unity.render-pipelines.high-definition/Runtime/Utilities/HDRenderUtilities.cs index b619c7ce519..03c2a73a5a7 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/Utilities/HDRenderUtilities.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/Utilities/HDRenderUtilities.cs @@ -371,6 +371,7 @@ public static RenderTexture CreateReflectionProbeRenderTarget(int cubemapSize, G /// Create the texture used as target for a realtime planar reflection probe. /// /// The size of the texture + /// The planar probe format. It must match the format set in the asset. /// The texture used as planar reflection probe target public static RenderTexture CreatePlanarProbeRenderTarget(int planarSize, GraphicsFormat format) { @@ -387,6 +388,7 @@ public static RenderTexture CreatePlanarProbeRenderTarget(int planarSize, Graphi /// Create the depth texture used as target for a realtime planar reflection probe. /// /// The size of the texture + /// The planar probe format. It must match the format set in the asset. /// The texture used as planar reflection probe target public static RenderTexture CreatePlanarProbeDepthRenderTarget(int planarSize) {