Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ABOUT: The VisualProfiler provides a drop in, single file, solution for viewing your Windows Mixed Reality Unity application's frame rate and memory usage. Missed frames are displayed over time to visually find problem areas. Memory is reported as current, peak and max usage in a bar graph.
USAGE: To use this profiler simply add this script as a component of any GameObject in your Unity scene. The profiler is initially active and visible (toggle-able via the IsVisible property), but can be toggled via the enabled/disable voice commands keywords.
NOTE: For improved rendering performance you can optionally include the "Hidden/Instanced-Colored" shader in your project along with the VisualProfiler.
public ref class VisualProfiler : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("MRTK/Diagnostics/Visual Profiler")] public class VisualProfiler : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("MRTK/Diagnostics/Visual Profiler")>] type VisualProfiler = class inherit MonoBehaviour
Public Class VisualProfiler Inherits MonoBehaviour