//----------------------------------------------------------------------------- // 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; /// Switch fog keywords (FOG_LINEAR, FOG_EXP and FOG_EXP2) to dynamic branching. /// For more information on dynamic branches, refer to [Shader Branching](https://docs.unity3d.com/Manual/shader-branching.html). public const int k_UseDynamicBranchFogKeyword = 0; }; }