using System; using System.Collections.Generic; using UnityEditor; using UnityEditor.Rendering; using UnityEngine.Experimental.Rendering; namespace UnityEngine.Rendering.HighDefinition { [Serializable] internal sealed class VirtualTexturingSettingsSRP { public int streamingCpuCacheSizeInMegaBytes = 256; public int streamingMipPreloadTexturesPerFrame = 0; public int streamingPreloadMipCount = 1; public List streamingGpuCacheSettings = new List() { new GPUCacheSettingSRP() { format = Experimental.Rendering.GraphicsFormat.None, sizeInMegaBytes = 128 } }; } [Serializable] internal struct GPUCacheSettingSRP { /// /// Format of the cache these settings are applied to. /// public GraphicsFormat format; /// /// Size in MegaBytes of the cache created with these settings. /// public uint sizeInMegaBytes; } }