You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.9 KiB
54 lines
1.9 KiB
namespace UnityEngine.Rendering.HighDefinition
|
|
{
|
|
internal class HDDebugDisplaySettings : DebugDisplaySettings<HDDebugDisplaySettings>
|
|
{
|
|
/// <summary>
|
|
/// Rendering Debugger display stats.
|
|
/// </summary>
|
|
internal DebugDisplaySettingsStats<HDProfileId> displayStats { get; private set; }
|
|
|
|
/// <summary>
|
|
/// Volume-related Rendering Debugger settings.
|
|
/// </summary>
|
|
internal DebugDisplaySettingsVolume volumeSettings { get; private set; }
|
|
|
|
/// <summary>
|
|
/// Decal-related Rendering Debugger settings.
|
|
/// </summary>
|
|
internal DebugDisplaySettingsDecal decalSettings { get; private set; }
|
|
|
|
/// <summary>
|
|
/// GPU Resident Drawer Rendering Debugger settings and statistics.
|
|
/// </summary>
|
|
internal DebugDisplayGPUResidentDrawer gpuResidentDrawerSettings { get; private set; }
|
|
|
|
internal DebugDisplaySettingsCamera cameraSettings { 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<HDProfileId>(new HDDebugDisplayStats()));
|
|
volumeSettings = Add(new DebugDisplaySettingsVolume());
|
|
decalSettings = Add(new DebugDisplaySettingsDecal());
|
|
gpuResidentDrawerSettings = Add(new DebugDisplayGPUResidentDrawer());
|
|
cameraSettings = Add(new DebugDisplaySettingsCamera());
|
|
#if ENABLE_VIRTUALTEXTURES
|
|
vtSettings = Add(new DebugDisplayVirtualTexturing());
|
|
#endif
|
|
}
|
|
|
|
internal void UpdateDisplayStats()
|
|
{
|
|
if (displayStats != null)
|
|
displayStats.debugDisplayStats.Update();
|
|
}
|
|
}
|
|
}
|