docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface INativeDisposable

    For scheduling release of unmanaged resources.

    Namespace: Unity.Collections
    Assembly: Unity.Collections.dll
    Syntax
    public interface INativeDisposable

    Methods

    Dispose(JobHandle)

    Creates and schedules a job that will release all resources (memory and safety handles) of this collection.

    Declaration
    JobHandle Dispose(JobHandle inputDeps)
    Parameters
    Type Name Description
    JobHandle inputDeps

    A job handle which the newly scheduled job will depend upon.

    Returns
    Type Description
    JobHandle

    The handle of a new job that will release all resources (memory and safety handles) of this collection.

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