Module lighting
Expand description
Lighting uniform structures.
Structs§
- Culling
Uniforms Data - Data for the light culling compute shader.
- Directional
Light Uniform - Data for a single directional light, formatted for GPU consumption.
- Lighting
Uniforms - The structure of the global lighting uniform buffer.
- Point
Light Uniform - Data for a single point light, formatted for GPU consumption.
- Spot
Light Uniform - Data for a single spot light, formatted for GPU consumption.
Constants§
- MAX_
DIRECTIONAL_ LIGHTS - Constants for maximum light counts.
- MAX_
POINT_ LIGHTS - Maximum number of point lights supported in the global lighting buffer.
- MAX_
SPOT_ LIGHTS - Maximum number of spot lights supported in the global lighting buffer.