Rasagar/Library/PackageCache/com.unity.render-pipelines.high-definition/Editor/RenderPipeline/Settings/SerializedVirtualTexturingSettings.cs
2024-08-26 23:07:20 +03:00

26 lines
1.1 KiB
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 SerializedProperty streamingMipPreloadTexturesPerFrame;
public SerializedProperty streamingPreloadMipCount;
public SerializedVirtualTexturingSettings(SerializedProperty root)
{
this.root = root;
streamingCpuCacheSizeInMegaBytes = root.Find((VirtualTexturingSettingsSRP s) => s.streamingCpuCacheSizeInMegaBytes);
streamingGpuCacheSettings = root.Find((VirtualTexturingSettingsSRP s) => s.streamingGpuCacheSettings);
streamingMipPreloadTexturesPerFrame = root.Find((VirtualTexturingSettingsSRP s) => s.streamingMipPreloadTexturesPerFrame);
streamingPreloadMipCount = root.Find((VirtualTexturingSettingsSRP s) => s.streamingPreloadMipCount);
}
}
}