bevy/release-content/migration-guides/LightVisibilityClass_rename.md
atlv 1579256709
Rename light visibility class (#19986)
# Objective

- prepare bevy_light for split
- make struct named better
- put it where it belongs

## Solution

- do those things

## Testing

- 3d_scene, lighting

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2025-07-06 19:04:30 +00:00

9 lines
399 B
Markdown

---
title: `LightVisibilityClass` renamed to `ClusterVisibilityClass`
pull_requests: [19986]
---
When clustered decals were added, they used `LightVisibilityClass` to share the clustering infrastructure.
This revealed that this visibility class wasn't really about lights, but about clustering.
It has been renamed to `ClusterVisibilityClass` and moved to live alongside clustering-specific types.