Blue color component in sRGB/Linear space.
OptionaldirDirection X-axis component for spotlights.
OptionaldirDirection Y-axis component for spotlights.
OptionaldirDirection Z-axis component for spotlights.
Green color component in sRGB/Linear space.
OptionalinnerCosine of the inner cone threshold angle.
Physical scale factor describing light brilliance.
OptionalouterCosine of the outer cone threshold angle.
Red color component in sRGB/Linear space.
OptionalrangeLinear distance range limit of spotlight illumination.
Bitwise/ordinal flag representing light type and shadow casting parameters.
0.0: Directional light, no shadows.1.0: Directional light, shadow-casting.2.0: Point light, no shadows.3.0: Point light, shadow-casting.4.0: Spotlight, no shadows.5.0: Spotlight, shadow-casting.Spatial translation coordinates (point light) or normalized direction vector (directional light).
Spatial translation coordinates (point light) or normalized direction vector (directional light).
Spatial translation coordinates (point light) or normalized direction vector (directional light).
Represents the binary GPU-ready memory alignment structure for individual lights. Conforms precisely with the WGSL standard layout struct declared within the default shader.