Interface ShaderLightVisual

All Superinterfaces:
SectionTrackedVisual, Visual

public non-sealed interface ShaderLightVisual extends SectionTrackedVisual
A marker interface allowing visuals to request light data on the GPU for a set of sections.

Sections passed into SectionTrackedVisual.SectionCollector.sections(it.unimi.dsi.fastutil.longs.LongSet) will have their light data handed to the backend and queryable by flw_light* functions in shaders.
Note that the queryable light data is shared across all visuals, so even if one specific visual does not request a given section, the data will be available if another visual does.