//----------------------------------------------------------------------------- // Configuration //----------------------------------------------------------------------------- using System; namespace UnityEngine.Rendering.Universal { /// /// Project-wide shader configuration options. /// /// This enum will generate the proper shader defines. /// [GenerateHLSL] public static class ShaderOptions { /// Max number of lights supported on mobile with OpenGL 3.0 and below. public const int k_MaxVisibleLightCountLowEndMobile = 16; /// Max number of lights supported on mobile, OpenGL, and WebGPU platforms. public const int k_MaxVisibleLightCountMobile = 32; /// Max number of lights supported on desktop platforms. public const int k_MaxVisibleLightCountDesktop = 256; }; }