Keine Beschreibung
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

ShaderConfig.cs 988B

12345678910111213141516171819202122232425
  1. //-----------------------------------------------------------------------------
  2. // Configuration
  3. //-----------------------------------------------------------------------------
  4. using System;
  5. namespace UnityEngine.Rendering.Universal
  6. {
  7. /// <summary>
  8. /// Project-wide shader configuration options.
  9. /// </summary>
  10. /// <remarks>This enum will generate the proper shader defines.</remarks>
  11. ///<seealso cref="ShaderConfig"/>
  12. [GenerateHLSL]
  13. public static class ShaderOptions
  14. {
  15. /// <summary>Max number of lights supported on mobile with OpenGL 3.0 and below.</summary>
  16. public const int k_MaxVisibleLightCountLowEndMobile = 16;
  17. /// <summary>Max number of lights supported on mobile, OpenGL, and WebGPU platforms.</summary>
  18. public const int k_MaxVisibleLightCountMobile = 32;
  19. /// <summary>Max number of lights supported on desktop platforms.</summary>
  20. public const int k_MaxVisibleLightCountDesktop = 256;
  21. };
  22. }