-
Notifications
You must be signed in to change notification settings - Fork 860
Add API to completely disable Runtime Debug UI #5339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
1132a2a
Change DebugManager.enableWindowHotkey to DebugManager.enableRuntimeU…
arttu-peltonen e87cb37
Update changelog & docs
arttu-peltonen a17c228
Update com.unity.render-pipelines.high-definition/Documentation~/Rend…
arttu-peltonen 0734b14
Added mention of the new property to "What's new" in RP Core docs.
arttu-peltonen c91cb57
Edited the Rendering Debugger window description.
oleks-k 16811ac
Merging the changes from Emily.
oleks-k 66c88d0
Merge branch 'master' into srp/allow-disabling-runtime-debug-ui
arttu-peltonen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,23 +10,29 @@ The **Rendering Debugger** is a specific window for the Scriptable Render Pipeli | |
| - [Rendering](#RenderingPanel) | ||
| - [Camera](#CameraPanel) | ||
|
|
||
|  | ||
|
|
||
| The Rendering Debugger. | ||
| <br/>*The Rendering Debugger.* | ||
|
|
||
| ## Using the Rendering Debugger | ||
|
|
||
| To open the Rendering Debugger in the Editor, you must first enable **Runtime Debug Shaders** in **HDRP Global Settings**: | ||
| The Rendering Debugger window is available in the following modes: | ||
|
|
||
| * The Editor. | ||
|
|
||
| * The Play mode. | ||
|
|
||
| * At runtime in the standalone Unity Player, on any device. The window is only available in **Development Builds**. | ||
|
|
||
| To open the Rendering Debugger in the Editor: | ||
|
|
||
| * Enable **Runtime Debug Shaders** in **HDRP Global Settings** (in the menu: **Edit > Project Settings > Graphics > HDRP Settings**). | ||
|
|
||
| 1. Go to **Edit > Project Settings > Graphics** | ||
| 2. Click **HDRP Settings** | ||
| 3. Enable **Runtime Debug Shaders** | ||
| * Select **Window > Analysis > Rendering Debugger**. | ||
|
|
||
| To open the Rendering Debugger, go to **Window > Analysis > Rendering Debugger**. | ||
| To open the window in the Play mode, or at runtime in a Development Build, use the keyboard shortcut Ctrl+Backspace (Ctrl+Delete on macOS) or press L3 and R3 (Left Stick and Right Stick) on a controller. | ||
|
|
||
| You can also open this window at runtime in Play Mode, or in the standalone Unity Player on any device on **Development build**. Use the keyboard shortcut Ctrl+Backspace (Ctrl+Delete on macOS) or press L3 and R3 (Left Stick and Right Stick) on a controller to open the window. You can disable the shortcut through the [enableWindowHotkey variable](https://docs.unity3d.com/Packages/[email protected]/api/UnityEngine.Rendering.DebugManager.html#UnityEngine_Rendering_DebugManager_enableWindowHotkey). | ||
| You can display read-only items, such as the FPS counter, independently of the **Rendering Debugger** window. When you disable the **Rendering Debugger** window, they are still visible in the top right corner of the screen. Use this functionality to track particular values without cluttering the screen. | ||
|
|
||
| You can display read-only items such as the FPS counter independently of the **Rendering Debugger**. This means that when you disable the **Rendering Debugger**, they are still visible in the top right corner of the screen. This is particularly useful if you want to track particular values without cluttering the screen. | ||
| You can disable the runtime UI entirely by using the [enableRuntimeUI](https://docs.unity3d.com/Packages/com.unity.render-pipelines.core@latest/api/UnityEngine.Rendering.DebugManager.html#UnityEngine_Rendering_DebugManager_enableRuntimeUI) property. | ||
|
|
||
| ### Navigation at runtime | ||
|
|
||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.