isShadowCasterGranted method
Whether lightComponent (a SpotLightComponent or
PointLightComponent) held a shadow slot last frame.
False for a light that does not cast at all, one whose range misses every view (its shadow could not be seen), and one that lost the slot to the budget. isShadowCasterDropped picks out only the last.
Implementation
bool isShadowCasterGranted(Object lightComponent) =>
_grantedShadowCasters.contains(lightComponent);