2021-09-09 20:42:29 -04:00

21 lines
738 B
C#

using UnityEditor.Rendering;
using UnityEngine.Rendering.HighDefinition;
namespace UnityEditor.Rendering.HighDefinition
{
internal sealed class SerializedVirtualTexturingSettings
{
public SerializedProperty root;
public SerializedProperty streamingCpuCacheSizeInMegaBytes;
public SerializedProperty streamingGpuCacheSettings;
public SerializedVirtualTexturingSettings(SerializedProperty root)
{
this.root = root;
streamingCpuCacheSizeInMegaBytes = root.Find((VirtualTexturingSettingsSRP s) => s.streamingCpuCacheSizeInMegaBytes);
streamingGpuCacheSettings = root.Find((VirtualTexturingSettingsSRP s) => s.streamingGpuCacheSettings);
}
}
}