using System; namespace UnityEngine.Rendering.HighDefinition { /// /// Global Decal Settings. /// [Serializable] public struct GlobalDecalSettings { internal static GlobalDecalSettings NewDefault() => new GlobalDecalSettings() { drawDistance = 1000, atlasWidth = 4096, atlasHeight = 4096 }; /// Maximum draw distance. public int drawDistance; /// Decal atlas width in pixels. public int atlasWidth; /// Decal atlas height in pixels. public int atlasHeight; /// Enables per channel mask. public bool perChannelMask; } }