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.
25 lines
1.1 KiB
25 lines
1.1 KiB
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);
|
|
}
|
|
}
|
|
}
|