Method ForceEvictLight
ForceEvictLight(HDAdditionalLightData)
This function can be used to evict a light from its atlas. The slots occupied by such light will be available to be occupied by other shadows. Note that eviction happens automatically upon light destruction and, if lightData.preserveCachedShadow is false, upon disabling of the light.
선언
public void ForceEvictLight(HDAdditionalLightData lightData)
파라미터
타입 | 이름 | 설명 |
---|---|---|
HDAdditionalLightData | lightData | The light to evict from the atlas. |