ShaderTypes.cs 443 B

12345678910111213141516
  1. namespace UnityEngine.Rendering.Universal
  2. {
  3. public static partial class ShaderInput
  4. {
  5. [GenerateHLSL(PackingRules.Exact, false)]
  6. public struct LightData
  7. {
  8. public Vector4 position;
  9. public Vector4 color;
  10. public Vector4 attenuation;
  11. public Vector4 spotDirection;
  12. public Vector4 occlusionProbeChannels;
  13. public uint layerMask;
  14. }
  15. }
  16. }