1234567891011121314151617181920212223242526272829303132 |
- using System;
- using UnityEngine;
-
- namespace UnityEngine.Rendering
- {
- /// <summary>
- /// Interface for storing the debug settings
- /// </summary>
- public interface IDebugDisplaySettings
- {
- /// <summary>
- /// Reset the stored debug settings
- /// </summary>
- void Reset();
-
- /// <summary>
- /// Executes an action for each element
- /// </summary>
- /// <param name="onExecute">The action to execute for each element, accepting an IDebugDisplaySettingsData object as a parameter.</param>
- void ForEach(Action<IDebugDisplaySettingsData> onExecute);
-
- /// <summary>
- /// Adds a <see cref="IDebugDisplaySettingsData"/> to this instance of <see cref="IDebugDisplaySettings"/>
- /// </summary>
- /// <param name="newData">The <see cref="IDebugDisplaySettingsData"/> to be added to this settings</param>
- /// <returns><see cref="IDebugDisplaySettingsData"/></returns>
- IDebugDisplaySettingsData Add(IDebugDisplaySettingsData newData)
- {
- return null;
- }
- }
- }
|