docs.unity3d.com
    Show / Hide Table of Contents

    Interface IDependableMemoryResource

    An interface that provides Job system dependency fences for the memory resource.

    Namespace: Unity.Sentis
    Syntax
    public interface IDependableMemoryResource

    Properties

    fence

    A read fence job handle. You can use fence as a dependsOn argument when you schedule a job that reads data. The job will start when the tensor data is ready for read access.

    Declaration
    JobHandle fence { get; set; }
    Property Value
    Type Description
    JobHandle

    rawPtr

    The raw memory pointer for the resource.

    Declaration
    void *rawPtr { get; }
    Property Value
    Type Description
    Void*

    reuse

    A write fence job handle. You can use reuse as a dependsOn argument when you schedule a job that reads data. The job will start when the tensor data is ready for write access.

    Declaration
    JobHandle reuse { get; set; }
    Property Value
    Type Description
    JobHandle
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • 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 on 18 October 2023