SpeedTree
    Show / Hide Table of Contents

    Memory

    Balance performance with available memory by using less memory, keeping track of resources, using reserves wisely, and creating detailed reports about memory usage.

    Topic Description
    SpeedTree New and Delete Use SpeedTree's allocator functions that duplicate the functionality of new, new[], delete, and delete[].
    Keeping memory usage low Reduce areas of possible excess memory use.
    Tracking resource usage Monitor how much heap space and vertex or index buffer memory the Runtime SDK is using.
    Using the reserves system Use the reserves system to control heap allocations. These reserves mostly affect streaming and culling operations in the Forest library.
    Generating a heap report Generate a report that describes every heap allocation and other memory management function made by the Runtime SDK.
    Copyright © 2023 Unity Technologies
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX.