namespace UnityEngine.Rendering.HighDefinition { internal class HDDebugDisplaySettings : DebugDisplaySettings { /// /// Rendering Debugger display stats. /// internal DebugDisplaySettingsStats displayStats { get; private set; } /// /// Volume-related Rendering Debugger settings. /// internal DebugDisplaySettingsVolume volumeSettings { get; private set; } /// /// Decal-related Rendering Debugger settings. /// internal DebugDisplaySettingsDecal decalSettings { get; private set; } /// /// GPU Resident Drawer Rendering Debugger settings and statistics. /// internal DebugDisplayGPUResidentDrawer gpuResidentDrawerSettings { get; private set; } #if ENABLE_VIRTUALTEXTURES internal DebugDisplayVirtualTexturing vtSettings { get; private set; } #endif public HDDebugDisplaySettings() { } public override void Reset() { base.Reset(); displayStats = Add(new DebugDisplaySettingsStats(new HDDebugDisplayStats())); volumeSettings = Add(new DebugDisplaySettingsVolume(new HDVolumeDebugSettings())); decalSettings = Add(new DebugDisplaySettingsDecal()); gpuResidentDrawerSettings = Add(new DebugDisplayGPUResidentDrawer()); #if ENABLE_VIRTUALTEXTURES vtSettings = Add(new DebugDisplayVirtualTexturing()); #endif } internal void UpdateDisplayStats() { if (displayStats != null) displayStats.debugDisplayStats.Update(); } } }