namespace UnityEngine.Rendering.Universal { /// /// Contains structs used for shader input. /// public static partial class ShaderInput { /// /// Container struct for various data used for lights in URP. /// [GenerateHLSL(PackingRules.Exact, false)] public struct LightData { /// /// The position of the light. /// public Vector4 position; /// /// The color of the light. /// public Vector4 color; /// /// The attenuation of the light. /// public Vector4 attenuation; /// /// The direction of the light (Spot light). /// public Vector4 spotDirection; /// /// The channel for probe occlusion. /// public Vector4 occlusionProbeChannels; /// /// The layer mask used. /// public uint layerMask; } } }