docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ReleasePersistentShadowAtlases

    ReleasePersistentShadowAtlases()

    Release all persistent shadow atlas. In HDRP, shadow persistent atlases are allocated per light type (area, punctual or directional) when needed but never deallocated. Calling this will force deallocation of those atlases. This can be useful between levels for example when you know that some types of lights aren't used anymore.

    Declaration
    public void ReleasePersistentShadowAtlases()
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)